Technical Definition

Decentralised Exchange

A decentralised exchange (DEX) is a peer-to-peer trading platform built on smart contracts that allows users to swap cryptocurrencies directly from their own wallets without a central intermediary holding funds or requiring accounts.

By Crypto University Editorial
Token swapAMMliquidity pool

Key Insight

DEXs eliminate custodial risk, enable 24/7 permissionless trading of any token, and form the backbone of DeFi. They give traders full control and access to long-tail assets unavailable on centralized venues.

Common Misconceptions

Using fake front-ends; setting excessive slippage; providing liquidity without understanding impermanent loss; neglecting to revoke approvals after use.

Detailed Explanation

How It Works:

A DEX commonly uses one or more of these systems:

  • Automated market maker liquidity pools

  • On-chain order books

  • Request-for-quote market makers

  • Intent-based trading systems

  • DEX aggregation and routing

The user connects a wallet, chooses the assets, reviews the quote, and signs the transaction. The smart contract processes the exchange according to its programmed rules.

Unlike many centralised exchanges, the DEX generally does not hold the user’s funds between trades.

FAQs:
Need KYC?

Generally no.
Fiat pairs?

Rare, crypto-to-crypto only.
Safer than CEX?

For custody yes; users must still protect against smart-contract and phishing risks.

In Practice

A trader connects a Solana wallet to a DEX and exchanges USDC for an SPL token. The trade executes against a liquidity pool, and the purchased tokens are sent directly to the connected wallet.

Dig Deeper