A DEX — short for decentralised exchange — lets you swap one crypto for another directly from your own wallet, with no company holding your money. It is one of the genuinely useful inventions in crypto, and also one of the easier places for a beginner to get hurt. Both halves are worth understanding.
How it differs from a normal exchange
On a regular exchange you deposit money, the company holds it, and you trade inside their system. On a DEX there is no company in the middle. You connect a wallet, and smart contracts — self-running programs — execute the trade. Your coins move straight from your wallet to the other side.
The upside: nobody can freeze your account, and you never hand custody to a third party. The downside: there is also no help desk, no password reset, and no one to reverse a mistake. On a DEX, you are your own bank, including the parts of banking you never think about.
How a swap actually works
Most DEXes use liquidity pools rather than matching individual buyers and sellers. People deposit pairs of tokens into a pool, and you trade against that pool at a price set by a formula. When you swap, you will see two numbers worth watching: the fee, and the slippage — how much the price can move against you before the trade goes through.
Using one safely
The sharp edges are avoidable if you slow down:
- Get the official web address from a trusted source. Fake DEX clones are everywhere; one wrong site can drain your wallet.
- Check the token's contract address, not just its name — anyone can create a token called "ETH."
- Set sensible slippage. A pool asking for very high slippage is a warning that the token is thin or manipulated.
- Start tiny. Do your first swap with an amount you would not mind losing entirely.
- Review what you approve. A wallet pop-up granting "unlimited" spending access is the mechanism behind many drains. Approve only what the trade needs.
What "impermanent loss" means if you provide liquidity
Some people go beyond swapping and provide liquidity — depositing two tokens into a pool to earn a share of the fees. It sounds like easy yield, and it has a catch worth knowing before you try it.
If the two tokens' prices move apart, you can end up with less value than if you had simply held them. This gap is called impermanent loss, and it stops being "impermanent" the moment you withdraw at a bad time. The fees you earn may or may not make up for it. For beginners, the honest guidance is to understand swapping first and treat liquidity provision as an advanced step, not a starting one.
When a DEX is the right tool
You do not always need one. For simply buying a major coin, a regulated exchange is easier and safer. A DEX earns its place when you want a token not listed on big exchanges, or you specifically want to trade without handing custody to a company. Match the tool to the task: convenience and safety from a centralised exchange, control and reach from a DEX.
Takeaway
A DEX lets you trade crypto straight from your wallet with no middleman — more control, and more responsibility. Use the real site, verify token addresses, watch slippage and approvals, and start with amounts you can afford to lose. The technology is powerful; the discipline is what keeps you safe.
DeFi is experimental and unforgiving. There is no recovery if you send to the wrong place or approve a malicious contract.