Back to Glossary

DEX (Decentralized Exchange)

Crypto

Definition

A cryptocurrency exchange that operates without a central authority, using smart contracts for trading.

In Detail

A DEX (decentralised exchange) is a cryptocurrency trading platform that operates entirely through smart contracts on a blockchain, with no central company holding your funds or controlling trades. Unlike centralised exchanges where you deposit your crypto into the exchange's custody, a DEX lets you trade directly from your own wallet — you never give up control of your tokens. Most DEXs use an Automated Market Maker (AMM) model where trades are executed against liquidity pools rather than a traditional order book. Liquidity providers deposit token pairs into pools and earn fees from every trade that passes through. Some DEXs (like dYdX) use on-chain or hybrid order books that function more like traditional exchanges. The main advantages of DEXs are self-custody (your keys, your crypto), no KYC requirements, access to tokens that are not listed on centralised exchanges, and resistance to censorship or shutdown. The trade-offs include higher transaction costs (gas fees on Ethereum can be substantial), potential slippage on large orders due to limited liquidity, smart contract risk (bugs in the code could compromise your funds), and no customer support if something goes wrong.

How to Use in Trading

To use a DEX, set up a self-custody wallet like MetaMask, fund it with the native blockchain token (ETH for Ethereum-based DEXs, SOL for Solana, etc.) to pay gas fees, and navigate to the DEX's official website. Always verify you are on the correct URL — phishing sites that mimic popular DEXs are common and can drain your wallet. Before trading, check the liquidity depth for the token pair you want to trade — swapping $100 is usually fine, but swapping $50,000 in a low-liquidity pool can result in severe slippage. Set a maximum slippage tolerance (typically 0.5-1% for major tokens, higher for newer tokens). Be extra cautious with newly listed tokens: verify the contract address against official project sources to avoid buying scam or fake tokens that mimic legitimate projects. For lower fees, consider using DEXs on Layer 2 networks (Arbitrum, Optimism, Base) or alternative chains (Solana, Avalanche) rather than Ethereum mainnet.

Example

You want to buy a new DeFi token that is only available on Uniswap, not on any centralised exchange. You open MetaMask, ensure you have 0.5 ETH for the trade plus some ETH for gas fees, and navigate to app.uniswap.org. You paste the token's verified contract address (confirmed from the project's official website and Etherscan), select the amount of ETH to swap, and review the trade: the interface shows the expected output, price impact (0.3%), and estimated gas fee ($8). You set slippage tolerance to 1% and confirm the transaction. Within 30 seconds, the trade executes directly from your wallet to the liquidity pool and back — the new tokens appear in your wallet immediately. At no point did you deposit funds anywhere or create an account.

Crypto Trading Basics

Go beyond the definition with our in-depth guide

Related Terms

More Crypto Terms

Put This Knowledge to Use

Practice crypto trading with $10,000 virtual capital. No risk, real market conditions.

Start Paper Trading Free