Automated market makers (AMMs) are smart contracts powering all decentralized crypto exchanges (DEXs) and other decentralized finance (DeFi) protocols. To become an AMM, you simply need to add two or more cryptocurrencies into a liquidity pool. You earn the fees that traders pay a DEX when they trade from your pool.