Decentralised Exchange
- Category
- Decentralised Finance
- Level
- Foundation
Simple definition
A place to trade where the deal settles on a blockchain and you keep your own keys. There is no account to open and nobody holds your coins while you trade.
Professional definition
An exchange whose pricing or matching logic lives in public smart contracts. Users trade from their own wallets, settlement is the on-chain transaction itself, and no operator can freeze a balance — but none can reverse a mistaken trade or make good a contract failure either.
Technical definition
Two broad designs exist. Pool-based venues quote from reserves by a fixed rule, so depth is a property of the contract; order-book venues match off-chain and settle on-chain, which reintroduces an operator for sequencing. In both, pending orders are visible in the public mempool before they execute, and that visibility is what creates extractable-value exposure. The word decentralised describes custody and settlement, rarely governance, front ends or price feeds.
Academic definition
A trading venue in which price formation or order matching is encoded in smart contracts and settlement occurs by on-chain transfer, substituting contract, sequencing and governance risk for custody and counterparty risk.
Mechanism
Custody and settlement collapse into one step: the trade is the transfer, so there is nothing left to default on. The cost is that everything is public and ordered by whoever builds the block, and the parts a user actually depends on — the front end, the router, the price feed, the admin keys — are not decentralised merely because settlement is.
In practice
- Who uses it
- Retail users swapping tokens no listed venue carries, treasury and market-making desks, and arbitrageurs keeping pool quotes aligned with centralised prices.
- Why it matters
- It removes the need to trust a custodian with balances and opens access to assets and pools that no regulated venue lists.
- Limitations
- There is no recourse: a wrong signature, a fake token contract or a contract bug is final. Regulatory treatment differs by country and remains unsettled.
Common mistakes
- Trading a token found by address alone, without checking it is the real contract.
- Leaving an unlimited spending approval in place after one swap.
- Treating a single pool's quote as a market price.
Examples
A newly launched token trades in one pool only. A modest order moves its quote several percent, because that pool is the entire market; a later listing on a deep venue narrows the spread sharply.
With a pool fee of 0.3 percent and a fixed network fee of 4 quote units, a swap of 500 costs 1.10 percent in all, while the same swap at 50,000 costs 0.31 percent. Small trades carry the fixed cost.
- pool fee f = 0.3%
- network fee = 4 units of the quote asset, independent of trade size
- trade sizes 500 and 50,000 quote units
- 500: 500 x 0.003 = 1.50 fee; 1.50 + 4 = 5.50; 5.50 / 500 = 1.10%
- 50,000: 50,000 x 0.003 = 150 fee; 150 + 4 = 154; 154 / 50,000 = 0.31%
Price impact is excluded here and moves the other way: it rises with size. See constant-product-formula.
Related terminology
- parent
- Decentralised Finance
- related
- Automated Market Maker Liquidity Pool Swap Centralised Exchange versus Decentralised Exchange Slippage Tolerance Maximal Extractable Value Smart Contract Constant Product Formula
Automated Market Maker
An AMM is the pricing mechanism most decentralised exchanges use. The exchange is the venue; an order-book DEX has no AMM at all.
Centralised Exchange versus Decentralised Exchange
That entry compares the two venue types side by side. This one defines only the decentralised side.
Sources
BIS Quarterly Review · 2021-12 · sections on DeFi market structure and the decentralisation illusion
https://www.bis.org/publ/qtrpdf/r_qt2112b.pdf URL verified
IOSCO · description of DeFi trading arrangements and participants
https://www.iosco.org/library/pubdocs/pdf/ioscopd754.pdf URL verified
BIS · chapter on trading venues and market fragmentation
https://www.bis.org/publ/othp72.pdf URL verified
Editorial status
Flagged by the editor as uncertain on a linguistic, mathematical or regulatory point.
