Transaction Processing
Last updated
Last updated
The goal of Yamata's order processing system is to combine the speed of a off-chain order processing system with the transparency of a decentralized blockchain system.
By using a fast off-chain path (Submission A) for quick order execution and an on-chain path (Submission B) for secure validation, Yamata achieves both speed and transparency.
The off-chain path handles orders instantly, while the on-chain path ensures all transactions are publicly verifiable.
Order Placement - The user clicks "Buy" or "Sell," initiating the order processing.
Order Submission - The order is quickly sent to an off-chain system (Submission A) for immediate processing, simultaneously the order is sent to decentralized storage (Submission B), where it is instantly recorded on-chain for transparency.
Sequencer Processing (Submission A) - The off-chain transactions are organized in the correct order and grouped into batches that are then secured with a Merkle Tree, ensuring they are tamper-proof.
Posting on the Blockchain - Once processed, off-chain transactions are grouped into time intervals (epochs) and posted on the blockchain, while on-chain transactions are already posted directly on the Blockchain.
Validating Nodes (VNs) - ensure that both off-chain and on-chain transactions are accurate, ordered correctly, and aligned.