Before Uniswap, decentralized trading required order books — lists of buy and sell orders that needed to be matched. On-chain order books were slow and expensive, so most DEXs either moved order matching off-chain or struggled with thin liquidity. Trading on-chain before 2018 was largely theoretical.
Uniswap v1, launched in November 2018, introduced the automated market maker (AMM): a simple formula that determines price based purely on the ratio of two assets in a liquidity pool. No order book. No professional market makers. Just math and liquidity providers earning fees.
The Constant Product Formula
Uniswap's core innovation is elegant: for any pool of asset A and asset B, maintain the invariant x·y = k, where x and y are reserves and k is a constant. When a trader buys asset A, they add asset B to the pool, shifting the ratio and increasing A's price accordingly.
This means price is always available — you can always trade, regardless of whether there's a counterparty on the other side. The tradeoff is price impact: larger trades move the price more, and liquidity providers face "impermanent loss" when prices diverge significantly from when they deposited.
v2, v3, and the Evolution of AMMs
Uniswap v2 added ERC-20/ERC-20 pairs (v1 only supported ETH pairs) and flash swaps. v3 introduced concentrated liquidity — letting LPs allocate capital to specific price ranges, dramatically improving capital efficiency for stablecoin pairs and reducing slippage for traders.
Competing AMM designs have emerged: Curve optimizes for stable-asset swaps with a specialized formula; Balancer supports multi-asset pools with arbitrary weights; DODO uses a proactive market maker that incorporates external price feeds. Each represents a refinement of the core AMM concept for specific use cases.
The Lasting Legacy
Uniswap demonstrated that sophisticated financial infrastructure could be built without permission, without a company running it, and without professional intermediaries. It enabled the DeFi summer of 2020 and spawned an entire ecosystem of forks, competitors, and derivative protocols. The AMM is now as fundamental to crypto as the SMTP protocol is to email — a primitive that others build on top of rather than replace entirely.
Interested in what we're building?
StarX Capital backs early-stage founders at the intersection of crypto and AI.
Pitch to us →