What is dYdX?
- Author
- CRYPTO PORT Editorial
- Published
- Updated
- Reading time
- 6 min
In short
dYdX is a decentralised exchange for trading crypto perpetual futures on an order book. It originally ran on an Ethereum layer 2 and moved in 2023 to its own chain built with the Cosmos SDK. The DYDX token is used for staking and governance.
Key points
- Trades derivatives on a central limit order book rather than through an AMM
- The book and matching live in validator memory; only settled trades are written to the chain
- Migrated in 2023 from an Ethereum layer 2 to its own Cosmos-based chain
- Trading fees are distributed to validators staking DYDX and to their delegators
Definition
A decentralised derivatives exchange offering perpetual futures on an order book, together with its staking and governance token.
Most decentralised exchanges use automated market makers, but for derivatives a central limit order book is generally considered better suited to professional trading. dYdX chose that model and built around leveraged perpetual futures.
Writing the whole book on-chain would impose a fee and a delay on every order placement or cancellation. dYdX's answer was to keep the book and the matching engine in validator memory, shared across the network, and record only filled trades in blocks. Placing and cancelling orders becomes free and fast while settlement stays on-chain.
To make that work, it migrated in 2023 from an Ethereum layer 2 to a purpose-built Cosmos SDK chain. Validators join by staking DYDX, and trading fees are distributed as rewards. Operational changes go through governance votes.
In derivatives trading, positions are force-closed when margin falls short as prices move. Liquidation decisions use externally supplied prices, so oracle accuracy and market depth bear directly on how safely the venue operates. The same is true of centralised venues; the difference here is that the mechanism is public and can be inspected.
Watch out for
- · Leveraged trading can wipe out posted margin quickly when prices move
- · Liquidations follow oracle prices, so sharp moves or feed delays can produce unfavourable outcomes
- · Access is restricted in some jurisdictions; check local rules and the venue's terms
Frequently asked questions
Is it still decentralised if the order book is not on-chain?
The book is held jointly by validators rather than on one company's servers, and fills and balances are recorded on-chain, so custody and settlement are verifiable. Transparency at the order-intake stage does differ from a fully on-chain design.