DEX vs CEX — What’s Actually Different Behind the Screen?
The difference is deeper than whether you click Swap or Buy.
Concept explainer · about a 2-minute readA centralised exchange runs an account system
On a CEX, the operator commonly holds customer assets in custody and maintains internal account balances and an order book. Many trades can happen inside its own systems before withdrawals settle on-chain.
A DEX uses blockchain transactions
A decentralised exchange lets users interact with smart contracts/programs from a wallet. Settlement occurs on-chain according to the protocol design, often using AMM liquidity pools rather than a traditional order book.
Custody changes the trust model
With a CEX, you trust the operator to safeguard assets, maintain records and honour withdrawals. With self-custodial DEX use, you take more responsibility for keys, signatures, addresses and smart-contract risk.
Neither model removes risk
Centralised venues can fail or restrict access; decentralised protocols can contain bugs, malicious tokens or poor liquidity. The risks are different rather than absent.
The screens can look similar while the machinery is different
On a centralised exchange, you normally deposit assets into accounts controlled by the exchange and trade using its internal systems, often an order book. Your displayed balance may be an entry in the exchange database until you withdraw. On a DEX, a wallet can interact directly with smart contracts or on-chain programs, and an AMM may provide the other side through liquidity pools rather than a traditional order book.
The trade-off is control versus responsibility
Self-custody through a DEX can reduce reliance on one exchange holding your assets, but it also means there may be nobody to reset a mistaken transaction or recover a seed phrase. CEXs can be easier for fiat deposits and support, but users take custody and platform risk. I do not see one as automatically “better”; they solve different problems and expose users to different failure modes.
GRIFF’s first market was a Raydium liquidity pool. There was no Griff Coin company order book deciding who could trade; swaps interacted with the on-chain pool.
