Finder may earn compensation from partners, but editorial opinions are our own. Advertiser Disclosure

Uniswap beginner’s guide: How to trade and provide liquidity

Learn how to use Curve.fi for trading, providing liquidity and earning interest.

Uniswap is one of the largest decentralized exchanges (DEXs) in the cryptocurrency industry. It runs on Ethereum and allows you to exchange any ERC-20 tokens using an Automated Market Maker protocol (AMM) instead of a standard spot market order book.

This guide will teach you how to use uniswap, trade in and out of pools, provide liquidity in return for rewards, and make you aware of the risks involved throughout.

Uniswap and other DeFi protocols are experimental works in progress. Funds deposited into Uniswap or DeFi protocols in general can be at risk of smart contract vulnerabilities, malicious developers and hacks. Uniswap is governed by token holders through a DAO (decentralized autonomous organization).

Disclaimer: This information should not be interpreted as an endorsement of cryptocurrency or any specific provider, service or offering. It is not a recommendation to trade.

What is Uniswap Exchange?

Uniswap works by incentivizing liquidity providers to provide collateral and make liquidity pools. Traders then use these liquidity pools to trade, instead of trying to find a matching buyer or seller on the spot market.

  • Liquidity providers. Users who lend their cryptocurrency to an AMM for people to trade with, in return for earning interest and other rewards. Liquidity providers receive liquidity provider tokens (LPTs) in return for their deposits, which acts as a coupon letting them redeem their funds at any time, plus rewards.
  • Liquidity pools. A pool of two cryptocurrencies (for example, ETH-USDC), allowing traders to trade in and out of the pool without needing another person on the other side of the trade.

The software used to run the exchange without an order book is a design known as an Automated Market Maker (AMM) model. This model relies on a mathematical formula to price assets instead of using an order book. AMMs are smart contracts that hold liquidity pools that you can trade against. Liquidity providers fund liquidity pools. Anyone who deposits an equivalent value of two ERC-20 tokens into the pool can become a liquidity provider for the protocol.

The difference between centralized cryptocurrency exchanges like Binance and Coinbase and a decentralized AMM cryptocurrency exchange like Uniswap is that there is no order book or a centralized party that facilitates the trades with the latter. Furthermore, there is no listing process for ERC-20 tokens on Uniswap due to its decentralized nature, and this enables the launch of any token if there is a liquidity pool for the traders. Thus, there are no listing fees for ERC 20 tokens as well.

The protocol was launched in late 2018 by creator Hayden Adams, who is a software developer. His inspiration to design the protocol arises from a post that came from Ethereum co-founder Vitalik Buterin. Uniswap is currently running the v3 design of its platform, with the latest update coming in May 2021, which mainly improves capital efficiency of the liquidity pools, which is a recurring issue with yield farming protocols.

There is no listing process for ERC 20 tokens on this exchange due to its decentralized nature, and this enables the launch of any token if there is a liquidity pool for the traders. Thus, there are no listing fees for ERC 20 tokens as well.

How to trade on Uniswap

To trade on Uniswap, you need to have ETH or any other ERC-20 standard token. These tokens can then be traded through Metamask's wallet. Metamask is a browser plugin that is used as an Ethereum wallet. It allows you to run dApps without participating in the Ethereum network as an Ethereum node.

What sets it apart from other wallets you might have heard of is the fact that it allows you to interact with dApps directly from your wallet. Other compatible wallets are Coinbase Wallet, Trust Wallet, Formatic, Portis Wallet, and any wallet compatible with WalletConnect.

Trading on Uniswap is done in four simple steps:

  1. Connect your wallet. Connect to Uniswap using a wallet like Metamask.
  2. Choose the token pair. You can search and choose from a dropdown of available ERC-20 tokens on the "Swap" section of the website. You will need to choose both the token you are selling (the "From" field), as well as the one you want to buy (the "To" field).
  3. Review settings. Experienced traders may want to take advantage of the settings icon in the top left corner of the Swap interface. You can set things such as slippage tolerance and maximum trade time.
  4. Swap. Click "Swap" and the transaction will be previewed in a pop-up, allowing you to review the order (including Uniswap fees). You will then need to confirm a second pop-up, this time through your wallet (which will include Ethereum gas fees). After confirmation, the AMM model completes the rest of the transaction on the Ethereum blockchain and you receive your new tokens into your wallet automatically. You can always track the progress of your transaction on the Etherscan.io blockchain explorer using the transaction ID or your wallet address.
