CryptocurrenciesIntermediate

Uniswap (UNI)UNI

Uniswap is a decentralised exchange protocol that swaps tokens through automated market maker pools instead of an order book; UNI is its governance token, used to vote on the treasury and protocol fees.

Uniswap lets anyone swap one token for another straight from a wallet, with prices set by a formula rather than by buyers and sellers in an order book. It started on Ethereum and now runs on many networks. UNI is the token that governs the protocol. This page explains how the pools work, what UNI does and does not give its holders, and what can go wrong, not what UNI will be worth.

Category
Cryptocurrencies
Reading time
7 min
Also called
UNI, Uniswap protocol, Uniswap DEX
Updated

Uniswap in plain words

Uniswap is a set of smart contracts that works as a decentralised exchange: trades are made against pools of tokens using an Automated Market Maker (AMM) instead of an order book.1

Each pool holds two tokens. The price comes from the constant product formula x × y = k, where x and y are the pool's reserves and k must not fall after a trade.1 People who deposit tokens into a pool are liquidity providers, and swap fees are paid to them.1

UNI is a governance token: holders vote on spending from the community treasury, on protocol fees and on whether to mint new UNI.2 1 billion UNI were created when the token launched in September 2020.3

Uniswap's history, step by step

From a one-person prototype to a multi-chain protocol with its own governance token.

  1. 2017–2018 — The prototype

    Hayden Adams built the first proof of concept in late 2017, and the project received an Ethereum Foundation grant in 2018.4

  2. November 2018 — Launch on Ethereum

    Uniswap went live on Ethereum mainnet on 2 November 2018.45

  3. May 2020 — Uniswap v2

    Version 2 was deployed in May 2020 and added direct pools between any two ERC-20 tokens, price oracles and flash swaps.6

  4. September 2020 — UNI launches

    UNI was minted in September 2020, and every address that had used Uniswap v1 or v2 could claim 400 UNI.73

  5. 2021 — Uniswap v3

    Version 3, announced in March 2021, let liquidity providers concentrate their funds inside a price range they choose and offered three fee tiers per pair: 0.05%, 0.30% and 1.00%.8

  6. January 2025 — Uniswap v4

    Version 4 went live on 31 January 2025 on 10 networks, adding hooks: plug-in code that can customise pools, swaps and fees.9 It also moved pools into a single contract and introduced flash accounting.1

  7. 2025 — Vesting ends, fees start burning UNI

    All team, investor and adviser vesting ended in September 2025, and from December 2025 protocol fees have been used to burn UNI.3

Worked examples

Example 1 — A swap against x × y = k

≈ 4.762 ETH received

A hypothetical pool holds 100 ETH and 200,000 USDC, so the starting price is 2,000 USDC per ETH. A trader sells 10,000 USDC into it. Fees are ignored to show the formula.

Example 1 — A swap against x × y = k — calculation
k100 × 200,000 = 20,000,000
USDC in the pool after the trade200,000 + 10,000 = 210,000
ETH left in the pool20,000,000 ÷ 210,000 ≈ 95.238 ETH
ETH paid out100 − 95.238 ≈ 4.762 ETH
Average price paid10,000 ÷ 4.762 ≈ 2,100 USDC per ETH

The trade itself moves the price: bigger trades compared with the pool's depth get a worse average price.1 This is the Slippage traders see on an Automated Market Maker (AMM).

Example 2 — What the fee tier costs

$25 to $500

A trader swaps $50,000 worth of tokens. Version 3 offered fee tiers of 0.05%, 0.30% and 1.00%.8

Example 2 — What the fee tier costs — calculation
0.05% pool$50,000 × 0.0005 = $25
0.30% pool$50,000 × 0.003 = $150
1.00% pool$50,000 × 0.01 = $500

Swap fees go to the pool's liquidity providers.1 A cheaper tier is not always cheaper overall: a shallow pool can cost more in price impact than it saves in fees.

Example 3 — Governance thresholds as a share of supply

0.1% and 4%

An on-chain proposal needs 1 million UNI delegated to submit it and 40 million UNI voting for it to pass.10 Total supply is 1,000,000,000 UNI.3

Example 3 — Governance thresholds as a share of supply — calculation
To submit1,000,000 ÷ 1,000,000,000 = 0.001 = 0.1%
To pass40,000,000 ÷ 1,000,000,000 = 0.04 = 4%

Thresholds are small shares of supply, but few holders delegate, so large holders and delegates carry most of the weight. See Governance Tokens and Proposals.

Uniswap vs. a centralised exchange

AspectUniswap (AMM)Centralised exchange
How prices are setBy a pool formula such as x × y = kBy an order book of bids and asks
Who supplies liquidityAnyone who deposits into a poolMarket makers and traders placing orders
CustodyTokens stay in your own wallet until the swapThe exchange holds your funds
AccountA wallet; no sign-up with the protocolAn account, usually with identity checks
Main extra riskSmart-contract bugs and price impactPlatform failure (counterparty risk)

