CryptosBeginner

On-chain trading · Updated 2026

Decentralised Exchanges (DEXes) Explained

A decentralised exchange lets you trade directly from your wallet using smart contracts, not a centralised account. Understanding how DEXes work is key to using meme coins, yield strategies and on-chain tools safely.

Illustration of a user trading through a decentralised exchange from their wallet

What is a decentralised exchange?

A decentralised exchange is a protocol that lets people swap crypto assets directly from their own wallets. Instead of sending funds to a company and trading inside its internal ledger, you interact with smart contracts that hold pooled liquidity or on-chain order books. You stay in self custody while trades are settled on the underlying blockchain.

The two main designs are automated market maker DEXes, which use formulas to price swaps from token pools, and order book DEXes, which store limit orders and match them on-chain. Both types rely on other users or market makers supplying liquidity for you to trade against.

How a DEX works step by step

Liquidity pools and AMMs

On an AMM DEX, pairs like ETH/USDC live in liquidity pools. Liquidity providers deposit both tokens and earn fees when traders swap. A pricing formula adjusts the pool price as trades change each token’s balance.

You connect your wallet, choose a pair, enter the amount and sign a transaction. The contract pulls your input token, returns the output token and updates the pool.

Order books and on-chain matching

Some DEXes use on-chain order books. You place a limit order specifying price and size, and the protocol matches you with other orders. This feels closer to a centralised exchange experience but relies on on-chain matching engines instead of internal databases.

Diagram showing the flow of a swap on a decentralised exchange from wallet to smart contract and liquidity pool

Why traders use DEXes

Risks and what can go wrong

DEXes, meme coin launchpads and trading terminals

Modern meme ecosystems tie launchpads, DEXes and trading terminals together. Pump.fun is a Solana memecoin launchpad where tokens start on a bonding curve and graduate to DEX trading once they hit a threshold, which moves liquidity to pools on platforms like Raydium.

Padre, now branded Terminal after its acquisition by Pump.fun, offers a multi-chain trading terminal that routes orders across Solana, Ethereum, Base and BNB Chain, giving meme traders a faster interface over DEX liquidity.

Tools such as GMGN.ai scan launchpads including Pump.fun and other platforms, track smart wallets and provide one-click trading across DEXes and new listings.

Use this page together with our meme coins, wallets and incidents guides before connecting a wallet to any new protocol.

Educational content only. Not financial advice. Test small trades first and treat new DEXes and meme coin pools as high risk until you understand them fully.