Picture not described

Slippage tolerance

Slippage tolerance is an aspect you need to be aware of before using Uniswap and similar DeFi protocols. Slippage is the variance between the expected price of the swap and the actual execution price of the swap. Thus, slippage tolerance is the change in price (as a percentage) from the expected price you are willing to accept. Although slippage can occur for a number of reasons, it has the highest chance of happening when there is a high level of volatility in the market.

For example, if the quoted price on a trade for 1 ETH is 3,000 USDC, then a slippage tolerance of 1% would mean the price could fluctuate in either direction by up to 30 USDC (1% of 3,000). You could end up with as much as 3,030 USDC, or as little as 2,970 USDC for that trade.

Slippage tolerance allows you to set the range of price movement you are willing to accept before the trade doesn't execute, as a result of not adhering to the set tolerance levels (the price deviated too far from the price you were willing to accept). Tolerance is calculated as a percentage of the amount of tokens you are willing to receive.

Transaction deadline

Another setting to keep in mind is the transaction deadline which can also be chosen in the Swap settings. It indicates the maximum amount of time you're willing to wait for the pending Swap to execute. If the time elapsed exceeds the transaction deadline, then the swap is reversed automatically. It is another fail-safe feature built into the interface.

The price impact conveys an approximation of the expected slippage based on the size of your order or what's really happening in the market.

Both slippage tolerance and the transaction deadline can be adjusted using the settings button in the top right corner of the Swap window (the cog icon).

Risks of trading on Uniswap

Despite the simplicity with which you can trade ERC 20 tokens on Uniswap, there are certain risks attached with trading on Uniswap:

  • Smart Contract Risk. Inherently, smart contracts are not foolproof innovations in technology. There is always a technical risk attached to smart contracts. Since it is the central point for the ecosystem, it also becomes a lucrative attack point for hackers and other such scrupulous players in the ecosystem. There are chances of fake smart contracts being created as well since Uniswap allows anyone to create an ERC20 token and add it to the platform.
  • Slippage. As mentioned earlier, there is a chance of slippage occurring in various swaps depending on the market conditions. Although this can be limited using the slippage tolerance, it also restricts your ability to make profits, especially in high volatile scenarios.
  • Incentive Failure Risk. Smart contracts are usually structured in a way that incentivizes the good behavior of participants of the protocol. Sometimes these incentives are not enough to encourage such behavior, thus leading to a risk of other uses facing financial losses as in the case of a rug pull or exploit.
  • Gas fees. The Ethereum blockchain has been plagued with high gas fees for quite some time now. Although this should improve with the migration to Uniswap v3.

How to provide liquidity on Uniswap

Once you have connected your wallet to the Uniswap interface, you can access the liquidity features of the protocol through the "Pool" section of the website. In this section, you can either add liquidity to an existing pool using the "Add Liquidity" feature or create a new liquidity pool for a particular token pair using the "Create a pair" feature.

Most people will just want to add liquidity to an existing pool, so we've outlined the steps for you to add liquidity to Uniswap below.

  1. Go to the "Pool" tab and click on the "Add Liquidity" button.
  2. Choose the token pair you would like to add liquidity to (for example, ETH and USDC).
  3. Once the tokens are selected, enter the number of tokens you would like to add for one half of the pair (for example, 2 ETH). Entering an amount on either of the pair will auto-fill the other with an equivalent amount of the second token. This is because the value of the two deposits needs to match.
  4. You will also be able to see your share in that particular liquidity pool before you can click on "Add Liquidity" to go ahead with the transaction.
  5. Click on transaction details if you would like to see more information about the transaction, such as the proportional liquidity tokens that will be minted to this stake in the pool.
  6. Confirm the transaction through your wallet, where you can adjust the gas fees. Then wait for the smart contract to execute the transaction. Your new liquidity provider tokens will automatically be sent to your wallet.

As a reward for providing liquidity to the protocol, you will be rewarded 0.3% of all the trades with this pair in proportion to your allocated share in the pool. The rewards can be claimed by withdrawing liquidity and will keep accruing in real time in the pool until that time.

