Over the last few weeks, I have been asked by several people to explain the process of providing liquidity on a decentralized exchange like Uniswap. In an effort to answer this question, I have put together a quick blog post that explains it all from a laymanβs perspective. Providing liquidity is an excellent way to put your existing crypto to work, but it doesnβt come without risk. Read on to learn more.
Think of a liquidity pool as a big pot where people deposit cryptocurrencies for use in trades on a decentralized exchange (DEX). On a dex, instead of having buyers and sellers make trades directly with each other, trades instead happen against this pot of crypto assets.
For example, if you want to trade ETH for USDC on Uniswap, youβre not buying directly from another person. Instead, youβre trading against a pool of ETH and USDC that other people have deposited. This pool ensures that thereβs always some amount of each cryptocurrency available for trade. Without liquidity pools, there wouldnβt be any assets for you to trade.
When you place a trade on a DEX, youβre essentially interacting with a liquidity pool. Hereβs a simple breakdown:
Depositing Funds: Users deposit pairs of crypto coins into a liquidity pool. For instance, if you add liquidity to an ETH/USDC pool, youβll deposit both ETH and USDC into the pool.
Making a Trade: When you make a trade (say, you want to swap ETH for USDC), the DEX calculates the amount youβll get based on the ratios of the assets in the ETH/USDC liquidity pool we talked about above. The more you trade, the more the balance of that pool changes, which affects future trades and prices. For example, letβs say there is a liquidity pool with 1000 in USDC and an equivalent amount of ETH. Someone buys $100 of ETH using USDC. Now, the pool has $1100 in USDC and only $900 in ETH. This will be reflected by a change in the price of ETH on that DEX.Β
Earning from Fees: As a liquidity provider, you earn a share of the transaction fees charged by the DEX. Each time a trade is executed, a small fee is collected, and a portion of this fee is distributed among all liquidity providers. The more liquidity you provide, the greater your share of the fees will be. On top of this, many DEX's incentivize liquidity pools by adding emissions of their own token, such as AERO.
Automated Market Makers (AMM): DEXβs use AMMβs to manage liquidity pools. An AMM is a smart contract that automatically adjusts the prices based on the amount of each asset in the liquidity pool. It ensures that trades can be executed continuously without needing a traditional order book.Β
Providing liquidity doesnβt come without risk. While the process is entirely managed with a smart contract, there is still risk involved. As always, you must consider smart contract security, market stability, and the fee structure. However, the primary risk of providing liquidity is called βImpermanent Lossβ (IL).
Impermanent loss occurs when the value of the assets in your liquidity pool changes compared to holding them in your wallet. This happens because the prices of the assets in the pool fluctuate, affecting the balance of assets and their relative values. If you provide liquidity to a pool and the price of one asset rises significantly compared to the other, you might end up with less of the appreciating asset when you withdraw your funds. This could result in a lower value of your total assets compared to if you had simply held them outside the pool.
Consider the following scenario using an ETH/USDC pool to better understand impermanent loss:
Initial Deposit: You deposit 1 ETH (worth $1000) and $1000 USDC. The total value is $2000.
Price Change: ETHβs price rises to $1200
Withdrawn Value: After the price change, you withdraw and get .85 ETH and $1020 USDC. Value of .85 ETH at $1200 = $1020. Added with the $1020 USDC, you have $2040.Β
Value if Held: If you had just held the 1 ETH and $1000 USDC, it would be worth $1200 (ETH) + $1000 (USDC) = $2,200.
Impermanent Loss: Value in the pool: $2040. Value if held: $2200. Impermanent Loss is $2200 - $2040 = $160.
In the above example, impermanent loss is $160 or 7.27%, meaning you would have been better off holding the assets rather than providing liquidity. However, you have to consider any incentives or fees earned before calculating overall profitability.
Now that you understand the basics, I will walk you through the steps for providing liquidity. In the example below, I will be providing liquidity for TN100x & ETH on Aerodrome. This pool is currently incentivized with AERO emissions, making the APR very lucrative. Please note that the process for adding liquidity may be slightly different depending on which DEX you are working with.
Step 1: Go to https://aerodrome.finance/ and click the 'Connect' button in the top right hand corner. This will connect your wallet to Aerodrome.
Step 2: Navigate to the βLiquidityβ tab at the top of the page. This will take you to a page with all active liquidity pools on Aerodrome. From here, you can either search for the pool you would like to deposit funds into. Search for TN100x and click the βDepositβ button.
Step 3: On this page, you deposit an equal amount of both assets into the liquidity pool. In our case, we will be depositing TN100x and ETH. Input the amounts you would like to deposit and then click the βAllowβ buttons to the right for both WETH & TN100x. After you allow both TN100x & ETH, click Deposit and confirm the transaction in your wallet.
Congratulations! You are now providing liquidity on Aerodrome. But, weβre not quite done. Now we need to stake your deposit to earn incentivized AERO emissions.
Step 4: Navigate to the βDashboardβ tab again. From there, you will see the liquidity that you just provided, along with options to βdepositβ βwithdrawβ and βstakeβ. Choose βStakeβ.
Step 5: On this page, you will see a sliding bar which allows you to determine how much of your deposit you want to stake. Choose the amount you want to stake and then click βAllow vAMM-WETH/TN100xβ. After the contract is allowed, click the βStakeβ button to finish the process.
Thatβs it! You are now providing liquidity for TN100x & ETH on Aerodrome and earning 250% APR in AERO emissions. Please note that the APR will fluctuate depending on a number of factors including volume.
This was an introductory lesson on providing liquidity. There is a lot more to it than this, but it should be a good place for you to start. In our next lesson, we will cover providing concentrated liquidity on a DEX like Uniswap. Concentrated liquidity allows you to be more capital efficient and earn more in fees but it also increases the risk of impermanent loss.
Now, get out there and give it a try! Itβs honestly the best way to learn about providing liquidity. Start small and take your time until you get the hang of it!
Over 100 subscribers
really helpful and informative. thanks famπ«Ά
Thank you so much,this is very educative.thanks also for the enlightenment.
Thank you! As a beginner the explanations and steps were clear and concise.
Moxie emissions on Aerodrome have been over 350% all week. If you have unused moxie and you DONβT have it in LP, youβre really missing out on some juicy rewards.
Drop the tutorial pls
This is with tn100x but you can swap out moxie and all the steps are the same. https://paragraph.xyz/@maretus.eth/lesson-on-liquidity
I agree, this is great! And then the aero token can be taken to rebase
Is this also similar to earning rewards through staking?
Kind of, yes
Oh, I need to try that right away!
APR 364...% awesome
Thanks for good information bro
yup im already follow u n have it in LP
Best way!! I think this is more beneficial than buying fan tokens.
Can i unstake all the moxie any time or there are some specific time conditions in this?
You can unstake at anytime.
Moxie LP rewards on Aerodrome have been holding steady at 350%+ APR for the last 3 days. Over 60 AERO per day from this size deposit currently. π€―
I've only got a $50 total deposit in there, but it's earning FAR better than any savings account ever, so I'll be adding more as I go. Build from scratch and see how far it can grow. Perks of being chronically online is I can monitor and move it if it starts to drop too much.
This is something like stake? I can withdraw anytime?
Yea, itβs kind of like staking. You provide eth and moxie to aerodrome in a smart contract and receive aero rewards as emissions. Hereβs a blog post explaining it: https://paragraph.xyz/@maretus.eth/lesson-on-liquidity
Now those are some juicy rewards π Seriously need to stop sleeping on LPs
Seems like a decent bet. Volume should be fairly consistent considering everyone has more tokens to sell everyday
Yea and aero has had a fairy steady price for months so the bottom shouldnβt fall out of it either. Although Iβm just converting it all into moxie or degen rn.
Consider holding! I think aero is gonna rip https://x.com/wagmialexander/status/1823142708153667991?s=46&t=a2fQXreBOjO_PT7993nbig
πx70 for you
Thank you pedram
How i wish have funds like that π
Might need to get in on this...
https://media0.giphy.com/media/nuRXXyy020kta/giphy.gif?cid=6c09b9529w1jpdmeshuncrxthcqms16vygxze8znqa9oyifx&ep=v1_internal_gif_by_id&rid=giphy.gif
Debank?
Wow, there are a lot!! If the moxie falls further, should I try it too?
You should do it regardless of the moxie price?
Translation error! I was asking if I should do it, too.
Damn that is what you call yield.
Yeah for real. Aerodrome is awesome. I actually love simplified LPs rather than V3 Uniswap which always ends up out of range unless you set it to full and thatβs hard for a gambler like me lol.
Iβve never used it, but all for simplicity!
One thing Warpcast might benefit from is the ability to write threads in the style of Twitter/X. They are useful for stringing together complex arguments or unpacking information in a sequential way. In my experience they also drive engagement because it can be exciting for other users to see what comes next in a particularly captivating thread and incentivize them to wait around until it finishes playing out. Some particularly erudite or evocative threads live on as reference points that people can return to in order to cite certain information and arguments. Personally, I really enjoy sharing important passages from books in threads that others can follow along with and that I can also return to for citations. It lets others get the key arguments of the book and also serves as a reference point for myself for future.
I think this could easily be a standalone app too. π€
Maybe try SuperCast when you want to write long threads. Last time I checked you can add more comments as you compose.
on roadmap
Nice
The roadmap looks huge, is it visible somewhere with important short, medium, and long-term developments?
I was asking last year but dwr said it wasn't an important feature π€·π½
Any way to make it so that when we clock "show more" it expands right there on the current screen instead of entering the cast view?
Hi Varun, is it possible to add in the roadmap: - enable us to choose the order that we see our feed? Like twitter Personally, when I open my feed I want to see the last cast published to the older one, and not random as present today. That facilitates consuming the feed and to not miss any information. I personally check twitter 1-2 per days, and stop scrolling when I see the tweet I already saw at my previous check Thanks in advance! :)
+100 π₯ FIRE just for you. Check balance for confirmation.
yo, would love to have you check out supercast! we have threads, although the mobile experience is slightly limited compared to warpcast
really liking seeing Murtaza in my feed very refreshing takes outside the normal crypto noise
Iβm definitely more likely to read a 1000-word thread than a single 1000-word tweet.
I kinda think blog posts from paragraph serve the purpose even better here. Have you seen those? It condenses a blog post into a single frame that you can click arrows thru to read paragraph by paragraph. Here is an example: https://paragraph.xyz/@maretus.eth/lesson-on-liquidity
I have, honestly its good but I'm just so used to threading
Totally get it, threading can be a great way to organize thoughts... Maybe the read in-line experience may evolve into something that takes the best of threading from a reader *and* writer perspective.
great suggestion here, murtaza! i think supercast does this already but itβll be a super helpful warpcast adds it to their roadmap!
500 $farther
Yeah u can already but the wc algo is weird and doesn't display thread properly. Also replies tend to be more muted in selection on the feed, so quote casts tend to fare better
This is a great explanation on liquidity pools, how they work, and how to earn. /masks is another token that's super easy to provide liquidity for π cc: @maretus https://paragraph.xyz/@maretus.eth/lesson-on-liquidity?referrer=0x495E4f8C59f9b2df760F77C42f27ea514697bf73
Are you still sleeping on Aerodrome LP rewards for TN100x? You really shouldnβt be. Whatβs that? You donβt know how to add LP? Itβs your lucky day - I wrote a blog post about it, complete with example screenshots! https://paragraph.xyz/@maretus.eth/lesson-on-liquidity
Mmmmm, Aero vote/locking rewards π₯Ή LP auto adjust is nice feature also (forget name)
I have never locked aero. Is there more rewards from that?
Yes, weekly voting rights. Claim end of each week. cl200 degen/with 100% voting % for me for long time now yields AERO degen WETH
I am indeed sleeping and need to wake tf up ππx69
Thanks! πx 300
I'm not! I am earning too hehe!
Wtf Iβm staking only 100k ham hahaha you 3 milly
πx5000
the rewards is monthly? πx169
great advice here.... love my @aerodrome rewards....
π π
underrated af!
Another Wednesday, another Weekly Digest, where we spotlight a few great pieces of writing over the past month or so. First up is @stc and his fascinating explorations into the concepts and methods behind his algorithmic plotter graphics series βProcedural Drawingsβ. https://paragraph.xyz/@stc/time-shifting
Next, @rtfkt dives into the lifecycle of online communities β Inception, Establishment, Maturity, and Mitosis or Revival βΒ and highlights the importance of communication and value to prevent community stagnation and fragmentation. https://paragraph.xyz/@kalen/the-pulse-of-online-communities-navigating-the-lifecycle
@zoz.eth writes about how decentralized social graphs are evolving into dynamic ecosystems, but the primary challenge is achieving a self-sustaining growth cycle. Success in this domain will come from focusing on high-quality, engaging content rather than superficial feature tweaks, ensuring the amplification of ideas that attract and retain thoughtful users. https://paragraph.xyz/@0xzoz/the-infinite-client-1
@ispeaknerd.eth discusses strategies for securing onchain and social identities in the web3 landscape using Ethereum Name Service (ENS) and Farcaster, emphasizing the importance of managing multiple wallets for different activities to safeguard oneβs reputation and digital assets. https://paragraph.xyz/@ispeaknerd.eth/passport-control-for-onchain-and-social-identities
Over the last few weeks, I have had a number of people ask me how to provide liquidity for things like /lp or /farther. As someone who prefers to learn from experience, I wasted a lot of time and even more money learning how liquidity pools worked. So, I'm sharing this knowledge in a blog post! https://paragraph.xyz/@maretus.eth/lesson-on-liquidity
πx5000
These have ALWAYS been something I didn't venture into... Maybe I should start? Thanks for this @maretus! π x 69 $degen
Well, if youβre already holding tn100x and eth, you might want to consider it. Aero emissions are really good rn. My 2k in LP is making almost $20/day in emissions. π€·ββοΈ
Thank you for sharing kingπ«ΆπΎπ
great content. ππ
Thanks mate. @jpfraneto.eth encouraged me to spend more time producing content like this for the community and I think heβs right, so Iβm going to keep it up. Try to give people a more normie understanding of stuff. π€·ββοΈ
this is the kind of stuff FC needs π―
Lovely write up man. It was a good read 15 $degen
Amazing info! Thanks for sharing! Very much needed info around here! 10 $degen 500 $wild
I've tried it several times before, but I never really understood it. Finally, a great explanation. Thank you for that. πx300
Hell yea! Iβm glad you liked it. Aerodrome makes it rather easy with incentivized pools. Next blog post will be about concentrated liquidity at places like Uniswap.
π x20
πx10
Thanks :)
Great explanation πππ Simple enough for anyone to follow. πx69
Bookmarked this to check out when I have a little more time, always wanted to learn/know more about LP's. Thanks for taking the time to share this!
Hell yea dude! I hope itβs helpful for you. I tried to make it super easy and simple to follow :)