Glossary · DeFi
DEX (decentralised exchange)
A DEX, or decentralised exchange, lets people swap tokens directly from their own wallets through smart contracts, with no company in between.
In simple terms
A DEX is an exchange run by code. You keep your tokens in your own wallet until the moment of the swap, and no company holds your funds or approves your account.
How it works
Most DEXs use an automated market maker, or AMM. Instead of matching buyers with sellers, the DEX holds reserves of tokens in liquidity pools, and a formula sets the price. You connect a wallet, grant a token approval, and sign the swap. You pay a trading fee to the pool and a gas fee to the network.
Example
Kai swaps a stablecoin for ether on a DEX. He sets a maximum slippage so the trade cancels if the price moves too far before it confirms.
Why it matters for safety
Anyone can list any token on a DEX. There is no screening, so worthless and malicious tokens trade beside established ones, and fake tokens copy real names. Always confirm the token's contract address from an official source. A token you can buy is not always a token you can sell, as with a honeypot. There is also no support desk to reverse a mistake. Check a token's signals with Coin Check before swapping.
Related terms
Sources
This page is educational. It is not financial, investment, legal, or tax advice. See our editorial policy and how to report an error.