The algorithms that DEXs use are examples of smart contracts. They are pieces of code written on top of blockchain networks like Ethereum that trigger various outputs when given certain inputs.
The idea behind a DEX is "disintermediation," which means removing middlemen to allow regular people to do business directly with each another. A DEX doesn't offer custody of users’ crypto assets. Instead, users directly hold all their assets in their own wallets at all times.
The largest crypto DEXs had begun to challenge some of the largest centralized exchanges (CEXs) in terms of trading volume by late 2021, according to a report by global accountancy KPMG. Just as exchanges are the largest crypto firms, DEXs are the largest decentralized organizations.
Typically, DEXs do away with conventional exchange order books – where buyers and sellers are matched based on order prices and volume – in favor of "liquidity pools." These are pots of crypto assets sitting under the surface of the exchange, waiting to clear any buy or sell orders that appear. The assets in the pool are sourced from investors, who deposit them in order to earn a yield from transaction fees charged to users of the pool.
As of February 2022, Uniswap’s version 3 protocol was handling almost $2 billion in trading volume on some days, according to CoinGecko data. It typically manages around three times the volume of its closest DEX competitors, such as PancakeSwap, which usually see $300 million to $600 million in daily volume.
The leader in news and information on cryptocurrency, digital assets and the future of money, CoinDesk is a media outlet that strives for the highest journalistic standards and abides by a strict set of editorial policies. CoinDesk is an independent operating subsidiary of Digital Currency Group, which invests in cryptocurrencies and blockchain startups. As part of their compensation, certain CoinDesk employees, including editorial employees, may receive exposure to DCG equity in the form of stock appreciation rights, which vest over a multi-year period. CoinDesk journalists are not allowed to purchase stock outright in DCG.