How to Use Uniswap: All You Need to Know in 2024

Why Trust Techopedia

Uniswap is the most popular decentralized exchange (DEX) in the world. The project pioneered the automated market maker (AMM) model which enabled individuals to trade cryptocurrencies in a decentralized manner.

On Uniswap, users can perform token swaps and earn fees by providing liquidity.

If you are wondering how to use Uniswap, this guide has all the information you need.

Key Takeaways

  • Uniswap pioneered the automated market maker model.
  • Decentralized exchanges like Uniswap are powered by smart contracts and liquidity pools.
  • Each liquidity pool on Uniswap is made up of reserves of two crypto tokens.
  • Users can use Uniswap v2 or Uniswap v3 to provide liquidity and earn fees.
  • Uniswap allows users to place limit orders with maximum expiry of one year.

How Does Uniswap Work?

Uniswap is a muti-chain DEX powered by smart contracts and liquidity pools.

DEXs like Uniswap do not depend on centralized operators for liquidity or to match buy and sell orders. Instead, Uniswap uses an AMM mechanism in which smart contracts match orders, and liquidity pools facilitate token swaps.

Each liquidity pool on Uniswap is made up of reserves of two crypto tokens. For example, USDT-ETH, USDC-ETH, and ETH-UNI.

When a user trades USDT (Tether) for ETH (Ethereum), Uniswap facilitates the swap using liquidity from the USDT-ETH pool.

Anyone can become a liquidity provider on Uniswap.

To become a liquidity provider, a user must deposit an equal dollar value of two tokens to a liquidity pool. Uniswap liquidity providers earn a 0.3% trading fee on all trades proportional to their share of the pool.

How to Use Uniswap for Token Swap?

You will need a crypto wallet to begin using Uniswap.

Whether you want to learn how to use Uniswap on MetaMask, Coinbase Wallet, or Trust Wallet, the steps required to conduct trades on all crypto wallets are the same.

Here is how you can swap tokens on Uniswap:

  1. Open the official Uniswap website.
  2. Connect your crypto wallet.
  3. Select the token you want to sell.
  4. Select the token you want to buy.
  5. Enter the amount of tokens you want to sell. You can click on the “Max” option to automatically input the maximum amount of tokens available.
  6. Uniswap will automatically present you with the amount of tokens you will receive.
  7. Select “Swap“.
  8. Check details such as price impact, max spillage, gas fees, etc. Then, select “Approve and swap“.
  9. You will receive a notification to approve the transaction on your crypto wallet application. Sign the message and confirm the swap on your wallet.
  10. Your swap request will be submitted to the blockchain. If the transaction is successful, you will see “Swap Success” and a green checkmark on the screen.
Token swap on Uniswap
Token swap on Uniswap

How to Provide Liquidity on Uniswap

There are two ways to provide liquidity on Uniswap. You can use Uniswap v2 or Uniswap v3 to provide liquidity and earn fees.

The main difference between Uniswap v2 and Uniswap v3 is that Uniswap v3 allows users to concentrate their liquidity position within a custom price range.

Concentrated liquidity on Uniswap v3 allows liquidity providers to deploy their capital more efficiently, giving them the opportunity to earn more trading fees with less capital compared to Uniswap v2.

Providing Liquidity on Uniswap v2

Here are the steps you need to follow to become a liquidity provider on Uniswap v2:

  1. Go to the Uniswap website and connect your crypto wallet.
  2. Tap on the “Pool” tab on the home page.
  3. Select “v2 pools“.
  4. To provide liquidity, you must select a token pair and deposit equal dollar amounts of each token. Select the two tokens you want to provide liquidity for. Example. USDC-ETH, ETH-DAI, ETH-OP.
  5. Uniswap will show your share of contribution to the liquidity pool that you selected. Select “Approve“.
  6. Select “Supply“.
  7. Review the liquidity position details, then select “Confirm Supply“.
  8. Confirm the transaction in your crypto wallet.
  9. You can check the status of your transaction on blockchain explorers like Etherscan.
  10. Once the transaction is completed, you can view and manage your liquidity positions on the Uniswap website.
Providing liquidity on Uniswap v2
Providing liquidity on Uniswap v2

