On-Chain Order Matching

Mechanism

On-chain order matching executes trades directly on the blockchain by matching buy and sell orders within a smart contract. This contrasts with off-chain systems where matching occurs on a centralized server before settlement on the blockchain. The mechanism ensures transparency and immutability by recording every order and trade directly on the public ledger.