How to Use Uniswap
How-to Guides

How to Use Uniswap

6m
Created 3yr ago, last updated 2yr ago

Uniswap proved that it can stay relevant in the rapidly changing DeFi space with the launch of its governance token — but how do you actually use it?

How to Use Uniswap

Table of Contents

Among the sea of DeFi projects out there, one of the biggest names is Uniswap. Over the summer of 2020, this decentralized exchange protocol caught the imagination of crypto enthusiasts — and at times, it's been a market leader in the industry in terms of dominance.
As of August 2021, Uniswap (UNI) is the largest DeFi token in terms of market capitalization, according to CoinMarketCap’s DeFi tracker.

But how does the Uniswap exchange work, what's the deal with its governance token and how do you use it? Our thorough guide will explain everything.

Join us in showcasing the cryptocurrency revolution, one newsletter at a time. Subscribe now to get daily news and market updates right to your inbox, along with our millions of other subscribers (that’s right, millions love us!) — what are you waiting for?

How Uniswap Works

The Uniswap protocol does things differently to centralized exchanges. Its open-source software has been built on the Ethereum blockchain — and allows users to trade ERC-20 tokens without the need for a middleman. As well as helping to reduce fees, this can iron out some thorny issues concerning censorship.
Liquidity providers play a big part in making everything happen without the need for an order book. Anyone can get involved in these liquidity pools as long as they contribute the equivalent value of two tokens, such as ETH and stablecoins such as USDT or DAI. In exchange, they'll get liquidity pool tokens that can then be used on other decentralized apps. This also ensures that they can get their contribution back at any time.

Users pay transaction fees whenever they complete a swap using a trading pair, and a portion of this goes to the liquidity provider based on how many pool tokens they own.

Uniswap pools rely on an equation that's known as "x * y = k.*
Here, may represent ETH, may represent USDT, and reflects what happens when you multiply and to discover the pool's total liquidity. Constant product market makers — the smart contracts that hold liquidity pools — work on the basis that must remain constant at all times. 

Let's imagine that someone uses a liquidity pool to buy ETH in exchange for USDT. This transaction would ultimately mean there is now less ETH in the liquidity pool, and more USDT.

Someone who purchases ETH in exchange for USDT from a liquidity pool would ultimately affect the balance between the two assets in this trading pair — increasing the price of ETH, and decreasing the price of USDT. This slippage is generally less pronounced in larger liquidity pools.

Some of the main advantages of Uniswap include that it is far less complicated to use than other decentralized exchanges — and it means buyers and sellers are no longer responsible for creating liquidity.

When Did Uniswap Launch — and What Is Uniswap V2?

