Yamata
Website
  • Yamata Nodes
    • DISCLAIMER
    • Transaction Processing
      • Order Submission Process
      • Sequencer Processing
      • Posting on the Blockchain
    • Order Validation
      • What are Validating Nodes (VNs)
      • Order Matching
      • Challenge Process
        • Discrepancy Detection
        • Challenge Initiation
        • Challenge Approval
      • Voting & Sequencer Defense
    • Reward Process
      • Transaction Fee Distribution
      • Challenge Results
      • Validating Nodes (VNs) Rewards
      • Withdrawal Process
    • Reputation System
      • Reputation Gain/Loss
      • Punishment Process
      • Reputation Score Ranges
    • Node Activation
      • Activation Fee
      • Node License NFT
      • Hosting
      • YAMATA Software
Powered by GitBook
On this page
  • Off-Chain Order Processing:
  • Securing Transactions (Merkle Trees)
  • Decentralized Orders:
  1. Yamata Nodes
  2. Transaction Processing

Sequencer Processing

PreviousOrder Submission ProcessNextPosting on the Blockchain

Last updated 7 months ago

Once the order has been submitted, it moves to the sequencer stage. The sequencer's main job is to organize and arrange all the centralized transactions in a specific order, making sure everything is processed fairly and consistently.

Off-Chain Order Processing:

The sequencer collects all the submitted orders and arranges them in a specific order before grouping them into batches (Merkle Trees). You can think of this process as sorting mail into neat piles before sending it out. This organized batch is then ready to be secured and posted on-chain.

Securing Transactions (Merkle Trees)

  1. After the transactions are organized, they are grouped into a Merkle Tree, which is a method used to securely bundle and verify the data.

  2. Imagine a Merkle Tree as a way to create a unique “summary” of all the transactions in a batch. Here's how it works: each transaction gets a label (into a “hash”), and then those labels are combined to form branches, eventually leading to a single label at the top called the Merkle Root.

  3. The Merkle Root is like a fingerprint for the entire group of transactions. If someone tries to change even one transaction, the Merkle Root would change, making it clear that something was altered. This provides strong security and ensures that all the transactions remain tamper-proof.

Decentralized Orders:

In the decentralized method, the order does not need to go through the sequencer. Instead, it is already posted directly on the blockchain. This means that the decentralized version of the order is visible and transparent on-chain without needing the extra step of sequencing.

Sequencer Processing
Merkle Root Visualization