D8X employs a distinct architecture that combines off-chain and on-chain components to optimize for speed, user experience, and decentralization. The technology is centered around its hybrid execution model, a shared liquidity mechanism, and a permissionless market creation system. [1]
The core of D8X's performance is its hybrid architecture, which separates order matching from trade settlement.
- Off-Chain Order Book and Matching Engine: User orders are sent to a centralized, off-chain order book. This system matches buy and sell orders with high speed and low latency, designed to replicate the performance and user experience of a CEX. [1]
- On-Chain Settlement: While matching is off-chain, the settlement of all matched trades occurs on-chain on a supported EVM network. This step ensures that users maintain self-custody of their funds at all times and that a verifiable, transparent record of all transactions is maintained on the blockchain. [1]
The project's social media communications state that its architecture has "no reliance on centralised components," allowing partners to launch a fully decentralized product. [3] This refers to the self-custodial nature and on-chain settlement, which form the decentralized foundation of the protocol, while the off-chain matching engine serves as a performance layer. [1]
D8X utilizes a unique liquidity model that departs from standard Automated Market Maker (AMM) or Virtual AMM (vAMM) systems found in many DEXs. The model is described through several interconnected concepts. [1] [2]
- Shared Liquidity Pool: The protocol uses a single, shared liquidity pool that acts as the universal counterparty for all trades across all markets on the platform. This design concentrates liquidity, aiming to provide deeper markets and reduce slippage for traders. For liquidity providers (LPs), it simplifies exposure, as they can deposit a single asset and earn yield from trading fees generated across the entire protocol. [2]
- Delegated Partner-Pool based Perpetuals (DPP): Institutional LPs provide liquidity into private, segregated pools. This liquidity is then delegated to the D8X smart contracts to back trades across the exchange. This structure is intended to facilitate deeper, more concentrated liquidity and tighter spreads. [1]
- Risk-Based AMM: The system incorporates a proprietary risk-based AMM. This mechanism is designed to always provide executable quotes, ensuring the platform can function even during periods of thin liquidity. It contributes to stable market depth and predictable execution for traders, reducing the reliance on traditional market makers to sustain volume. [3]
A key feature of the protocol is the ability for anyone to permissionlessly create a new perpetuals market. This is possible for any asset that has a reliable price feed from a supported oracle network, such as the Pyth Network. This capability lowers the barrier to entry for listing new or long-tail assets, a common limitation on centralized and many decentralized derivatives exchanges. [2]
D8X was initially launched on Polygon PoS and is designed to be chain-agnostic and compatible with other EVM-based networks. [1] Subsequent deployments and integrations have occurred on Arbitrum and Polygon zkEVM, with a planned front-end for the Berachain ecosystem. [2]
For real-time asset pricing, liquidations, and funding rate calculations, the protocol relies on high-fidelity oracle price feeds from the Pyth Network. [1] [2]
To safeguard the shared liquidity pool from insolvency, D8X integrates a multi-faceted risk management engine. Key components include a funding rate mechanism to balance long and short positions and keep the contract price aligned with the spot price, as well as a dynamic collateral system that adjusts margin requirements based on market volatility and other risk parameters. [2]