A DEX, or decentralized exchange, is a crypto trading venue where swaps are executed by smart contracts on a blockchain and coins stay in the user's own wallet until the moment of the trade. No intermediary holds customer funds.
How a DEX works
On a regular exchange you deposit coins into its account and it keeps a record of your balance. A DEX has no such account: you connect a non-custodial wallet and sign a transaction, and the smart contract takes one token and returns another in the same transaction. Most decentralized exchanges are automated market makers: instead of an order book they use liquidity pools, and a formula sets the price based on the pool's token reserves. Order-book DEXs exist too, but on a blockchain they are slower and more expensive. Each DEX lives on its own network: Ethereum tokens are swapped on Ethereum, TON tokens on TON. Moving coins between networks requires a cross-chain bridge.
Pros and cons
On the plus side, there is no sign-up or identity check, your coins never sit in someone else's account, and a new token becomes tradable the moment someone creates a pool for it. The drawbacks come from the same features. Every trade pays a network fee (gas), which at busy times can exceed the value of a small swap. A large order in a small pool moves the price a lot; this is called slippage. No support desk can fix a mistake, because a sent transaction cannot be reversed. And since anyone can launch a token, DEXs are full of copycats of well-known coins and outright scams.
How to avoid mistakes
Before swapping, check the token's contract address against the project's official website rather than trusting a name found in search: a name and ticker are easy to copy, an address is not. Keep the allowed slippage low, especially for illiquid tokens, or your trade may be filled at a much worse price. Spending approvals you once granted to smart contracts are worth revoking over time. It also helps to keep a separate wallet with a small balance for swaps and your main savings in another one.
DEXs and Russian investors
A smart contract does not care which country you are from. But there are no rubles on a DEX: trading happens against stablecoins and other coins, so getting rubles into crypto and back still goes through an exchange, a P2P deal or an exchange office. A DEX swap is still a crypto transaction: if it produces a gain measured in rubles, a Russian tax resident has to declare it and pay personal income tax. There is no deposit insurance and no regulator protection. This is not investment advice.
Hypothetical example: a pool holds 100 coins of token A and 200,000 USDT, so the price is 2,000 USDT per coin. A user sells 10 coins into the pool. Under the pool's formula they receive about 18,180 USDT before fees rather than 20,000, because the trade itself moved the price. The pool also charges 0.3%, and gas is paid separately. The same sale into a pool ten times larger would cost the seller only about one percent.
Related terms
DeFiCentralized ExchangeAutomated Market MakerLiquidity PoolNon-Custodial WalletEthereum Gas
On the site
Coin categoriesNew coinsMarket makers
This article was written by AI. Check specific rates, taxes and broker terms with primary sources.