Skip to main content
Popular searches
DeFiUpdated: Nov 10, 2026

AMM

An AMM (Automated Market Maker) is a decentralized protocol that allows users to trade assets without a central order book, using liquidity pools to facilitate transactions.

Also known as:Automated Market MakerUniswap-style

What Is an AMM?

An AMM (automated market maker) is a smart contract that lets people swap tokens against a pool of funds instead of against other traders' orders. There is no order book: the contract holds reserves of two or more tokens, and a formula sets the price.

The classic formula, used by the early versions of Uniswap, is x * y = k: the product of the two reserves stays constant. Buying one token removes it from the pool and adds the other, so the price moves against the buyer, and more so the larger the trade is relative to the pool. Other designs change the curve, as Curve does for assets that should trade near parity, or let providers concentrate liquidity in a price range.

The reserves come from liquidity providers, who deposit tokens and earn a share of the swap fees. Their risk is impermanent loss: when prices diverge, the pool ends up holding more of the token that fell, and the position can be worth less than simply holding.

From a hardware wallet, a swap is a contract interaction signed on the device, usually after a token approval. The keys stay offline, but the device cannot judge the contract. What can be checked is the contract address, the approved amount and the minimum received.

Real-World Examples

Example 1: A pool holds 100 ETH and 300,000 USDC, which implies 3,000 USDC per ETH. To take out 10 ETH, a buyer must bring the USDC reserve to about 333,333 so that the product stays the same. He pays about 33,333 USDC, or 3,333 per ETH, before fees.

Example 2: A user swaps USDC for ETH from a hardware wallet. She approves exactly the amount to be swapped instead of an unlimited allowance, sets slippage to 0.5% and confirms both transactions on the device.

Example 3: A liquidity provider deposits ETH and USDC of equal value. After ETH doubles in price, her share of the pool contains less ETH and more USDC and is worth about 5.7% less than the two tokens would be had she kept them, before fees earned.

BlockchainSmart Contract

Read full definition: Smart Contract
DefiSwap

Read full definition: Swap
BlockchainToken

Read full definition: Token
DefiImpermanent Loss

Read full definition: Impermanent Loss
WalletHardware Wallet

Read full definition: Hardware Wallet
TransactionToken Approval

Read full definition: Token Approval
BlockchainEthereum

Read full definition: Ethereum
BlockchainStablecoin

Read full definition: Stablecoin
DefiSlippage

Read full definition: Slippage

Ready to Choose a Secure Wallet?

Use our tools to find the right hardware wallet for your needs.