Orderbook Design
The Orderly central limit order book (CLOB) uses a hybrid orderbook model that combines the best features of centralized and decentralized exchanges that allows Orderly to offer centralized exchange performance with low latency and concentrated liquidity while providing full transparency of decentralized exchanges and full self-custody of funds. This means that all orders are settled and stored on the blockchain, which provides a number of benefits, including: Transparency: All orders are visible to everyone, which makes it difficult for market manipulation to occur. Security: Orders are settled and stored on the blockchain, which makes them very secure because of immutability of data. Efficiency: Orders can be executed very quickly and efficiently, thanks to the use of a high-performance matching engine. Self-custody: Users have full custody of their funds which eliminates the trust assumption in the protocol and guarantess solvency.Omnichain Approach
Orderly has enabled omnichain orderbook by splitting the stack into three main components: Asset Layer (Asset Vaults) - resides on each chain Orderly supports- Users interact with this layer when registering/depositing/withdrawing and where the funds reside.
- Users do not interact with this directly and is used as a transaction ledger for storing transaction/user data.
- Users interact with this when managing orders. This where trade execution happens and includes matching engine itself, risk engine, and other services.
MEV Protection
Orderly also includes a number of features to protect users from MEV (miner extractable value). MEV is a type of arbitrage that can be used to profit from the delay between when a transaction is submitted to the blockchain and when it is confirmed. Orderly’s MEV protection features include: Fast matching: The sequencer matches orders very quickly, which makes it difficult for MEV extractors to front-run trades. Batching: Transactions are batched together before they are submitted to the blockchain, which further reduces the risk of MEV. On-chain settlement: All trades are settled on the blockchain, which ensures that traders are not vulnerable to MEV attacks.EVM and NEAR orderbook instances are independent and have slightly different architecture.