How Do Automated Market Makers (AMMs) Work?

AMMs are smart contract systems used by decentralized exchanges (DEXs) to create liquidity pools and determine asset prices algorithmically, rather than using a traditional order book. They rely on a constant product formula (e.g. x y = k) to maintain the relationship between the quantities of two tokens in a pool.

Liquidity providers deposit assets and earn fees from trades.

What Are the Primary Mechanisms through Which Automated Market Makers (AMMs) Facilitate Token Swaps?
How Do Automated Market Makers (AMM) Differ from Traditional Market Makers in Derivatives?
How Does Slippage in AMMs Protect Liquidity Providers from Large, Sudden Trades?
How Do Decentralized Exchanges (DEXs) Handle the Trading of Smart Contract-Based Derivatives?
How Do Automated Market Makers (AMMs) Utilize Smart Contracts in DeFi?
How Do Automated Market Makers (AMMs) in DeFi Replace the Traditional Order Book?
How Do Automated Market Makers (AMMs) in DeFi Replace Traditional Market Makers?
How Do Automated Market Makers (AMMs) Utilize Smart Contracts?

Glossar