What You Need
- A Web3 wallet — MetaMask or Rabby (EVM chains), Phantom (Solana)
- Tokens to trade — ETH, USDC, or any token on your target chain
- Gas tokens — ETH for Ethereum/L2s, SOL for Solana, BNB for BSC
- Understanding of slippage — knowing how to set and manage slippage tolerance
Step-by-Step Guide
Step 1: Choose Your DEX
| DEX | Chain | Daily Volume | Best For | Key Feature |
|---|---|---|---|---|
| {'text': 'Uniswap', 'highlight': True} | Ethereum, L2s | $3-5B | EVM trading | Deepest liquidity, v4 hooks |
| {'text': 'Jupiter', 'highlight': True} | Solana | $2-4B | Solana trading | Best aggregator, limit orders |
| PancakeSwap | BSC, Ethereum | $500M-1B | BSC trading | Low fees, farming rewards |
| Curve | Ethereum, L2s | $200-500M | Stablecoin swaps | Lowest slippage on stables |
| Raydium | Solana | $500M-1B | Solana liquidity | Concentrated liquidity, CLMM |
Step 2: Connect Your Wallet
Navigate to your chosen DEX (e.g., app.uniswap.org, jup.ag, pancakeswap.finance). Click "Connect Wallet" and approve the connection. Ensure your wallet is on the correct network — Uniswap supports multiple chains, so select the one where your tokens are.
Step 3: Select Your Trading Pair
Choose the token you want to sell (input) and the token you want to buy (output). Enter the amount. The DEX shows: estimated output, price impact, minimum received (after slippage), and routing path. For new or obscure tokens, verify the contract address on Etherscan/Solscan to avoid scam tokens.
Step 4: Set Slippage Tolerance
Click the settings gear icon to adjust slippage:
- Stablecoins (USDC/USDT): 0.1-0.3%
- Major tokens (ETH, BTC, SOL): 0.5-1%
- Mid-cap tokens: 1-3%
- Low-liquidity/meme tokens: 3-10% (high MEV risk)
Step 5: Review Price Impact
Price impact shows how much your trade moves the market price. Under 0.1% is ideal. 0.1-0.5% is acceptable. Over 1% means you should split into smaller trades or use a limit order. Over 5% is a major red flag — the token may have very low liquidity.
Step 6: Approve Token and Execute Swap
For ERC-20/SPL tokens, approve the DEX contract to spend your tokens. Then confirm the swap. On Ethereum mainnet, gas is $5-15 per swap. On Arbitrum/Base, it is $0.10-0.50. On Solana, it is under $0.01. Wait for confirmation and check your wallet for the received tokens.
Step 7: (Advanced) Use Limit Orders
Instead of swapping at current price, set a limit order at your target price. Uniswap v4, Jupiter, and 1inch all support on-chain limit orders. Your trade executes only when the market reaches your price — no MEV risk and better execution for patient traders.
Step 8: Optimize Gas Costs
Gas strategies for frequent DEX traders:
- Trade on L2s (Arbitrum, Base, Optimism) for 90-99% lower gas
- Use gas tokens like Solana for near-zero-cost trading ($0.001 per swap)
- On Ethereum mainnet, trade during low-gas periods (weekends, early morning UTC)
- Use 1inch Fusion mode for gasless swaps on Ethereum
Fees and Costs
- Uniswap swap fee: 0.3% standard (varies by pool: 0.01%, 0.05%, 0.3%, 1%)
- Jupiter swap fee: 0% aggregator fee (pool fees apply)
- PancakeSwap swap fee: 0.25% standard
- Gas costs: $5-15 on Ethereum, $0.10-0.50 on L2s, $0.001 on Solana
- MEV cost (unprotected): 0.1-2% per trade from sandwich attacks
- Total cost comparison: DEX on L2 ($0.50-1.50) vs. CEX ($1-3 per trade) — DEX is increasingly competitive
Risks
- MEV / sandwich attacks: On unprotected swaps, bots can front-run your trade and extract 0.1-2% per transaction. Use MEV-protected routes
- Scam tokens: Anyone can create a token on DEXs. Fake tokens with the same name/symbol as legitimate projects are common. Always verify contract addresses
- Smart contract risk: DEX bugs could result in lost funds. Stick to audited, established DEXs with long track records
- Failed transactions: Slippage too low, gas too low, or price movement can cause failed transactions — you lose the gas fee without getting your swap
- Impermanent price movement: Between submission and confirmation, prices can move against you, especially during volatile markets
- Wallet security: A compromised wallet means all DEX-approved tokens can be drained. Use hardware wallets and revoke unnecessary token approvals
Pro Tips
- Always use an aggregator: Instead of going directly to Uniswap, use 1inch or Jupiter to find the best price across all DEXs. Savings of 0.1-0.5% add up quickly
- Set limit orders for large trades: Patient traders consistently get better execution with limit orders vs. market swaps
- Trade on L2s unless you need mainnet liquidity: 90% of DEX trades can be done on Arbitrum or Base at a fraction of the cost
- Verify before you buy: Check token contract on Etherscan, review holder distribution, and use tools like TokenSniffer or RugCheck for safety analysis
- Bookmark official DEX URLs: Phishing sites that look identical to Uniswap are a constant threat. Access DEXs from bookmarks, never from search results or links
- Use private RPCs: Services like Flashbots Protect or MEV Blocker route your transactions through private mempools, preventing sandwich attacks at the network level
DEX trading in 2026 is fast, cheap on L2s, and increasingly sophisticated. The combination of aggregators, MEV protection, and limit orders means on-chain trading is viable for everyone — not just DeFi experts. Start with small trades, master slippage settings, and use aggregators for the best execution.
Related guides: How to Use DeFi Aggregators | How to Provide Liquidity on Uniswap | How to Bridge Crypto Tokens
Frequently Asked Questions
What is a DEX and how is it different from a CEX?
A DEX (decentralized exchange) lets you trade crypto directly from your wallet without an intermediary. Unlike CEXs (Binance, Coinbase), DEXs are non-custodial — you always control your keys. Trade execution happens via smart contracts and automated market makers (AMMs). The trade-off is higher gas costs and potential slippage compared to centralized order books.
Which DEX should I use?
It depends on your chain. On Ethereum and L2s, use Uniswap (deepest liquidity) or route through 1inch for best prices. On Solana, Jupiter is the dominant DEX aggregator. On BSC, PancakeSwap has the most liquidity. For large trades, always compare prices across aggregators before executing.
What is slippage and how do I set it?
Slippage is the difference between the expected price and actual execution price. Set slippage tolerance in the swap interface: 0.1-0.3% for stablecoins, 0.5-1% for major tokens (ETH, BTC), 1-5% for volatile or low-liquidity tokens. Too low slippage causes failed transactions; too high exposes you to MEV attacks.
How do I avoid MEV attacks when trading on DEX?
MEV (sandwich) attacks front-run your trade, costing 0.1-2%. Protect yourself by: using 1inch Fusion mode or CowSwap (both route through private mempools), keeping slippage low, splitting large trades into smaller amounts, and trading on L2s where MEV is less prevalent. Never use high slippage on large trades.