Multiswap
Guide·6 min read

What is a DEX?

A DEX, or decentralized exchange, is a set of smart contracts that swaps tokens directly from your wallet. Nobody holds your funds in an account, there is no sign-up, and every trade settles on the blockchain in the same transaction you sign. You pay the network's gas fee and the pool's fee instead of an exchange's commission.

How a DEX works

On a centralized exchange you deposit funds, the exchange records your balance, and trades happen inside its database. On a DEX your tokens stay in your wallet until the moment of the swap. You sign one transaction, the contract takes the token you sell and sends the token you buy back to the same wallet, and the blockchain records both sides.

Because the contract is public, anyone can check what it does, and anyone with a wallet can use it. That openness is also why you are responsible for checking the token, the network and the amount yourself.

  • Custody: your wallet, the whole time.
  • Access: any wallet, no account or identity check by the DEX itself.
  • Settlement: on-chain, in the transaction you sign.
  • Costs: network gas plus a pool fee, and price impact on larger trades.

AMMs and order books

Most DEXs are automated market makers (AMMs). Instead of matching buyers and sellers, they hold pools of two tokens and price trades with a formula: the more of one token you take out of a pool, the more expensive the next unit becomes. Uniswap made the model popular, and most chains now have their own AMMs.

Some DEXs run on-chain order books instead, which look more like a traditional exchange. Others, like CoW Swap, collect signed orders and let solvers compete to fill them. The result for you is the same idea: a swap from your own wallet, with the price set by on-chain liquidity.

What you pay on a DEX

Three costs decide what you receive. Gas pays the network to process the transaction and is paid in the chain's native coin. The pool fee goes to the people who supplied the liquidity. Price impact is the amount the price moves because of your own trade, and it grows quickly when a pool is small compared with your order.

Slippage tolerance is the limit you set on how far the final price may move between quote and execution. If the market moves more than that, the swap reverts instead of filling at a worse price, though the gas is still spent.

DEX vs DEX aggregator

A single DEX only knows its own pools. A DEX aggregator asks many DEXs at once and can split one swap across several pools when that gives a better result. MultiSwap goes one step further and compares aggregators and engines against each other, then ranks the routes by the net amount that reaches your wallet after fees and estimated gas.

For a small swap of a popular pair the difference between routes is often minor. For larger amounts, thinner tokens or swaps across chains, the gap between the best and worst route can be large.

Risks to check before you swap

Anyone can create a token and a pool, so a token with the right name can still be a copy. Check the contract address against the project's official sources. Approve only the amount you are swapping rather than an unlimited allowance, and use a slippage limit that fits the pair: tight for stablecoins, wider for volatile tokens.

FAQ

Frequently asked questions

What is a DEX in crypto?

A DEX, or decentralized exchange, is a set of smart contracts that lets you swap tokens directly from your own wallet. There is no account and nobody holds your funds; each swap settles on-chain in the transaction you sign.

What is the difference between a DEX and a CEX?

A CEX holds your funds in an account and matches trades in its own system, usually after identity checks. A DEX never takes custody: you swap from your wallet through smart contracts and pay network gas instead of an exchange commission.

Is a DEX safe?

The main risks are user-side: buying a fake token, approving more than you swap, or setting slippage too loose. The contracts of large DEXs are public and widely audited, but no audit removes all risk.

Do I need an account to use a DEX?

No. You connect a wallet and sign transactions. The DEX contract does not ask for an account or identity details.

What is a DEX aggregator?

A DEX aggregator queries many DEXs for the same swap and picks or splits the route that returns the most. MultiSwap compares several aggregators and engines and ranks them by what you actually receive after costs.

Why did my DEX swap fail?

The most common causes are not enough of the native coin for gas, a price move beyond your slippage limit, or a missing token approval. A failed swap keeps your tokens but the gas is spent.

Swap cross-chain from Telegram

Non-custodial, no account, and the net amount shown before you confirm. Cross-chain execution runs through Multiswap on Telegram.

Launch Multiswap
Risk notice

Digital asset swaps carry market, liquidity, network, and protocol risk. On-screen figures, rates, and quotes are illustrative and do not constitute financial advice, a solicitation, or a guarantee of execution price or settlement. Use only funds you can afford to put at risk, and ensure cross-chain swapping is permitted in your jurisdiction.