What Is a DEX? Decentralized Exchanges Explained

A DEX lets you trade crypto directly from your wallet — no account, no deposits, no company holding your funds. Here's how they work and when to use one.

6 min readNexChange Academy

How a DEX is different

On a centralized exchange (CEX) like Binance or Coinbase, you deposit your crypto into the exchange's wallet. They hold your funds and match your trades using an internal order book. You trust them with custody.

On a decentralized exchange (DEX) like Uniswap, SushiSwap, or Jupiter, you keep your crypto in your own wallet the entire time. When you trade, a smart contract executes the swap directly between your wallet and a liquidity pool. No account registration. No deposits. No company in the middle.

How DEXs work: the AMM model

Most DEXs use an Automated Market Maker (AMM) instead of a traditional order book. Here's the core idea:

Instead of matching individual buyers with sellers, the DEX uses liquidity pools — smart contracts that hold pairs of tokens (e.g., ETH and USDC). The price is determined by a mathematical formula based on the ratio of tokens in the pool.

When you swap ETH for USDC, you're trading against the pool — not against another person. You add ETH to the pool and remove USDC. The ratio changes, and the price adjusts accordingly.

The formula most DEXs use (pioneered by Uniswap) is simply: x × y = k, where x and y are the token quantities and k is a constant. As one token's quantity increases, the other's decreases to keep k constant, which shifts the price.

The advantages of DEXs

  • Self-custody. Your funds never leave your wallet until the moment of the swap.
  • No KYC. No identity verification. Connect your wallet and trade.
  • Permissionless listing. Anyone can create a liquidity pool for any token. You can trade tokens that aren't listed on any centralized exchange.
  • Transparency. Every pool balance, every trade, every fee is visible on-chain.
  • Censorship resistance. Nobody can freeze your account or block your trades. The smart contract executes for everyone equally.

The drawbacks

  • Slippage. On low-liquidity pools, large trades move the price significantly. You might get a worse rate than expected.
  • Gas fees. Every DEX trade is an on-chain transaction. On Ethereum mainnet, this can cost $5-50+ depending on congestion.
  • No fiat. DEXs only handle crypto-to-crypto. You can't deposit dollars.
  • Scam tokens. Because anyone can list a token, fake tokens and rug pulls are common. You need to verify contract addresses yourself.
  • Complexity. Gas management, token approvals, slippage settings — there's a steeper learning curve than CEXs.

Popular DEXs by chain

  • Ethereum: Uniswap, Curve, SushiSwap
  • Solana: Jupiter, Raydium, Orca
  • BNB Chain: PancakeSwap
  • Arbitrum: Camelot, GMX
  • Base: Aerodrome

The recommended learning path

DEXs are where crypto trading gets fully decentralized — but they assume you already know how trades work, what slippage is, and how fees affect your positions. The smartest approach is to master those concepts on a demo platform like Korvex first, then graduate to DEXs when you're confident in the mechanics.

Learn trading basics on a centralized demo first

Open the ETH/USDT demo market on NexChange — zero risk, real market data.