Uniswap.org launched back in November 2018 — and its inventor, Hayden Adams, said he was inspired by a post that Ethereum co-founder Vitalik Buterin had written about automated market makers (AMM).
One of the biggest developments for this DeFi project came with the launch of Uniswap V2 in May 2020, which meant that ETH no longer needed to be one of the two assets in a liquidity pool. As of August 2021, there is a total value locked (TVL) of $4.96 billion on V2, according to information on Uniswap analytics here.
As a result, token swapping can now take place directly between ERC-20 tokens, reducing the overall number of transactions and the gas fees associated with them. (That's good news for the Ethereum blockchain, which has been struggling with congestion brought about by the decentralized finance boom.)

Other new features in V2 included:

  • On-chain price feeds that are highly decentralized and difficult to manipulate
  • Technical improvements that mean smart contracts are now written in the Solidity language 
  • Flash swaps, which allow someone to withdraw an ERC-20 token and use it for capital-free arbitrage or instant leverage

What Are UNI Tokens?

In mid-September 2020, Uniswap announced it was creating a brand-new cryptocurrency called UNI. This is designed to serve as a governance token which gives owners a say in the future of the protocol — and at launch, every single person who had used Uniswap was awarded with 400 UNI tokens. At one point following launch, this airdrop would have been worth over $3,350!

A total of 1 billion UNI were minted at genesis — 15% of which were allocated to past and present users. Meanwhile, 40% has been split among employees, investors and advisors.

It is believed that the token launch was in response to SushiSwap's decision to migrate $1 billion of funds away from Uniswap to its own DEX platform in what was described at the time as a "vampire mining" attack — affecting overall levels of liquidity.
Uniswap was actually behind the curve in issuing a governance token. Many other protocols — including Maker, Aave and yearn.finance — did this far earlier.

What is Uniswap V3

In May 2021, Uniswap V3 was launched on layer 1 (L1) Ethereum mainnet and was followed shortly by the layer 2 (L2) deployment on Optimism. As of August 2021, there is $2.34 billion TVL on V3, according to analytics from Uniswap here.

Uniswap V3 comes as Uniswap has established itself as the critical infrastructure and liquidity provider in the DeFi space, with an ecosystem of products that empowers developers, traders and liquidity providers. The features introduced in the V3 updates aim to further the platform as the most powerful, flexible and efficient AMM in the space.

What Makes the Uniswap V3 Exchange Different?

Uniswap V3 introduces two main features: concentrated liquidity and various fee tiers. Concentrated liquidity allows liquidity providers to determine what price range their capital is allocated to. These will be aggregated into a single pool and form a combined curve for traders to trade against. From that, the multiple fee tiers compensate liquidity providers in accordance to the risk they take.

The benefits of these features are: higher capital efficiency and greater returns, low slippage trade execution and greater flexibility for liquidity providers. 

Relative to Uniswap V2, liquidity providers can provide liquidity with capital efficiency is up to 4000x, hence improving the returns. In turn, this also results in low slippage trade execution that exceeds centralized exchanges and stablecoin-based AMMs. Furthermore, liquidity providers can choose to increase their exposure to preferred assets while reducing their downside risk. They can also sell one asset for another by pricing above or below the market price, estimating a fee-earning limit order that executes along a smooth curve.

Furthermore, Uniswap oracles are cheaper and easier to integrate. Time-weighted average prices can be provided on demand for any period within the last 9 days. Protocols using these oracles do not need to record historical values.
Even with these powerful features in place, gas fees on V3 are also expected to decrease slightly compared to V2. On the L2 Optimism chain, the gas fees are expected to decrease significantly.

A Step-by-Step Guide to Using UniSwap

So, how do you swap tokens on Uniswap? Here is a straightforward guide:

1. Go to the Uniswap app.

2. Connect an Ethereum wallet such as MetaMask.

3. Select the token you'd like to convert in a dropdown menu, and the cryptocurrency you'd like to swap it for.

4. After clicking "Swap," preview the transaction in a pop-up window and then confirm the request directly from your wallet.

5. Next, you'll have to wait a little while for the transaction to be finalized on the Ethereum blockchain — and remember that you can keep track of how this is progressing through the Etherscan.io blockchain explorer.

The Challenges Facing Uniswap

The decentralized finance industry is a competitive one, to say the least. This means that Uniswap could be popular one week, only for another DeFi protocol to steal the limelight the next.

As we alluded to a little earlier, Ethereum is also buckling under the strain of the congestion caused by DeFi projects, with gas prices going through the roof. All of this means that the industry could end up exploring other blockchains, undermining Uniswap, unless Ethereum 2.0 is implemented quickly.
Some also argue that Uniswap's reliance on arbitrage trading means that the platform will forever be dependent on centralized exchanges such as Binance and Coinbase
That said, it seems like Uniswap has no intention of sitting still — and an upgrade to V3 is currently in the works. Founder Hayden Adams has claimed that this new version "will eat Uniswap V2's lunch" and offer a far better experience. It is this innovation that could help the DeFi protocol stay one step ahead of the competition.
This article contains links to third-party websites or other content for information purposes only (“Third-Party Sites”). The Third-Party Sites are not under the control of CoinMarketCap, and CoinMarketCap is not responsible for the content of any Third-Party Site, including without limitation any link contained in a Third-Party Site, or any changes or updates to a Third-Party Site. CoinMarketCap is providing these links to you only as a convenience, and the inclusion of any link does not imply endorsement, approval or recommendation by CoinMarketCap of the site or any association with its operators. This article is intended to be used and must be used for informational purposes only. It is important to do your own research and analysis before making any material decisions related to any of the products or services described. This article is not intended as, and shall not be construed as, financial advice. The views and opinions expressed in this article are the author’s [company’s] own and do not necessarily reflect those of CoinMarketCap.
1 person liked this article