Yano X Demo Connects Delivery Records to Cardano Payments
Cardano Foundation architect Satya Ranjan demonstrated how organizations can use Yano X to share business records and verify them on Cardano. In one example, a smart contract checked a recorded delivery before releasing funds to a supplier.
By SongMarketCap
Updated:
A supplier could have funds waiting in a Cardano smart contract while several organizations maintain a shared record of an order. Once delivery is recorded, the contract can check a proof against that record before releasing the payment.
Satya Ranjan, lead blockchain architect at the Cardano Foundation and founder of BloxBean, demonstrated the process during Cardano Developers Office Hours in November. The presentation focused on Yano X, a framework that lets multiple organizations operate an application ledger together and anchor proofs of its state on Cardano.
Ranjan also showed how a document can move through an approval process involving people from different organizations. The examples explored how shared business decisions can be recorded and checked without putting the full underlying documents on a public blockchain.
A Delivery Record Unlocks a Payment
Ranjan’s first demonstration used an application that records events associated with an order. The order can pass through different statuses, giving participating organizations a shared record of its progress.
For the payment example, funds had already been locked in a Cardano escrow contract. After a delivery event was recorded, a proof of that event could be checked against the application ledger state anchored on Cardano.
The contract verified the proof before releasing the funds to the supplier. Ranjan explained that the order ledger used an existing Yano X component for recording events, without custom code for that part of the application.
The proof establishes that a delivery event was included in the ledger. It does not independently establish that goods physically reached their destination. That depends on how the participating organizations verify and submit the information.
Two Organizations Must Approve a Document
A second demonstration followed a document through a review process involving several participants.
One person signed and submitted a proposal. The document remained pending because the configured workflow required approvals from two people at different organizations.
After the first reviewer signed, the application still showed that another approval was needed. Once the second reviewer signed, the proposal reached the approved state and the document could be released. Ranjan then checked the record to show its updated status.
Yano X can assign roles to individuals as well as participating organizations. A workflow can define who is allowed to propose an action, who can approve it and how many approvals are required before the process continues.
Ranjan also pointed to a separate example in which a token was minted after a document release. An application obtained a proof from Yano X and used a Cardano validator to check the event before minting the token.
How Organizations Reach Agreement
Yano X is designed for cases where multiple known organizations need a shared application ledger. Each participant can operate its own node and apply the same rules to incoming messages.
Ranjan described a process in which one member orders messages into a block. Each participating node then applies the application’s rules and calculates a cryptographic fingerprint of the resulting state.
Members sign the state they calculated. When enough signatures have been collected, the block receives a finality certificate within the application ledger. The participating organizations can configure how many signatures are required.
In one example from the presentation, a network had five participating nodes and required three to agree before a block became final. Ranjan also described a separate example using a four out of five threshold.
The application rules can check whether someone is authorized to submit a proposal, whether an approval has already been used and whether reviewers belong to different organizations.
How Cardano Helps Verify the Records
Yano X can periodically anchor a fingerprint of an application ledger’s state on Cardano. Ranjan explained that developers can configure when anchoring takes place, including after a specified number of application ledger blocks or after a set period.
The fingerprint can be recorded through transaction metadata or through a script. Ranjan described the script approach as useful for applications that need to read an anchored state and act on it, such as a contract that checks whether an approved event has occurred.
An auditor or another outside party can obtain a record and its proof from a participating node. The proof can then be checked against the fingerprint anchored on Cardano. If the record has been altered, it will no longer match the earlier state.
The original document does not need to be placed on Cardano. Ranjan explained that larger files can remain in a document management system, IPFS or another storage service, while the application ledger records the information needed for verification.
Business Data Still Needs Protection
Keeping a document off Cardano does not automatically make every part of a Yano X deployment private.
Ranjan explained that nodes can potentially connect through a public environment. In that case, someone could operate a node that reads the data without participating in the process of confirming blocks.
For organizations handling sensitive information, he expects participating nodes to be connected through a private network. The organizations would still need to decide how they manage access and protect their underlying systems.
During the presentation, Ranjan distinguished Yano X from Midnight. He described Yano X as a framework for business ledgers shared among known organizations, while pointing to Midnight for applications that require privacy at the ledger level and selective disclosure.
[NEWSBREAK]
Connecting Decisions to Business Systems
A confirmed event in Yano X can also trigger an action outside the application ledger. Depending on the implementation, an external component could store a document, send a notification or communicate with a company’s business software.
The result can then be submitted back to Yano X and linked to the original decision. An external process could return a Cardano transaction hash after a payment or a content identifier after a file is stored on IPFS.
This allows participants to keep a record of the approval alongside the result reported by the external system. Ranjan cautioned, however, that Yano X does not control everything that happens outside its ledger.
An external payment service, for example, needs its own safeguards to ensure that a repeated request does not cause an unintended duplicate payment.
From a Laptop Test to a Shared Network
Ranjan showed how organizations can define the members of a Yano X network, the number of signatures required to confirm a block and the application components they intend to use.
In the setup he described, each operator creates its own key and provides the public information needed to join. The participants then compare a fingerprint of the shared network configuration before starting their nodes.
He also demonstrated a way to rehearse the setup on a laptop. In the example described during the presentation, a test created three nodes with real keys and finalized a message in 27 seconds.
The wider test cluster shown during the session had five nodes hosting 22 application ledgers. Ranjan explained that multiple application ledgers can run on the same cluster, subject to the resources available to its nodes.
Yano X Remains a Development Preview
Ranjan presented Yano X as a project still in development and invited builders to try it in test environments or pilot applications. The delivery payment and document approval examples were demonstrations, not announcements of commercial deployments.
Developers can start with existing components for ordered event logs, registries and approvals. They can also combine components or write their own Java plugins when an application requires different rules.
Ranjan explained that the project aims to make as much of the setup configurable as possible. During the presentation, some workflows still required developers to write configuration manually or use Java code.