GaiaEx Academy
Lesson 10 of 29
beginner5 minQuiz included

Crypto Fundamentals

CEX vs DEX

Coins, exchanges, and wallets — the practical building blocks.

Updated Jun 22, 2026Reviewed by GaiaEx Academy Editorial

In this lesson

  • The difference between centralized and decentralized exchanges
  • Who holds your funds in each model

Key takeaways

  1. 1A CEX custodies your funds while you trade
  2. 2A DEX lets you trade from your own wallet
  3. 3Custody is the key trade-off: convenience vs control

Lesson summary

A centralized exchange and a decentralized exchange solve the same trading need with different custody models.

Mental model

Getting CEX vs DEX straight

A centralized exchange and a decentralized exchange solve the same trading need with different custody models. The key question is who holds the funds while the trade happens.

The aim here is not vocabulary; it is being able to explain CEX vs DEX to someone else without notes.

  • The difference between centralized and decentralized exchanges
  • Who holds your funds in each model

Mechanics

How to reason about CEX vs DEX

A CEX runs accounts, order matching, custody, and withdrawals inside its own system.

A DEX lets users connect wallets and settle trades through smart contracts.

CEXs can feel faster and easier, while DEXs reduce exchange custody risk but add wallet and contract responsibility.

Put together, the throughline is that a CEX custodies your funds while you trade.

  • A CEX custodies your funds while you trade
  • A DEX lets you trade from your own wallet
  • Custody is the key trade-off: convenience vs control

Example

A concrete CEX vs DEX example

If you trade BTC on a CEX, your account balance depends on the exchange honoring withdrawals. If you swap through a DEX, your wallet signs the transaction and settlement is on-chain.

Read the CEX vs DEX example as a procedure you can repeat: name the action, the result, the data that proves it, and the point where it could fail.

The numbers change, but the link between action, proof, and risk is what makes CEX vs DEX transfer to your own decisions.

RememberDecision rule: Choose the venue by matching trade size, custody preference, liquidity, and operational risk.

Common mistakes

Common mistakes with CEX vs DEX

Users often choose by fees only. Custody, liquidity, support, slippage, and recovery options matter more than the headline fee.

The fix for this CEX vs DEX mistake is to state the hidden assumption in one sentence and check it against the takeaways above.

Treat any CEX vs DEX mistake as a signal to slow down and demand evidence, especially when the decision feels obvious.

Risk notes

What can go wrong with CEX vs DEX

CEX risk includes freezes and insolvency. DEX risk includes contract bugs, bad approvals, MEV, wrong networks, and irreversible signing mistakes.

When the CEX vs DEX evidence is thin, keep your exposure small and stay in research mode until it improves.

Knowing the CEX vs DEX failure modes in advance is what lets you act decisively when the setup is genuinely sound.

  • Say who custodies funds.
  • Compare liquidity and slippage.
  • Know what can go wrong after signing.

Practice

Put CEX vs DEX to work

Treat CEX vs DEX as a drill, not a definition: pick one live Crypto Fundamentals product, market, screen, or claim and trace it end to end.

Aim for CEX vs DEX judgement you can defend, not a tidy summary you can merely recite.

  • Say who custodies funds.
  • Compare liquidity and slippage.
  • Know what can go wrong after signing.

Review

Key terms

Custody
Who controls the private keys. Custodial = a third party holds them; non-custodial = you do.
Liquidity
How easily an asset can be bought or sold without moving its price much.
Slippage
The difference between expected and executed price, common in low-liquidity or fast markets.
Wallet
Software or hardware that stores the private keys controlling your on-chain assets.
On-Chain
Data or activity recorded directly on the blockchain.

Source notes

Editorial references

These references are starting points for verifying the mechanisms, risk checks, and product context behind this lesson.

Before you continue

Can you do these?

  • Say who custodies funds.
  • Compare liquidity and slippage.
  • Know what can go wrong after signing.

Related learning

Keep reading

Checkpoint

Finish this lesson

Pass the check to save progress, then continue through the track in order.

Knowledge check

Lock in this lesson

Answer every question correctly to complete the lesson.

1 / 2

On a centralized exchange (CEX), who custodies your funds while trading?