What Is the Primary Difference between a Centralized Exchange (CEX) and a Decentralized Exchange (DEX)?
A CEX is operated by a single company that holds customer funds in custody and uses a traditional order book for trading. Users must trust the exchange.
A DEX is a peer-to-peer platform built on a blockchain where users retain custody of their funds (non-custodial). Trades are executed via smart contracts, either through an order book or an Automated Market Maker (AMM).