Web3 Dictionary Logo
Web3 Dictionary
Contribute

Categories

AllBlockchainDappsDAOsDeFiNFTsRegulationSecuritySmart ContractsTokenomicsWalletsWeb3 GamingOthers
  1. Web3 Dictionary
  2. DeFi
  3. Decentralized Exchange
DeFi

Decentralized Exchange

A decentralized exchange (DEX) is a peer-to-peer platform for trading cryptocurrencies using smart contracts without intermediaries.

Last Updated

2026-03-19

Related Concepts

Automated Market Maker (AMM)Liquidity ProviderSwapSlippage
Web3-Explorer Logo

Launch Web3 Apps

AD

Build secure dApps, tokens, DeFi & DAOs with a team focused on mainnet-ready delivery.

Explore Web3 Solutions

What is DEX?

A decentralized exchange (DEX) is a peer-to-peer marketplace where users trade cryptocurrencies directly through smart contracts. Unlike centralized exchanges (CEXs), DEXs are non-custodial, meaning users maintain control of their private keys and funds.

How does DEX work?

  1. Users connect their cryptocurrency wallets to the DEX.

  2. Most DEXs use Automated Market Makers (AMMs) instead of order books.

  3. Liquidity providers deposit token pairs into liquidity pools.

  4. Traders swap one token for another against these pools.

  5. Smart contracts automatically calculate prices based on a mathematical formula, typically:

    x * y = k

Why does DEX matter?

DEXs enable trustless, permissionless trading without a central authority. They eliminate counterparty risk by keeping funds in user-controlled wallets and allow anyone to list or trade any token without approval.

Key features of DEX

  • Non-custodial (users hold their keys)
  • Permissionless and censorship-resistant
  • Transparency via on-chain transactions
  • No KYC (Know Your Customer) requirements
  • Utilizes liquidity pools and AMMs

Examples of DEX

Uniswap is the most prominent DEX on Ethereum, while PancakeSwap serves BNB Chain. Other examples include Curve Finance for stablecoins and Balancer for multi-token pools.

External References

  • Uniswap Protocol Documentation
  • What is a DEX - Ethereum.org