ONE TOPIC · THREE LEVELS OF EXPLANATION
CEX vs DEX: what is the difference?
After this lesson: Distinguish buying, swapping and withdrawing, then identify who controls access.
01 / BEGINNER
First, what is it?
An exchange lets you trade one asset for another. A centralised service generally keeps customer accounts and runs trading in its own systems. A decentralised exchange uses contracts on a blockchain. The interfaces may look similar; where operations happen and who is responsible differ.
Words to know
- Purchase
- Obtaining an asset in exchange for something else, such as euros.
- Withdrawal
- Asking a service to send an asset to an external destination.
- Liquidity
- The amounts available to trade at accessible prices.
The idea to understand
A purchase displayed in an exchange account is not necessarily a blockchain transaction. The service may update its internal ledger. A later withdrawal is separate, with its own conditions and fees.
SEE IT IN PRACTICE
Now, a concrete example
Uniswap is a real example of a contract-based exchange protocol. Its documentation distinguishes the protocol, versions and interfaces used to access it. An interface is therefore not the entire service or a guarantee about every listed token.
YOUR TURN
Does swapping ETH for USDC on Ethereum automatically send the USDC to Base?
Form an answer before opening the explanation. You can also discuss it aloud.
Compare with the explanation
No. Changing assets is a swap; changing networks requires another mechanism. A simple Ethereum swap stays on Ethereum.
02 / INTERMEDIATE
How it works, and why
A purchase displayed in an exchange account is not necessarily a blockchain transaction. The service may update its internal ledger. A later withdrawal is separate, with its own conditions and fees.
A centralised service may match buy and sell orders in an order book. The provider holds assets under its terms. Funds’ availability also depends on its operation and solvency.
On a decentralised exchange, a contract may use a pool: assets supplied by participants. Prices result from protocol rules and liquidity. A large trade can move its own execution price.
Comparing commission alone is insufficient. Examine execution price, network fees, spending approval, withdrawal restrictions and receiving network. “Decentralised” guarantees neither a good price nor a bug-free contract.
SEE IT IN PRACTICE
Apply the mechanism
Uniswap is a real example of a contract-based exchange protocol. Its documentation distinguishes the protocol, versions and interfaces used to access it. An interface is therefore not the entire service or a guarantee about every listed token.
YOUR TURN
Does swapping ETH for USDC on Ethereum automatically send the USDC to Base?
Form an answer before opening the explanation. You can also discuss it aloud.
Compare with the explanation
No. Changing assets is a swap; changing networks requires another mechanism. A simple Ethereum swap stays on Ethereum.
03 / ADVANCED
The rules behind the interface
In a simplified constant-product model, reserves x and y satisfy x × y = k, ignoring fees. Adding x removes y along that curve: the marginal price changes. Real protocols may use fees, concentrated liquidity or other curves.
Price impact comes from your order’s effect on liquidity; slippage compares expected and actual execution. Slippage tolerance is a threshold, not a fixed cost. Transaction ordering can also influence the outcome.
YOUR TURN
An interface promises “zero commission”. What else is needed to compare two quotes?
Form an answer before opening the explanation. You can also discuss it aloud.
Compare with the explanation
Same asset, network, time and quantity; actual execution price, price impact, any spread, gas and withdrawal cost. A zero on one fee line does not make the operation free.
Use the official sources at the end of this page to inspect these mechanisms further.
A useful companion: Crypto wallets: keys, custody and recovery
THE SHORT ANSWER
A CEX is operated by a company that often holds customers’ assets. A DEX enables swaps through smart contracts, usually from a personal wallet. Custody, fees and risks differ; neither model eliminates the possibility of losing funds.
France and the EU: check the provider
In France, the transitional period for the former PSAN regime ended on 1 July 2026. An old PSAN registration is no longer enough to demonstrate current authorization. Check the exact legal entity and the services covered, rather than relying on a brand name.
Consult the ESMA MiCA register and the relevant national authority. Check the entry date and any withdrawal of authorization: a name can remain in a register after authorization is withdrawn. Authorization does not guarantee returns or cover every product sold by a brand.
Affiliate links. If you use these affiliate or referral links, WhyTheBlockchain may receive a commission or reward, subject to the programme’s terms. Reading our guides is free and requires no purchase.
Check each platform’s fees, availability in your country and offer terms before signing up. These links are not a ranking of platforms.
Sources and further reading
- Ethereum.org — Decentralized exchanges · in English
- ESMA — MiCA register · in English
- AMF — Fin de la période transitoire PSAN · in French
- Uniswap — How the protocol works · in English
Page updated on
Documentation checked on · WhyTheBlockchain · Editorial approach