Другой сайт или сервис попросил вас купить подарочную карту и отправить им код? Коды, переданные третьим лицам, возврату не подлежат. Читать условия.
← Gift Card Hub
CryptoEducational

CEX vs DEX: What the Difference Means

AurikaAug 19, 20266 min read

cex vs dex

Summary: A centralised exchange holds your coins and runs the trade on its own books. A decentralised exchange never holds them, and the trade executes on-chain from your own wallet. Custody is the real dividing line, and everything else follows from it: fees, identity checks, fiat access, and what happens when something goes wrong.

  • On a centralised exchange the company holds the keys. On a decentralised one you do.
  • Fiat in and out is a centralised exchange's main advantage, and one a decentralised exchange cannot match.
  • A decentralised exchange has a visible trading fee plus network fees and slippage, which is where the real cost often hides.
  • Neither is safer in general. They fail in completely different ways, and the risk you prefer is a personal choice.

CEX and DEX get discussed as rival products, which obscures how little they have in common. One is a business you have an account with. The other is software running on a blockchain that you interact with directly. Almost every practical difference between them comes from that, so it is the place to start.

What a Centralised Exchange Does

You deposit funds, the exchange credits your account, and from then on you are trading entries in its internal database. Matching happens on its own order book at its own speed, off-chain, which is why trades are instant and cheap and why a market order behaves the way it does on a conventional brokerage.

The coins are not yours while they sit there in the strict sense that matters: the company holds the keys and you hold a claim. That arrangement buys you password resets, support staff, and someone to argue with, and it costs you control.

What a Decentralised Exchange Does

You connect a wallet and approve a transaction, and a smart contract swaps one token for another. There is usually no order book. Instead, liquidity pools hold reserves of two assets and a formula sets the price according to the ratio between them, adjusting as trades move that ratio.

Nothing is deposited with anyone. The tokens move from your wallet to the pool and back in a single on-chain transaction. There is also no account, no login, and nobody to contact, which is either the appeal or the problem depending on what you need.

Custody: The Real Dividing Line

Every other difference is downstream of who holds the keys. Custody means a company can be hacked, can freeze an account, or can fail, and it also means a forgotten password is recoverable. Self-custody inverts all of that, which is the same trade you make when choosing between a hot and a cold wallet.

On a decentralised exchange nobody can freeze your funds and nobody can restore them either. A mistaken approval or a malicious contract can drain a wallet with no appeal, and no support queue exists to join.

What You Actually Pay

Centralised exchanges charge a percentage per trade, often with a maker and taker split, plus withdrawal fees. It is legible and usually small. The cost people miss is the spread on conversions and the withdrawal fee on the way out.

On a decentralised exchange three costs stack: the pool's trading fee, the network fee for the transaction, and slippage, which is the gap between the quoted price and what you receive because your own trade moved the pool. Slippage is the one that surprises people, and it is worst on small pools and large orders.

There is a further wrinkle. A failed transaction on-chain still costs the network fee, so a swap that reverts because the price moved has cost you money and delivered nothing.

Identity Checks, Access and Fiat

A centralised exchange is a regulated business, so identity verification comes with the account. That is the price of the thing only it can offer: turning a bank transfer or a card payment into crypto, and back again.

A decentralised exchange asks for nothing because there is no one to ask, and correspondingly cannot touch your bank account. It swaps tokens for tokens. Anyone who tells you a decentralised exchange replaces a centralised one has skipped the step where money enters the system in the first place.

How Each One Fails

  • Centralised: a breach, insolvency, a frozen account, or withdrawals halted at the worst possible moment.
  • Decentralised: a bug in a contract, a fake token with a convincing name, or an approval that hands over more than you intended.
  • Both: your own mistake, which is the most common failure on either venue by a wide margin.

Note what the histories tell you. Centralised failures tend to be large, rare and newsworthy. Decentralised failures tend to be small, frequent and individual. Neither pattern makes one category safe.

Which One for Which Job

Buying crypto with money from a bank account, or converting back to currency you can spend, is a centralised exchange job. So is trading in size, where deep order books beat thin pools.

Swapping tokens that no exchange has listed, or keeping custody throughout, is a decentralised exchange job. Most people who use both end up doing exactly that: fiat through the regulated venue, everything else from their own wallet, and holdings sitting in neither for longer than necessary.

Matching the Venue to the Job

Ask who holds the keys, what it costs all-in including network fees and slippage, and who you talk to when it goes wrong. Those three answers separate the two models more usefully than any feature comparison, and they also make clear that leaving a balance sitting on either one is a decision rather than a default.

And if the goal is spending rather than trading, neither venue is strictly required, since a crypto voucher or prepaid code turns a balance into something usable without an order book in the middle.

Related articles