Providing Liquidity on Uniswap v3

  1. Go to the Uniswap website and connect your crypto wallet.
  2. Tap on the “Pool” tab on the home page.
  3. Select “v3 pools“.
  4. Select “New position“.
  5. Select the token pairs you want to supply.
  6. Uniswap will automatically allot you a fee tier depending on the selected token pair. According to Uniswap, “very stable pairs” earn 0.01%, “stable pairs” earn 0.05%, “most pairs” earn 0.03% and “exotic pairs” earn 1%.
  7. Select the price range you want to concentrate your liquidity for. You will have to select the maximum and minimum price for each tokens. Your liquidity will be used to facilitate token swaps within the price range.
  8. Select the deposit amounts.
  9. Select “Approve“.
  10. Select “Preview“.
  11. Review your liquidity position and select “Add“.
  12. Confirm the transaction on your crypto wallet.
  13. Once the transaction is completed, you can view and manage your liquidity positions on the Uniswap v3 pool page.
Providing liquidity on Uniswap v3
Providing liquidity on Uniswap v3

How to Use Limit Order on Uniswap?

Limit orders refer to trade orders executed when the underlying asset trades above or below a pre-determined price.

Buy limit orders are executed when the underlying asset trades at a pre-determined limit price or lower. Sell limit orders are executed when the underlying asset trades at a pre-determined limit price or higher.

In this section, we show how to buy and sell on Uniswap using limit orders:

  1. Go to the Uniswap website and connect your crypto wallet.
  2. Under the “Trade” tab, select “Limit“.
  3. Select the token you want to sell and the token you want to buy in exchange, or vice versa.
  4. Set your desired exchange rate and set when limit order should expire – your options are 1 day, 1 week, 1 month and 1 year.
  5. Select “Submit“.
Placing limit orders on Uniswap
Placing limit orders on Uniswap

In the screenshot above, we have placed a sell limit order to swap ETH for USDC. We have set the limit price of ETH to $4000. Expiry is set for one year.

The limit order will only be executed if the price of ETH reaches $4,000 or higher. When conditions are met, the limit order will automatically sell 1 ETH for $4,000 USDC. The order will be cancelled, if conditions are not met within the expiry date.

Difference Between Uniswap v2 and Uniswap v3

Uniswap traders may not notice the difference between Uniswap v2 and Uniswap v3 as the two verision of Uniswap function exactly the same when performing token swaps.

Liquidity providers, on the other hand, will experience a more customizable experience when providing liquidity using Uniswap v3.

Here is a table to help you understand the difference between Uniswap v2 and Uniswap v3.

What are the Risks of Using Uniswap?

Trading and providing liquidity on Uniswap expose users to several risks, including impermanent losses, smart contract hacks, and legal prosecution (depending on your country of residence).

Let’s go through them one by one:

Impermanent loss
Impermanent losses occur when the price of your deposited tokens falls, resulting in lower dollar value of tokens being returned to you when you exit your liquidity position. Impermanent losses are only realized when a liquidity provider exits their position.
Smart contract risks
Trades and liquidity pools on Uniswap are managed by smart contracts. Any bugs or vulnerabilities in the smart contracts can be targetted by attackers to steal crypto assets.
Market risks
Crypto trading exposes users to market volatility which can result in losses.
Governance risks
DEXs like Uniswap are governed by decentralized autonomous organizations (DAO) and token holders. Any network upgrade and changes passed via governance voting can adversely affect liquidity providers and traders on Uniswap.
Regulatory risks
As crypto regulation in most countries is yet to be defined and passed, regulatory uncertainty is a notable risk that Uniswap users must be aware of. Regional laws that ban the use of cryptocurrencies can result in losses for Uniswap liquidity providers and users.
Legal risks
Cryptocurrencies are banned in several countries. It is important to be aware of such laws in the country of your residence. Additionally, Uniswap users must keep records of their crypto trades to stay compliant with crypto taxation rules.

The Bottom Line

If you are new to cryptocurrencies, learning how to swap tokens and provide liquidity on Uniswap will help you understand how DEXs across various crypto networks function. Once you have mastered crypto trading and liquidity providing on Uniswap, you can perform these actions on any DEX in the world.

We hope this guide helped you understand what Uniswap is used for and how you can earn fees by depositing your idle crypto tokens on the platform. Remember, crypto markets are highly volatile and risky. Always conduct your own research before investing.

FAQs

Can you use uniswap in the US?

How does Uniswap work?

How do I get my money out of Uniswap?

Do I need ETH to use Uniswap?

How to use uniswap mobile app?

Related How To’s

Related Terms

Mensholong Lepcha
Crypto Specialist
Mensholong Lepcha
Crypto Specialist

Mensholong is a experienced crypto and blockchain journalist, now a full-time writer at Techopedia. He has contributed with news coverage and in-depth market analysis to Capital.com, StockTwits, XBO, and other publications. He began his writing career at Reuters in 2017, covering global equity markets. In his spare time, Mensholong enjoys watching soccer, finding new music, and buying BTC and ETH for his crypto portfolio.