تخطَّ إلى المحتوى الرئيسي

Decentralized Exchange (DEX)

Beginner

المنصة اللامركزية

Also known as: DEX, Decentralized Exchange

Cryptocurrencies
Last updated

Definition reviewed before publishing

Our content team writes and reviews every definition before it is published, and revisits it when the way a term is used in the markets changes. The date shows the latest change to this term.

Last updated on 9 November 2026

A decentralized exchange (DEX) is a platform for swapping cryptocurrencies and tokens that runs on smart contracts on a blockchain, with no central entity holding users' funds or running an order book. Users trade directly from their self-custody wallets and keep control of their keys. Uniswap on Ethereum is one example.

Quick summary

• An exchange run by smart contracts without an intermediary. • Users trade from their own wallets. • Risks are technical, including slippage and fake tokens.

How it works

Most DEXs use an automated market maker model, in which liquidity providers deposit pairs of tokens into liquidity pools and the smart contract sets prices automatically with a formula based on the ratio of tokens in the pool. When a trade is large relative to the pool, the price moves significantly, known as price impact or slippage. Liquidity providers earn part of the trading fees but face what is known as impermanent loss when prices change. DEXs list many tokens without formal listing and usually do not require identity checks, but they carry risks from flawed smart contracts, fake tokens, sometimes high gas fees and attacks such as sandwich attacks. A mistaken trade usually cannot be reversed.

Example

A user wants to swap 10,000 dollars of ether for a stablecoin in a small liquidity pool. The platform shows a 2% price impact, meaning about 9,800 dollars will be received, plus trading and gas fees. In a larger pool, the impact might be only 0.1%.

Where you will see it

In decentralised finance applications, in wallet extensions that allow direct swaps, on sites tracking DEX trading volume, and in security warnings about fake tokens.

Why it matters

It explains an alternative to centralised exchanges that gives full control over funds, while highlighting its technical risks and costs such as slippage and gas.

How it is calculated

Constant product model: amount of token A × amount of token B = constant. Implied price = amount of B ÷ amount of A. Slippage = (expected price - execution price) ÷ expected price × 100.

How it differs from similar terms

• Centralized exchange: a company that holds users' funds, runs an order book and usually requires identity checks. • Automated market maker: the pricing model many DEXs rely on. • Self-custody wallet: the tool used to access a DEX.

Common mistakes

Buying a token through an unverified contract address believing it is the real token, or setting a very high slippage tolerance. Check the contract address from the official source and set a reasonable slippage limit to reduce manipulation risk.

Related terms