Why people use Uniswap and UNI

  • Swapping tokens

    Trading one token for another without depositing to an exchange account.1

  • Providing liquidity

    Depositing two tokens into a pool to earn a share of swap fees, while accepting Impermanent Loss.1

  • Voting

    Delegating UNI and voting on the treasury, fees and minting.2

  • Trading UNI

    UNI itself trades on spot and derivatives markets as a large Decentralised Finance (DeFi) token.

Advantages and disadvantages

Advantages

  • Permissionless: anyone can swap or create a pool.
  • Core contracts are open source and cannot be upgraded once deployed.
  • Governance rules and thresholds are published.
  • Runs on many networks, not only Ethereum.

Disadvantages

  • Smart-contract bugs or malicious tokens can cause losses.
  • Liquidity providers face impermanent loss.
  • UNI gives no individual claim on protocol revenue.
  • Voting power is concentrated among large holders and delegates.

Going deeper

Read as far as you need. Each level builds on the one before it.

An exchange made of pools

Beginner

Instead of matching buyers and sellers, Uniswap holds pools of two tokens and prices trades with a formula.1 UNI is the token used to govern the protocol, not to pay for swaps.2

Versions and concentrated liquidity

Intermediate

Version 2 liquidity providers receive pool tokens for a share of the whole pool; from version 3 they pick a price range, so their capital only works inside that range.1 Version 4 keeps that model and adds hooks, a single shared contract and flash accounting.1 Versions coexist: older pools keep working after a new version launches.

Supply, fees and burns

Advanced

The genesis split was 60% to the community (43% treasury, 15% airdrop to past users and liquidity providers, 2% liquidity mining), 21.27% to the team, 18.04% to investors and 0.69% to advisers.3 Governance may mint up to 2% of supply a year but had not done so as of the docs read.3 Since December 2025, protocol fees on v2 and v3 are collected and released to anyone who pays for them in UNI, and that UNI is burned; holders still have no direct claim on protocol revenue.3 See Token Burn and Tokenomics.

Common mistakes

  1. Thinking UNI pays swap fees

    Swaps on Uniswap are paid in the traded tokens and the network's own gas coin; UNI is for governance.

  2. Assuming UNI is a share of revenue

    Fees used for burns do not give a holder any personal payout.

  3. Ignoring price impact

    A large trade in a thin pool can cost far more than the fee tier suggests.

  4. Trusting any token in a pool

    Anyone can create a pool, including for copycat or malicious tokens; check the contract address.

Check your understanding

Test yourself before moving on. Each answer comes with an explanation.

Q1How many UNI were created at genesis?
Q2What fee does a liquidity pool at the 0.30% tier earn on a $2,000 swap?

Key points to remember

  1. Uniswap is a decentralised exchange that prices trades with pool formulas, not an order book.
  2. Swap fees go to liquidity providers, who also carry impermanent loss.
  3. UNI is a governance token with a genesis supply of 1 billion.
  4. Since December 2025 protocol fees are used to burn UNI, but holders have no direct revenue claim.
  5. Risks include contract bugs, malicious tokens and concentrated voting power.

Frequently asked questions

Do I need UNI to trade on Uniswap?

No. You swap the tokens you already hold and pay the network's gas fee. UNI is only needed to take part in governance.

Who runs Uniswap?

The core contracts are open source and cannot be upgraded once deployed. UNI holders govern the treasury and protocol fees, and separate companies and foundations build apps and interfaces around the protocol.

Is UNI's supply fixed?

1 billion UNI were created at genesis. Governance can mint up to 2% a year but has not done so, and since December 2025 protocol fees have been used to burn UNI.

Further learning

Sources

This article is written in our own words. The sources below support the specific facts, rules and figures marked with a number in the text. Links open the original publisher’s page.

  1. Uniswap Docs. How Uniswap works (opens in a new tab) Checked .
  2. Uniswap Docs. Governance overview (opens in a new tab) Checked .
  3. Uniswap Docs. UNI token (opens in a new tab) Checked .
  4. Uniswap Labs. A Short History of Uniswap (opens in a new tab) Checked .
  5. Kraken. What is Uniswap? (UNI) (opens in a new tab) Checked .
  6. Uniswap Labs. Uniswap V2 Mainnet Launch (opens in a new tab) Checked .
  7. Uniswap Labs. Introducing UNI (opens in a new tab) Checked .
  8. Uniswap Labs. Introducing Uniswap V3 (opens in a new tab) Checked .
  9. Uniswap Labs. Uniswap v4 is here (opens in a new tab) Checked .
  10. Uniswap Docs. Governance process (opens in a new tab) Checked .

Educational content, not financial advice. Examples use hypothetical prices and simplified costs; actual fees, margin rules and regulations vary by broker, market and country. We are not affiliated with any publisher linked above. Last reviewed . Report an error or request a source credit.