Skip to content
Menu
Finabase Learn

Glossary

Decentralized exchange (DEX)

A crypto trading venue run by smart contracts, where users trade from their own wallets without handing funds to a company.

On this page
  1. How trades happen without an order book
  2. Compared with a centralized exchange
  3. Risks
  4. Related terms

A decentralized exchange (DEX) lets people swap crypto tokens directly on a blockchain. There is no company holding customer funds and no account to open. A user connects a wallet, approves a trade and the smart contract carries it out.

How trades happen without an order book

Most DEXs use an automated market maker. Instead of matching buyers with sellers, the contract holds a pool of two tokens supplied by liquidity providers. The price is set by a formula from the ratio of the two tokens in the pool. Buying one token removes it from the pool and adds the other, which moves the price.

Compared with a centralized exchange

Decentralized Centralized
Custody You keep your keys The exchange holds your assets
Identity checks Usually none Required
Listing Anyone can add a token The exchange decides
Costs Pool fee plus network fee Trading fee and spread
Help if something goes wrong None Customer support, with limits

Risks

  • Fake and worthless tokens. Open listing means no vetting. Scam tokens copy the names of real ones.
  • Contract bugs and malicious approvals that give a contract permission to move your funds.
  • Front-running. Pending trades are visible, and bots can trade around them.
  • Irreversible mistakes. There is no one to reverse a wrong transaction.
  • For liquidity providers, impermanent loss.