Qaynaq LABS · TOOLS

CRYPTO GLOSSARY

Uniswap

Uniswap is a decentralized exchange (DEX) protocol that enables peer-to-peer trading of cryptocurrencies without intermediaries, using automated market maker (AMM) mechanisms.

Technical definition

Uniswap is an Ethereum-based protocol that replaces traditional order books with liquidity pools, where users contribute pairs of tokens to smart contracts. These pools are governed by constant product market maker equations (x * y = k), which dynamically adjust prices based on supply and demand. Trades occur directly against these pools, and liquidity providers (LPs) earn fees proportional to their share of the pool. The protocol operates via smart contracts, eliminating the need for centralized order matching or custody of funds.

An analogy

Imagine a vending machine where instead of selecting a product and paying a fixed price, you trade one type of candy for another. The machine’s price adjusts based on how much of each candy is currently inside. If you add more of one candy, the price of the other candy goes up. People who stock the machine with candies earn a small fee every time someone makes a trade.

Why it matters

Uniswap democratizes trading by removing intermediaries, reducing barriers to entry for token swaps, and enabling permissionless liquidity provision. It underpins much of decentralized finance (DeFi) by providing a foundational infrastructure for token exchanges.

Where it came from

Uniswap was launched in November 2018 by Hayden Adams, inspired by a Reddit post about the constant product formula proposed by Vitalik Buterin. The protocol gained significant traction during the 2020 DeFi boom and has since evolved into a suite of products, including Uniswap v3, which introduced concentrated liquidity.

Example in practice

A user wants to swap 1 ETH for USDC. Instead of finding a seller, they interact with a Uniswap liquidity pool containing ETH and USDC. The smart contract calculates the exchange rate based on the pool’s reserves, deducts the ETH, and sends the corresponding USDC to the user’s wallet, minus a 0.3% fee shared with liquidity providers.

Common misconceptions

  • Uniswap is a company → Correction: Uniswap is a decentralized protocol governed by smart contracts and a community, not a corporation.
  • Uniswap guarantees the best prices → Correction: Prices are determined by liquidity pool reserves and may not always match centralized exchanges due to slippage or arbitrage inefficiencies.

Risks & limitations

  • Impermanent loss: Liquidity providers may earn less than holding the tokens directly due to price divergence between paired assets.
  • Smart contract risk: Bugs or exploits in the protocol’s code could lead to fund losses (e.g., the $60M exploit in Uniswap v2 in 2020 due to a reentrancy vulnerability).
  • Front-running: Miners or bots may exploit pending transactions to profit from arbitrage opportunities, though this is mitigated by Ethereum’s gas auction system.
  • Regulatory uncertainty: As a decentralized protocol, Uniswap’s compliance with evolving regulations (e.g., securities laws) remains unclear.

Related terms

About "Uniswap" in crypto

Cryptocurrency vocabulary moves faster than any other technical field. New terms appear weekly, old terms quietly change meaning, and most "definitions" online were written by someone trying to sell you something. Qaynaq Labs' crypto glossary aims for the opposite: neutral, accurate, skeptical explainers that include the downside.

This entry covers the technical mechanics, a real-world analogy, where the concept came from, and what could go wrong. Pair it with the related terms to build a working mental model of how the pieces fit together.

Frequently asked

How does Uniswap make money?

Uniswap itself does not generate revenue; it is a protocol. Instead, liquidity providers earn fees (0.3% per trade in v2, 0.05%–1% in v3) proportional to their share of the pool. The protocol’s governance token, UNI, may be used for future revenue-sharing or governance decisions.

Can anyone list a token on Uniswap?

Yes, anyone can create a liquidity pool for any ERC-20 token pair on Uniswap v2, as long as they provide the initial liquidity. Uniswap v3 requires a 1% fee tier for new pools, but listing remains permissionless. This ease of access has led to scams or low-quality tokens flooding the platform.

What is slippage in Uniswap?

Slippage occurs when the price of a token changes between the time a trade is initiated and executed, often due to low liquidity in the pool. For example, swapping a large amount of a low-liquidity token may result in receiving fewer tokens than expected due to the AMM’s price curve.