Once liquidity is added to a pool, you get liquidity tokens which are minted and sent to your wallet. They are a representation of your contribution to the pool as they are distributed in proportion to your share in the pool. These tokens represent the fees earned by the protocol for fees on trades.

How to withdraw funds from a liquidity pool

Below are the steps you would need to follow to remove liquidity from Uniswap:

  1. First, you need to click on "Pool" on the platform, followed by the token pair you wish to withdraw your liquidity stake from.
  2. Click on the "Remove Liquidity" button.
  3. Confirm this decision to remove liquidity.
  4. Then you would need to confirm the transaction on your wallet.
  5. After this, the protocol proceeds to remove your liquidity from the pool after a final confirmation.

Impermanent loss explained

Although liquidity mining provides a good opportunity for you to create passive income, in addition to the risks mentioned for trading on the DEX, there is one main risk attached to providing liquidity on Uniswap:

  • Impermanent Loss. In simple terms, an impermanent loss is a loss that may be caused by holding tokens in an AMM as compared to holding tokens in your wallet. Because the pool needs the value of both tokens to remain balanced, any change in the price of one token will cause a change in the balance of the pool. As such, you may exit the pool with more (or less) of one token than the other. Depending on how the market moved, this may result in a loss.

How liquidity pools are calculated

The Uniswap AMM model uses a formula to calculate and balance liquidity on the platform:

x * y = k

Where

  • x = the portion of the pool for token 1
  • y = the portion of the pool for token 2
  • k = total liquidity of the pool

For example, in an ETH/DAI pool, "x" is the ETH portion of the pool, and "y" refers to the DAI portion of the pool. "k" is a fixable constant and refers to the total liquidity of the pool. The core of the AMM model is that the total liquidity of the pool (k) remains fixed so as to minimize price variations. Market incentives are used to ensure users top up either side of the pair to keep the pool balanced.

What does the UNI token do?

UNI is the native token of the Uniswap protocol, which gives holders voting rights to the platform's governance.

Uniswap distributed the token through an airdrop of 400 UNI tokens to each wallet address that had interacted with the exchange before September 2020. One billion UNI tokens were minted during the genesis. Over time, 60% will be distributed amongst the existing members of the community, and 40% is reserved for team members of the protocol, which will be distributed over four years.

A portion of UNI tokens are distributed through liquidity mining.

Name Product Deposit methods Fiat Currencies Cryptocurrencies
eToro USA LLC Cryptocurrency Trading
Wire transfer, Online banking
USD

25
cryptocurrencies

Disclaimer: eToro USA LLC; Investments are subject to market risk, including the possible loss of principal.

Copy the trades of leading cryptocurrency investors on this unique social investment platform. Non-US residents can read our review of eToro's global site here.
SoFi Cryptocurrency Exchange
SoFi Cryptocurrency Exchange
Bank transfer
USD

21
cryptocurrencies

Instantly purchase a handful of leading cryptocurrencies with the SoFi app, which also insures your coins against potential hacks or theft.
KuCoin Cryptocurrency Exchange
Cryptocurrency, PayPal, Wire transfer, Credit or Debit Card, SEPA
USD, EUR, GBP, RUB, CNY, AUD, KRW, JPY, TRY, VND & 40+ more

434
cryptocurrencies

Finder exclusive: Sign up and use code 1xf56 for one month of VIP 1 benefits. Deposit/transfer more than 0.1 BTC to KuCoin within 7 days of registration for 1 month of VIP 2 benefits. T&Cs apply.
Browse a variety of coin offerings in one of the largest multi-cryptocurrency exchanges and pay in cryptocurrency.
Crypto.com App
Credit card, Cryptocurrency, PayPal, TransferWise, SEPA
USD, AUD, CAD, CHF, EUR, GBP, NZD, SGD, JPY, ZAR & 9+ more

134
cryptocurrencies

Buy 100+ cryptocurrencies, earn up to 14.5% p.a. on holdings, pay with your crypto for cashback at stores, get loans and more with this complete crypto-finance platform.
Gate.io Cryptocurrency Exchange
Cryptocurrency
USD, EUR, GBP, HKD, SGD, AUD, CHF, MXN

300
cryptocurrencies

Finder exclusive: New users get $90 worth of Gate.IO points and an airdrop of $5 in random tokens if trade volume exceeds $100 in their first week. T&Cs apply.
A feature-rich exchange with over 700 tokens including derivatives, yield farming and lending products.
Binance.US Cryptocurrency Exchange
Bank transfer (ACH), Bank transfer, Cryptocurrency, Debit card, Wire transfer
USD

