Exchanges

Glossary / Crypto

Decentralised exchange (DEX)

A crypto exchange run by smart contracts on a blockchain, where users trade straight from their own wallets and no company holds their funds.

On a decentralised exchange, or DEX, a trade is a transaction on a blockchain. The user connects a wallet, approves the trade and pays the network’s fee; the smart contract swaps one token for another and the result is recorded on chain. The exchange never takes custody of the user’s funds.

Many DEXs do not use an order book. They use an automated market maker: pools of two tokens supplied by other users, with a formula that sets the price from the ratio of the two in the pool. A large trade against a small pool moves the price a long way, which is called price impact or slippage. Those who supply the pools earn a share of the trading fees.

The risks are different from those of a centralised exchange: errors in the smart contract, tokens that are copies or scams, and other traders who see a pending transaction and trade ahead of it. A DEX can usually be used without identity checks at the level of the contract itself, although the websites in front of it may apply rules of their own.

Also called: DEX, decentralized exchange, decentralised exchange, automated market maker, AMM, liquidity pool

See it on this site

Related terms