Decentralized Exchange (DEX)
Traditional exchanges — like a stock market or a centralized crypto exchange — hold your assets in their own accounts and match buyers with sellers using an order book (a live list of bids and offers). A DEX skips both of those steps. Instead, it runs on smart contracts: self-executing code published on a blockchain that automatically handles every swap. No company is in the middle, and you keep control of your wallet until the moment a trade settles. You can explore how this underlying infrastructure works in our DeFi explainer.
Most popular DEXs today use a mechanism called an automated market maker (AMM) instead of an order book. An AMM holds two tokens in a liquidity pool — suppose a pool contains ETH and a stablecoin. A mathematical formula (commonly x × y = k) automatically sets the price based on the ratio of those two reserves. When a trader buys ETH from the pool, ETH becomes scarcer in the pool and the formula pushes the price up. No human market-maker is required.
The key confusion is equating DEXs with decentralized ownership of crypto. Using a DEX means no custodian holds your coins, but the smart contract code itself may have been written by a small team, and bugs or exploits in that code are a well-documented risk in crypto markets. Traders also watch slippage — the difference between the expected swap price and the actual executed price — which tends to widen when a pool has low liquidity.
DEX trading volume appears on live crypto data pages as one signal of on-chain activity. High DEX volume relative to centralized exchanges is often read by analysts as a sign of heightened demand for self-custody or for tokens not listed on regulated platforms.