58
cryptocurrencies

Get a US$15 bonus when you trade US$100 or more of any supported crypto. T&Cs apply.
Trade with USD on Binance.US, the American dollar onramp of the world’s largest cryptocurrency exchange. Non-US residents can read our review of Binance's main exchange here.
Gemini Cryptocurrency Exchange
Bank transfer (ACH)
USD, AUD, CAD, EUR, GBP, SGD, HKD

48
cryptocurrencies

Trade bitcoin, Ethereum and more at a US-based exchange where payments can be made in USD.
Coinbase Digital Currency Exchange
Bank transfer (ACH), Debit card, PayPal, Wire transfer, Apple Pay
USD, EUR, GBP, CAD, MXN, HRK, CZK, DKK, CLP, BGN & 10+ more

76
cryptocurrencies

Buy and sell major cryptocurrencies on one of the world's most renowned cryptocurrency exchanges.
FTX.US Cryptocurrency Exchange
Bank transfer (ACH), Cryptocurrency, Wire transfer
USD, AUD, EUR, CAD, GBP, SGD

24
cryptocurrencies

Enjoy the local version of the FTX exchange which offers a range of leading cryptocurrencies, up to 10x leverage, access to global liquidity and benefits for FTT token holders.
Revolut Cryptocurrency App
Revolut Cryptocurrency App
Bank transfer (ACH), Bank transfer (SEPA), SWIFT, Credit or Debit Card
USD, EUR, GBP, CAD, NZD, JPY, HKD, NOK, DKK & 9 more

20
cryptocurrencies

Buy and sell several popular cryptocurrencies through your Revolut account, set up recurring purchases and transfer it to other US users. You can’t transfer cryptocurrency to anyone who does not have an active Revolut account. Service not available in Tennessee.
loading

Compare up to 4 providers

Pros and cons of Uniswap

Let's take a look at the pros and cons of using Uniswap for both trading and for staking coins as a liquidity provider.

Pros

  • It stays true to the decentralized values with which the cryptocurrency ecosystem was originally created, thus being a huge attraction for purists. It helps to distribute the power and control that centralized exchanges have.
  • It adds liquidity to the coins in the participating markets.
  • Higher privacy protection than centralized trading exchanges as there are no KYC requirements.
  • The ability to generate passive income by simply adding funds to the liquidity pool.
  • Considered more secure than CEXs as you can trade from your own wallet and not the exchange's wallet. Here you have self custody of your cryptocurrency assets.
  • Easy and free token listing.
  • Since there is no interaction with oracles for real-world data, the chances of hacks are decreased.

Cons

  • Erratic gas fees depending on network congestion.
  • Failed transactions due to low gas settings leading to expenses.
  • Be aware that because anyone can list a token on Uniswap, some tokens listed on the exchange exist purely to scam users. Such tokens often appear with little background development or information, and promise great things. Once trading reaches a desirable level, the token creator may then dump all the coins (causing the price to crash) or steal any funds deposited into the protocol (known as a rug pull).
Disclaimer: Cryptocurrencies are speculative, complex and involve significant risks – they are highly volatile and sensitive to secondary activity. Performance is unpredictable and past performance is no guarantee of future performance. Consider your own circumstances, and obtain your own advice, before relying on this information. You should also verify the nature of any product or service (including its legal status and relevant regulatory requirements) and consult the relevant Regulators' websites before making any decision. Finder, or the author, may have holdings in the cryptocurrencies discussed.

Ask an Expert

You are about to post a question on finder.com:

  • Do not enter personal information (eg. surname, phone number, bank details) as your question will be made public
  • finder.com is a financial comparison and information service, not a bank or product provider
  • We cannot provide you with personal advice or recommendations
  • Your answer might already be waiting – check previous questions below to see if yours has already been asked

Finder.com provides guides and information on a range of products and services. Because our content is not financial advice, we suggest talking with a professional before you make any decision.

By submitting your comment or question, you agree to our Privacy and Cookies Policy and finder.com Terms of Use.

Questions and responses on finder.com are not provided, paid for or otherwise endorsed by any bank or brand. These banks and brands are not responsible for ensuring that comments are answered or accurate.
Go to site