Blockchain & DLTFoundations

Automated Market Maker

Overview

Direct Answer

An Automated Market Maker (AMM) is a decentralised exchange protocol that uses mathematical formulas and liquidity pools instead of order books to enable peer-to-peer token trading. Prices are determined algorithmically based on the ratio of assets in the pool rather than through matching buyers and sellers.

How It Works

Users deposit paired tokens into a smart contract liquidity pool and receive pool tokens representing their share. Trades execute against the pool using a constant product formula (such as x × y = k), where the price adjusts automatically based on the quantities swapped. Liquidity providers earn a portion of trading fees proportional to their pool contribution.

Why It Matters

AMMs enable continuous, permissionless trading without relying on centralised intermediaries or external price oracles, reducing operational costs and latency. They democratise market-making by allowing any participant to become a liquidity provider, increasing capital efficiency across decentralised finance ecosystems.

Common Applications

AMM protocols power decentralised exchanges such as Uniswap and Curve Finance, where users trade cryptocurrencies and synthetic assets. They are also integrated into yield-farming platforms and cross-chain bridges where token swaps require reliable, autonomous pricing mechanisms.

Key Considerations

AMMs suffer from impermanent loss when asset prices diverge significantly, disadvantaging liquidity providers. The simplified pricing model can also create arbitrage opportunities and slippage during large trades, requiring careful pool design and risk management.

More in Blockchain & DLT