Download Trust Wallet
Home  >  Glossary  >  AMM

AMM

Updated on: Jun 9, 2026
Share post
In Brief

An AMM (Automated Market Maker) is the algorithm behind decentralized exchanges that prices and settles trades against a liquidity pool using a mathematical formula, instead of matching buyers and sellers through a traditional order book.

AMM

What Is an AMM (Automated Market Maker)?

An Automated Market Maker (AMM) is the technology that powers most decentralized exchanges (DEXs). Instead of matching individual buyers and sellers through an order book, an AMM uses a mathematical formula and a pool of tokens to set prices and execute trades automatically.

This innovation made permissionless, always-available token swapping possible — anyone can trade at any time, and anyone can supply liquidity to earn fees. Uniswap popularized the model, and it now underpins much of DeFi.

How Does an AMM Work?

  1. Liquidity providers deposit a pair of tokens into a liquidity pool.

  2. The AMM uses a formula to determine the price based on the ratio of tokens in the pool.

  3. When a trader swaps, they add one token to the pool and remove the other.

  4. Each trade shifts the ratio, automatically adjusting the price for the next trade.

  5. A small fee on each swap is paid to the liquidity providers.

The Constant Product Formula

Many AMMs use the constant product formula: x * y = k, where x and y are the quantities of the two tokens and k is a constant.

AMM vs Order Book Exchange

Feature AMM (DEX) Order Book (CEX)
Price set byFormula + pool ratioMatching buy/sell orders
CounterpartyA liquidity poolAnother trader
AvailabilityAlways onNeeds active orders
Who provides liquidityAnyone (LPs)Market makers
CustodyNon-custodialOften custodial

AMMs and Trust Wallet

Trust Wallet connects you to AMM-powered DEXs through its in-app dApp browser and WalletConnect, letting you swap and provide liquidity across 100+ blockchains. Because Trust Wallet is non-custodial, you trade directly from your own wallet and keep full control of your private keys — no central exchange holds your funds.

Simple and convenient
to use, seamless to explore

Download Trust Wallet