CEX vs DEX: a side path after step 5 of the beginner trail
Step 5 asked who holds your keys. This side path asks the same question about where you trade: a company that holds your coins, or contracts you use from your own wallet.

Photo: “Bank Vaults under Hotels in Toronto, Ontario” by UnTapping The World, CC BY 2.0, via Flickr (edited: cropped and resized).
A centralized exchange (CEX) is a firm that keeps your deposits and matches orders in an order book. A decentralized exchange (DEX) runs on smart contracts: you trade from your own wallet, often against a token pool [1]. A CEX adds custody risk; a DEX adds contract and user-error risk.
Key points
- 1Trail position: a side path off step 5 (custody), taken before your first real trade.
- 2On a CEX the exchange holds your coins; on a DEX they stay in your wallet.
- 3A CEX connects to bank money and usually checks identity; a DEX trades tokens only.
- 4Big trades in small DEX pools get noticeably worse prices.
- 5Neither choice removes crypto's risks; it changes which ones you carry.
On this page
Where does this guide sit on the trail?#
Core step 5, custodial vs self-custody, is about where your coins rest. This side path applies the same idea to where you trade them. Take it before your first real trade, then return to step 6, seed phrases, because using a DEX means using a self-custody wallet.
Where this side path joins the trail
What is the minimum you need to know?#
Both kinds of exchange let you swap one asset for another. A Federal Reserve note says DEXs try to do a similar job for users but differ in several critical ways [1]. The difference that matters most for a beginner is custody. On a CEX, ethereum.org explains, you deposit assets before trading and trust the exchange to look after them [2]. A DEX is an app for swapping tokens with peers on the network [3]; Uniswap describes its protocol as built for self-custody [4].
Prices are made differently. CEXs use market makers and limit order books, while DEXs use automated market makers [1]. Uniswap's formula, x × y = k, means trades that are large relative to the pool move the price more [4], and each Uniswap v2 trade pays a 0.3% fee to the pool's liquidity providers [5]. A DEX also needs a token approval first, which lets a contract spend that token for you [6].
Neither venue is a safety net. Ethereum.org warns that funds on an exchange are at risk if it gets into financial trouble [7]. The SEC says FDIC and SIPC protections do not cover accounts with crypto asset firms [8]. On the DEX side, Uniswap notes nobody can pause its core contracts or reverse a trade [4], so nobody can undo your mistake either.
| Question | Centralized exchange (CEX) | Decentralized exchange (DEX) |
|---|---|---|
| Who holds your coins while you trade? | The exchange | You, in your own wallet |
| How are prices set? | An order book [1] | Often a formula over a pool [4] |
| Can you pay with bank money? | Yes | No; tokens only [1] |
| How do you get in? | An account, usually with identity checks | Connect a wallet |
| Who can freeze or reverse things? | The company | Usually no one |
| Biggest beginner risk | Failure, hacks, withdrawal halts | Fake tokens, bad approvals, user error |
Generalised; individual platforms differ.
| Step | Value |
|---|---|
| Swap 1,000 USDC: ETH received | ≈ 0.4960 ETH |
| Average price paid | ≈ 2,016.02 USDC (0.8% above) |
| Swap 10,000 USDC: ETH received | ≈ 4.7483 ETH |
| Average price paid | ≈ 2,106.02 USDC (5.3% above) |
Method: input after fee = amount × 0.997; new ETH reserve = (100 × 200,000) ÷ (200,000 + input); ETH out = 100 − new reserve. The bigger the trade compared with the pool, the worse the average price.
What should you do, and what should you avoid?#
| Do | Don't |
|---|---|
| Keep only what you are actively trading on a CEX | Leave savings sitting on an exchange |
| Check the token's contract address from an official source | Trust a pool just because the token name looks right |
| Review and revoke approvals you no longer need [6] | Approve unlimited spending without reading the prompt |
| Check output amount and price impact for your full size | Rely on the quoted price for a large trade |
| Type the DEX address yourself or use your own bookmark | Follow a link to a 'DEX' from a message or ad |
Where does the trail go next?#
Return to the core trail at step 6, seed phrases. Before your first DEX swap, also read the token approvals and wallet drainers side path. To see how a CEX order book prices your trade, read order books and liquidity.
Go deeper: for a fuller beginner comparison of the two exchange types, read Centralized vs decentralized exchanges on BlockHorizon.
What mistakes do beginners make here?#
- Treating an exchange balance as your coins
Coins on a CEX are a claim on the company. If it halts withdrawals, you may wait or recover little.
- Swapping a large amount in a thin pool
The headline price is for a tiny trade. Check what your full amount actually receives.
- Skipping step 6 before using a DEX
A DEX needs a self-custody wallet, and that wallet is only as safe as your recovery phrase.
- Assuming a familiar name means the real site
Fake front-ends copy real DEXs closely. Reach the site from an address you typed or a bookmark you saved yourself.
Frequently asked questions#
Is a DEX safer than a CEX?
Safer from one risk, the exchange losing or freezing your funds, and riskier in others, such as malicious approvals, fake tokens and mistakes nobody can undo.
Can I buy crypto with dollars on a DEX?
Not directly. The Federal Reserve note points out that stablecoins cannot be bought or sold for fiat on DEXs, which is why stablecoins act as the dollar-like asset there [1].
Do I need an account to use a DEX?
No account, but you need a self-custody wallet and some of the network's native token to pay transaction fees.
Why are DEX prices close to CEX prices?
Arbitrage. When a pool's price drifts from the wider market by more than the fee, traders profit by trading it back into line [10].
Do DEXs offer derivatives too?
Some do. Ethereum.org notes that limit orders, perpetuals and margin trading are possible in decentralised trading [2]. The leverage risks are the same; the spot vs derivatives side path explains them.
Your next step on the trail#
A CEX trades convenience and bank connections for trusting a company with your coins. A DEX lets you keep your coins but makes every approval, address and click your job.
Back to the core trail: step 6, seed phrases. For a fuller walk-through of DEX mechanics, see how decentralized exchanges work, and the DEX and slippage glossary entries.
Sources#
Grade A = primary source (regulator, protocol specification, client code, original author). Grade B = expert secondary source used for explanation only.
- ABoard of Governors of the Federal Reserve System (FEDS Notes). Primary and Secondary Markets for Stablecoins, 2024.
- Aethereum.org. What is DeFi?, 2026.
- Aethereum.org. Ethereum Glossary: Decentralized exchange (DEX), 2026.
- AUniswap Developers. How Uniswap Works, 2026.
- AUniswap Developers. Pools, 2026.
- BRevoke.cash. What Are Token Approvals?, 2026.
- Aethereum.org. Ethereum wallets, 2026.
- AInvestor.gov, U.S. Securities and Exchange Commission. Exercise Caution with Crypto Asset Securities: Investor Alert, 2023.
- AEuropean Supervisory Authorities (EBA, ESMA, EIOPA). EU financial regulators warn consumers on the risks of crypto-assets, 2022.
- AUniswap. Uniswap v2 Core (whitepaper), 2020.


