Transaction Processing

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.

Transaction Processing Flow
  1. Order Placement - The user clicks "Buy" or "Sell," initiating the order processing.

  2. 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.

  3. 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.

  4. 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.

  5. Validating Nodes (VNs) - ensure that both off-chain and on-chain transactions are accurate, ordered correctly, and aligned.

Last updated