Decentralized Exchanges (DEXs) are the backbone of decentralized finance (DeFi). DEXs facilitate the fundamental action of swapping between cryptoassets upon which much of DeFi functionality is built. It is important to note that DEXs do not swap between cryptoassets and fiat.
This article covers what you need to use a DEX, how to swap between cryptoassets, and how to read a DEX’s analytics.
Use the multichain Bitcoin.com Wallet app, trusted by millions to safely and easily buy, sell, trade, and manage bitcoin and the most popular cryptocurrencies. Swap between supported assets right inside the app, with your keys staying on your device.
The basics of using a DEX
DEXs enable people to permissionlessly swap between cryptoassets. For example, ETH-USDC is a popular trading pair on many Ethereum DEXs. Unlike on centralized exchanges, anyone has the ability to make a trading pair or add liquidity to an existing pair. On automated market maker (AMM) DEXs, the most common kind, every swap is made possible by people adding liquidity to trading pair “pools,” like the ETH-USDC pair.
DEXs provide a place to easily see important analytics about the DEX, such as total liquidity and volume, as well as a breakdown on liquidity and volume of the DEX’s trading pairs.
If you were unfamiliar with any terms used in this section, please refer to the below section called, “Key terms." For a more thorough look at DEXs, read our guide to what a decentralized exchange (DEX) is.
What you need in order to use a DEX
You will need three things to swap cryptoassets on a decentralized exchange:
- Digital wallet
- Cryptocurrency
- DEX site
Digital wallet: These wallets, also called crypto wallets or web3 wallets, hold cryptocurrencies and other digital assets. The best wallets are self-custodial like the Bitcoin.com Wallet app. Self-custody means you have full control over the contents of the wallet, whereas in custodial wallets a third party has ultimate control.
Cryptocurrency: The wallet will need to contain cryptocurrency to pay for transaction fees as well as to swap. Transactions fees are used to pay for actions that make changes to a blockchain. They will be paid in the blockchain’s native currency. For example, ETH is used to pay for transaction fees on the Ethereum blockchain. To swap from one cryptoasset to another, you will of course need a cryptoasset to swap from. Learn how to buy your first cryptoasset.
DEX site: It’s important to use a reputable decentralized exchange that also has a healthy amount of liquidity. The next section covers what to look for.
Choosing a DEX
There are many DEXs, and they differ in which blockchains they run on, which assets they list, how much liquidity they hold and how easy they are to use. Before you connect your wallet to one, check that:
- It supports your network. A DEX on Ethereum swaps Ethereum-based tokens. To swap assets on another blockchain you need a DEX on that chain, or one that offers cross-chain swaps.
- It has deep liquidity in your pair. Deeper pools mean less slippage on your trade.
- It has a track record. Look for independent security audits of its smart contracts and a history without major exploits.
- You are on the real site. Scam sites copy popular DEXs to drain the wallets that connect to them, so check the address carefully and bookmark it.
Key terms
Liquidity - Liquidity is arguably the most important measurement of the health of any market, crypto or traditional. In an exchange, liquidity is a measure of how easily two assets can be exchanged without dramatic shifts in price of either assets. For example, imagine you swap 1 ETH for 1500 USDC and the next person swaps 1 ETH for 2000 USDC. The price on that exchange has changed dramatically after just one relatively small transaction. That exchange’s ETH-USDC pair would be considered to have poor liquidity.
Learn more in our primer on what liquidity is and why it matters.
Pool (liquidity pool) - A pool refers to a pool of funds for a trading pair (eg. ETH-USDC) on a DEX. People who provide liquidity in a pool earn a share of the fees traded.
Liquidity is so important that DEXs often provide additional incentives for participating in liquidity pools. Without liquidity, a DEX cannot fulfill its main purpose, which is to facilitate swapping between cryptoassets.
Slippage - Slippage refers to the difference in price when an order is made. When a buyer or seller’s final sale price moves up or down more than the requested price, the price is said to “slip." On many DEXs, you can specify your slippage tolerance, or how much you are willing to allow the final price to change and still execute. It is not advisable to increase your slippage tolerance because the price you are quoted can change up to the slippage amount. For example, if 1 ETH is quoted at 1500 USDC but your slippage tolerance is 10%, you might end up paying 1650 USDC instead (an addition of 10%, or 150 USDC).
Most DEXs let you check and adjust your slippage tolerance in the swap settings before you confirm a trade.
Exchange path - There isn’t always a direct way, or a very liquid way to directly trade between two cryptoassets. Exchange paths, or routes as they’re sometimes called, find the most liquid, and therefore the least expensive way to swap between the assets you want. For example, let’s say you want to trade between ETH and SHIB. If there is no ETH-SHIB pair, or if the ETH-SHIB pair is not very liquid, the DEX will look for alternatives. The DEX might find that the ETH-USDC and USDC-SHIB pairs exist and have good liquidity. The DEX will automatically use this alternate path to facilitate the trade. In the above example, the exchange path would be ETH->USDC->SHIB.
Exchange fee - A small percentage of every swap is paid to liquidity providers, and on some DEXs to the protocol, for facilitating the trade. Fees vary by DEX and by pool, and 0.3% of the trade value is a common rate. The DEX shows the fee in the swap details before you confirm.
How to swap
Swap is the main function of a DEX. The swap interface typically has a field to input the amount followed by a drop down menu to choose the cryptoasset. Under that is another input field and drop down menu. You swap from the top to the bottom.
To swap on a DEX, you will first connect your crypto wallet to the DEX. Then choose the cryptoassets you want to swap from and to, and the amount. Execute the transaction by pressing the “swap" button.
Some DEXs make this process easier than others, but the checks are the same everywhere. Before you confirm, review the quote, the minimum amount you will receive, your slippage tolerance and the network fee. The first time you swap a token on an Ethereum-based DEX, you may also need to approve the DEX to use that token, which is a separate transaction with its own fee.
How to look at DEX analytics
The analytics section of a DEX shows important statistics such as trading pair liquidity, volume, and fees. Usually you can get extra information for a trading pair by clicking on it.
Analytics pages usually include:
- An overview of the exchange’s total liquidity and trading volume, plus its top trading pairs and tokens.
- Pair pages showing each pair’s liquidity, volume and fees. Clicking a pair, such as ETH-USDC, usually reveals more, like the number of transactions and the fees it generated in the last 24 hours.
- Token pages with the price, liquidity and volume of each token traded on the DEX.
Independent sites such as DefiLlama also compare liquidity and volume across many DEXs, which helps when you are choosing where to trade.






