Nothing in this document constitutes financial advice.
You want to act a degenerate? You do it on your own accord.
Introduction
Unless youāve been living under a rock these past few weeks you would have definitely heard of Uniswap. Itās visibility in the space has been prominent and only 24hrs ago crypto social media channels exploded with euphoria off the back of the introduction of its $UNI token with a public airdrop to individuals who had used the platform pre September 1st.
But what is Uniswap exactly? And if youāre not able to easily answer that question, you would also be forgiven for not knowing how to use it.
Uniswap is the decentralised swap protocol that has recently taken the crypto market by storm. Fuelled by the new wave of interest in āDeFiā crypto projects, just recentlyĀ Uniswap outdid CoinbaseĀ in exchange volume. To put that into perspective and use analogies tied to my passion for all things Marvel, Coinbase is like the āHydraā of crypto. Centralised, incredibly well funded and run by a cabal of questionable types in suits hell bent on appeasing their evil investors.
Who opposes Hydra? The Avengers of course! A scrappy, decentralised exchange protocol running on Ethereum and err, unicorns.
Using Uniswap instead of Coinbase, Binance, or any of the other centralised exchanges has significant advantages. Before we get to those, let me give you a brief Uniswap breakdown, so you get the picture.
Following that, Iāll tell you exactly how to use Uniswap so you can ride the degen bandwagon with me and invest in a load of projects you likely have little to no understanding of.
Letās do this, bitchesā¦
š¦ Uniswap Explained In 1 Minute š¦
Decentralised exchanges have been a thing in crypto for a while now.
There was Ether Delta, then IDEX, Kyber, and a few others. Since 2017, none of these āDEXesāĀ (short for Decentralised Exchange) really took off ā until Uniswap came along.
Uniswap isnāt a cryptocurrency exchange in the ordinary sense. Itās basically a framework enabling people like you and me to swap tokensĀ directlyĀ from our own personal wallets. No intermediaries, no custody, no KYC and no trust required. Follow me down the rabbit holeā¦
The way Uniswap makes the magic happen is by providing smart contracts allowing you to doĀ three things:
1. Swap tokens
2. Earn fees by adding liquidity
3. Remove liquidity from pools
Iāll go over these three functions in greater depth in a sec, but in a nutshell, Uniswap is a peer to peer marketplace for token trading much like the Pirate Bay is for sharing the latest Brazzers rips.
Advantages of Using Uniswap
Uniswap has a few prettyĀ sexyĀ advantages over traditional crypto exchanges.
āĀ AnonymousĀ ā You donāt have to KYC (Know Your Customer verification) to use Uniswap. Instead, trading is done directly from your wallet, so your public wallet address is the only identifier involved.
āĀ SecurityĀ ā Since Uniswap is non-custodial, meaning the protocol doesnāt hold funds, itās as secure as the Ethereum blockchain itself. Uniswapās smart contracts have been audited by several teams, including those who verified the MakerDAO contracts.
āĀ New TokensĀ ā Anyone can create an ERC20 token and pair it with ETH to generate liquidity for the new pool. For those that donāt speak Flemish, this means Uniswap gives you instant trading access to new tokens faster than anywhere else.
āĀ Low FeesĀ ā All it costs to use Uniswap is a small 0.3% fee per trade. Centralised exchanges tend to charge 0.5% or more per spot trade.
āĀ TrustlessĀ ā Unlike at centralised exchanges,Ā you hold your private keysĀ when you trade using Uniswap. Youāre the custodian of your tokens and trade them directly with the liquidity pools.
Disadvantages of Using Uniswap
Even though Uniswap sends tokens to your wallet via unicorns on the Asgardian Bifrost, there are, unfortunately, a few downsides.
āĀ Gas FeesĀ ā Since Uniswap runs on Ethereum, interactions with Uniswap smart contracts all require gas fees paid in ETH. As was seen in August 2020, too many Uniswappers equaled Ethereum network congestion which in turn translated into high gas fees. Ethereum 2.0 should alleviate this issue, though (Another time, another guide).
āĀ Failed TxsĀ ā If you donāt set your gas limit fees correctly, your transaction might fail. When it fails, you still pay for the attempt, meaning you lose gas fees but donāt get the trade you wanted.
āĀ Scam TokensĀ ā The advantage of anyone being able to create liquidity for tokens has a downside. Scammers create fake tokens to sucker people into providing liquidity for them. There are easy ways to spot these, which Iāll explain later.
How To Use Uniswap ā Guide To Token Swap
When you trade tokens using Uniswap, youāre just swapping them. Users add token liquidity to pools before you come along and deposit your tokens. In return for your deposit of token A to the pool, you receive token B in your wallet.
Anybody can use Uniswap, and even more interestingly, since Uniswap is a protocol, anyone can create an application on top of it. Despite that, UniswapāsĀ original appĀ is still the most popular.
Alright fuckers, letās get swapping.
Get a MetaMask Wallet
Before we get into Uniswap, the first thing you should do is create aĀ MetaMaskĀ crypto wallet. MetaMask lets you connect to blockchain applications like Uniswap from your browser ā itās pretty handy.
You can connect to Uniswap with other wallets like Trust Wallet or Coinbase wallet, but MetaMask is the most stable and trusted wallet to go with here in my opinion. At the end of the day, itās best not to complicate things ā most Uniswappers use MetaMask.
MetaMask installs as a browser extension. After installing, create your account, write down your seed phrase (donāt ever lose or share this), and youāre good to go.
Buy Some ETH
When researching other Uniswap guides I noticed most forget to tell you thatĀ you will need ETHĀ in your wallet before you do anything.
Uniswap only deals in Ethereum-based digital assets, otherwise known as ERC20 tokens. To swap these, you have to pay a gas fee to the Ethereum blockchain ā gas fees are paid in ETH.
Even if you already have ERC20 tokens and want to trade these for ETH or other ERC20s, youāllĀ stillĀ need Ethereum to cover the gas so be warned. If you donāt have ETH in your MetaMask wallet, your trades wonāt go anywhere. There is no way around this.
How much Ethereum should you buy? Well, it depends on how much swapping you plan to do and how congested the network is.
The best way to calculate all of this is to visit the gas station āĀ ETH Gas StationĀ ā½ļø
You should always plan on a roundtrip, which means gas for the swap, plus gas to move your new tokensĀ backĀ to Uniswap if youāre trading, or another wallet (such as a hardware wallet)
Head over to Uniswap
Jump over toĀ Uniswap.org. Once there, youāll see two options:
1. Launch App
2. Read the Docs
Since this is your first time, it wouldnāt hurt toĀ read the docsĀ first. Thereās a lot of big language stuff about automated liquidity protocols etc. If you care, these docs are a great read.
If you just want to swap some shitcoins, keep moving.
Launch Uniswap App
Itās go time. ClickĀ Launch App. This is the screen you find:
Assuming youāre logged out of MetaMask, youāll see the option toĀ connect to a walletĀ in the upper right-hand corner. Go ahead, click it. Now you get theĀ connect to a walletĀ screen.
Click MetaMask, which will pop up your MetaMask extension and prompt you to log in. Enter your credentials. Once done, youāre taken back to the swap screen. Now Itās time to swap.
Select a Token
If this is your first time using Uniswap, youāre probably trading ETH for an ERC20 token. By default, Uniswap has ETH in theĀ fromĀ field and allows you to select the token of your choice in theĀ toĀ field.
This means youāre sending ETHĀ fromĀ your walletĀ toĀ the liquidity pool for the token selected.
ClickingĀ select a tokenĀ brings up aĀ token listsĀ screen. These are pre-packaged lists of tokens according to categories, making it easy for you to browse tokens along the lines of your interests.
Choose a list, then browse and select the token you want.
Pro tip:Ā If you know ahead of time which token you want to buy, useĀ CoinGeckoĀ to get the token contract address, then paste it at the end of āĀ https://uniswap.info/token/. This method takes you directly to the token and lets you trade or add liquidity.
Enter Amounts
Now, enter the amount of ETH youāre swapping in theĀ fromĀ line.
TheĀ toĀ line will populate with the equivalent amount for the token youāre buying.
Something to be aware of here is the line below theĀ toĀ field aboutĀ slippage tolerance. Basically, slippage refers to your buy size relative to the amount of liquidity in that pool. If you have a large order relative to the pool size, slippage will increase (and your exchange rate declines).
In practice, slippage happens when you enter your order, click swap, but get an error because the price changed between when you entered the order and clickedĀ swap.
Less slippage = higher chance of the tokenās price shifting = greater odds your transaction wonāt happen. This is especially true for hot new tokens with tons of trading action happening. To mitigate this issue, you can increase slippage tolerance.
Remember though, the trade-off is more slippage tolerance means fewer tokens.
Hit Swap
Once everything is set up correctly, and youāre ready to go, hitĀ swap.
The next screen confirms the details of the transaction. If all looks good and as it should,Ā Confirm swap.
After you confirm the swap, MetaMask will pop up, asking you toĀ confirmĀ orĀ rejectĀ the transaction.
Well go on then, confirm the transaction!
Receive Tokens
Once you confirm the transaction in your MetaMask wallet, you have to wait a few moments for the tx to hit the blockchain. You can watch this process in action by clicking the Etherscan link given by Uniswap.
The more congested Ethereum is, the longer these confirmations will take. After a short wait, youāll see your tokens in your MetaMask wallet by clickingĀ assets.
You can now keep these tokens in your MetaMask wallet, sell them when (if) they moon, or simply throw them in a cold storage wallet and forget about āem till 2030 (Good luck with that shit). The choice is yours!
Uniswap Tips, Tricks, & Shortcuts
Uniswap is a very straightforward exchange protocol,Ā but, to the uninitiated, there are few tips and tricks to make your experience drama-free.
How To Avoid Scam Tokens ā ļø
Avoiding scam tokens is your top priority. Uniswap lets anyone create liquidity forĀ anyĀ ERC20 token ā even tokens that are āSextonā (cockney: āSexton Blake = Fake).
For example, a hyped token $CUCK (Not real) is hitting the market any day now. People canāt wait. Suddenly, $CUCK shows up on Uniswap.Ā Wait, the $CUCK team hasnāt confirmed anything, you wonder whether youāve caught it early.
People start throwing ETH at it. Thereās $100K sent to the pool before you know it when suddenly theĀ realĀ $CUCK team updates their Telegram saying they havenāt released the token or pictures of their gfās getting railed yet.
Avoiding scams like this isĀ simpleĀ ā always verify token contracts usingĀ CoinGeckoĀ andĀ Etherscan.
On Etherscan, thereās a convenient field calledĀ holders. This is the number of wallets holding the token. This field should have many holders ā if you see a token with a suspiciously low number of holders, itās likely āSextonā.
AlwaysĀ triple check the contract address so that it lines up on Uniswap, CoinGecko,Ā andĀ Etherscan before swapping.
Avoiding Failed Transactions
Nothing pisses me off more than a failed transaction.
You donāt get the tokens you wanted,Ā andĀ ETH gets deducted from your wallet to cover gas.
The best thing to do is to avoid failed Uniswap transactions in the first place. To do this, make terrific friends with theĀ Uniswap analytics page.
Search for the pair you want to trade ā letās use DIA-ETH for this example.
Now, scroll down toĀ transactions, then clickĀ swaps. On the left column, youāll seeĀ swap ETH for DIAĀ andĀ swap DIA for ETH. Click the one that applies to your swap.
This will take you to the blockchain record for that swap, allowing you to see the transaction details. Scroll down to theĀ transaction feeĀ field, thenĀ click to see moreĀ just below it.
See all that data? You view a few transactions like this to see what gas price (GWEI) was used in recent successful transactions. Use this info to set your swap for success ahead of time.
Conclusion ā Uniswap. I like it. A lot.
Much like my wife, Uniswap is far from perfect, but youāve got to give it a bit of leeway.
This is the cusp of decentralised exchange technology, and itās so well adopted that even Binance is feeling the heat. Thatās why theyāre listing digital assets more quickly these days, lest Uniswap take all the exchange volume away. Even more amusing is that since the $UNI token airdrop I mentioned at the start, Binance, Coinbase et al were quick to make $UNI trading available to their users in order to not lose face.
Getting Uniswap straight off the bat will, of course, make your experience a happy one. If something goes wrong, fear not. Instead, consult this guide again because it feels good to know that the time spent married to my bong and writing this guide, helped you use Uniswap for the first time successfully.
Fin.
You can follow me on Twitter: @TheDannyLes
Useful links:
Uniswap āĀ https://uniswap.org/
Metamask āĀ https://metamask.io/
ETH Gas Station āĀ https://ethgasstation.info/
Coingecko āĀ https://www.coingecko.com/en
Etherscan āĀ https://etherscan.io/