DEX (Decentralized Exchange)
A cryptocurrency exchange that operates without a central authority, using smart contracts to enable peer-to-peer trading directly from users' wallets. DEXs never take custody of user funds. Most DEXs use automated market maker (AMM) models with liquidity pools, though some use on-chain order books.
“Uniswap and SushiSwap are AMM-based DEXs, while dYdX uses an order book model. All allow trading directly from your wallet without creating an account or submitting identity documents.”
AMM (Automated Market Maker)
A type of decentralized exchange protocol that uses mathematical formulas to price assets instead of traditional order books. AMMs enable permissionless trading through liquidity pools, where prices are set algorithmically based on the ratio of tokens in the pool. The most common model is the constant product formula (x × y = k).
Liquidity Pool
A collection of funds locked in a smart contract that enables decentralized trading on AMM-based exchanges. Liquidity providers (LPs) deposit paired tokens in equal value ratios and earn a share of the trading fees generated by swaps in that pool. Pools replace traditional order books in DEX architecture.
CEX (Centralized Exchange)
A cryptocurrency exchange operated by a centralized company that acts as an intermediary between buyers and sellers. CEXs hold custody of user funds, maintain off-chain order books, and typically require identity verification (KYC). They offer high liquidity and ease of use but introduce counterparty risk.
Smart Contract
Self-executing programs stored on a blockchain that automatically enforce the terms of an agreement when predetermined conditions are met. Smart contracts enable trustless transactions without intermediaries because the code, once deployed, executes exactly as written and cannot be altered (unless specifically designed to be upgradeable). They form the foundation of DeFi, NFTs, DAOs, and virtually all dApps.