Digital Assets · How the Ecosystem Connects
Centralized vs Decentralized Exchanges
What You'll Learn
- What a centralized exchange actually does
- How a decentralized exchange differs structurally
- The basic trade-offs between the two
The Big Idea
This is the final lesson in Digital Assets, and I want to close by connecting several ideas together. A centralized exchange is a company that operates a platform for trading crypto, holding custody of funds on behalf of its users. A decentralized exchange instead uses smart contracts to let people trade directly, without any company holding custody of the funds involved.
Let's Break It Down
A centralized exchange works similarly to a traditional brokerage. You deposit funds, the exchange holds them on your behalf, and it matches your buy and sell orders against other users' orders, all managed by that one company's own systems. This setup is typically fast and straightforward to use, but it also means you are trusting that company to manage your funds honestly and securely.
A decentralized exchange works differently. It uses smart contracts — the same building block you learned about earlier in this module — to let trades happen directly between users' own wallets, according to logic written into the contract itself, without any single company holding custody of the funds at any point.
This connects directly back to the "not your keys, not your coins" idea from Crypto Foundations. On a decentralized exchange, you generally retain control of your private keys throughout the entire process. On a centralized exchange, the exchange itself holds the keys to the funds in your account there.
Real Example
A centralized exchange is similar to a traditional bank-run stock brokerage: convenient, but you are trusting the institution with custody of your assets. A decentralized exchange is closer to two people directly swapping items according to a pre-agreed, automatically enforced set of rules, with no institution holding either item in between.
Why It Matters
Choosing between the two involves a genuine trade-off between convenience and custody. I want you to understand the structural difference — who actually holds the funds during the process — because it directly affects who is responsible for keeping those funds secure, and it is more useful than simply knowing both are "places to trade crypto."
Common Mistake
Please do not assume a decentralized exchange is automatically safer just because no single company holds custody. Removing a central custodian removes one kind of risk, but self-custody, which you learned about in Crypto Foundations, comes with its own responsibility — there is no support line to call if you make a mistake with your own keys.
Quick Check
What is the key structural difference between a centralized and a decentralized exchange?
Key Takeaways
- A centralized exchange holds custody of your funds on your behalf, similar to a traditional brokerage.
- A decentralized exchange uses smart contracts to let trades happen directly, without a company holding custody.
- Each comes with a different trade-off between convenience and who's responsible for keeping funds secure.
Finished reading?
Mark this lesson as complete to track your progress.