LIVE · EXCHANGE HISTORY MONITOR TRACKING: CEX · DEX · HACKS · LISTINGS LAST SYNC 2026-07-28 09:41:07 UTC
← All reports
REPORT FILE explainers

CEX vs DEX: A History of Two Order Books

How trading split into two parallel worlds — the centralized exchange with its custody and compliance, and the automated market maker with neither — and where each came from.

Filed by XMoon History Desk

Every crypto trade happens in one of two universes: a company’s order book, or a smart contract’s formula. The rivalry between them is the central plot of exchange history — and it started with a layoff.

The centralized thesis (2010–2017)

For its first eight years, crypto trading meant one thing: deposit coins into an exchange’s wallet, and trade against other users on the exchange’s internal order book. BitcoinMarket.com (2010) and Mt. Gox (2010) established the template — matching engines, maker/taker fees, and custody: the exchange holds your keys while you trade.

The model’s advantages were real. Order books give tight spreads and deep liquidity for large trades. Customer support exists. Passwords can be reset. The costs were equally real, and logged extensively on this site: Mt. Gox lost 850,000 BTC, Bitfinex lost 119,756, Coincheck lost $530 million, and Bybit lost $1.4 billion. Every CEX hack is the custody model failing exactly where it was supposed to be strongest.

The decentralized thesis (2018–present)

In November 2018, Hayden Adams — a mechanical engineer laid off from Siemens a year earlier — launched Uniswap v1 on Ethereum, built from a suggestion by Vitalik Buterin. There was no order book and no company holding anyone’s funds. Instead, an automated market maker: each token pair lives in a pool governed by the equation x·y=k. Traders swap against the pool, the price moves along the curve, and liquidity providers earn fees for supplying both sides.

The early DEX was slow, expensive (Ethereum gas), and full of illiquid long-tail tokens. Then three things happened: v2 (2020) made pools composable, v3 (2021) made capital efficient, and competitors like SushiSwap, Curve, PancakeSwap and Solana’s Raydium turned the pattern into an ecosystem. By 2024, Uniswap alone regularly cleared more individual trades per day than Coinbase — though CEXs still dominate in dollar volume, especially for large institutional orders.

The real differences

DimensionCEXDEX
CustodyExchange holds your keysYou hold your keys
ListingGatekept (fees, review)Permissionless
Failure modeHack, freeze, bankruptcySmart-contract bug, rug pool
IdentityKYC required at scaleNone (until regulation arrives)
Speed/costOff-chain matching, fastOn-chain, bound by gas

Where it’s heading

The line is blurring. CEXs now publish proof-of-reserves dashboards (a direct response to FTX’s 2022 collapse, the other great custody disaster), while DEX frontends increasingly add compliance layers and institutional rails. The honest summary: the CEX is a bank that learned to be an exchange; the DEX is an exchange that refused to be a bank. History suggests the final answer is users keeping long-term holdings in self-custody, trading size on CEXs, and trading long-tail assets on DEXs — all three logged, all three monitored.