USL Backend Architecture
Last updated
Last updated
The Universal Settlement Layer (USL) integrates with Pod, to provide a reliable verification mechanism for claims and proofs. While Pod is not a blockchain, it has an interface similar to one, allowing transaction processing and logging.
This document explains how USL functions in conjunction with Pod, detailing the backend architecture that powers this system.
Pod operates like a distributed ledger where transactions are submitted, verified, and appended to a log. When a transaction is executed by a majority of nodes, it becomes part of the Pod log. This ensures a decentralized and verifiable record of operations.
USL verification logic is deployed as a precompile within Pod. This functions similarly to Ethereum precompiles, where a specific address is called to trigger execution of binary code.
To use USL, a user must submit a claim along with a proof to the USL precompile address. The process is as follows:
The claim and proof are sent to the USL precompile address.
The USL precompile code executes and verifies the claim and proof.
If verification is successful, the transaction is appended to the Pod log.
Once a transaction is stored in Pod, the USL Client subscribes to the USL channel to receive notifications whenever a claim is verified. Upon verification, the USL Client retrieves the verified claim and the Pod certificate. The pod certificate serves as cryptographic proof that the claim has been validated.
Once verified, the claim and Pod certificate can be used by decentralized applications (dApps) that require this information. This ensures that any external system relying on USL has a tamper-proof record of claim verification.