Ever tried to provide liquidity to a #DeFi protocol?

If not, you're missing out on some great yields on your #crypto.

In this post, I'll explain:

- How does a DEX / AMM work?

- What is a liquidity provider?

- Impermanent Loss / Tools

- Good LP opportunities right now πŸ‘‡ 🧢
1/

Decentralized exchanges like Uniswap, Sushiswap, TerraSwap are called automated market makers (AMM).

A traditional order-book exchange (think NYSE) will match a buy order with a sell order to facilitate a trade.

A decentralized exchange or DEX works a bit differently
2/

A DEX has 2 types of participants: the trader, and the liquidity provider.

The liquidity provider puts up an equal amount of both assets. (For example, $ETH and $USDC).

This "liquidity" provided allows traders to trade freely and automatically between the 2 assets.
3/

The most common type of DEX uses a "constant-product" AMM. The basic formula behind these is:

token_a_balance * token_b_balance = k, where k is some constant.
4/ Here's how it works:

Let's say you provide $500 of $ETH & $500 of $USDC.

Someone now buys $50 of ETH using $50 of USDC. The pool would now have $450 of ETH and $550 of USDC.

So the pool automatically adjusts the price of the ETH-USDC pair so that there is $500-$500 again βš–οΈ
5/

This is a simplified explanation but the gist is that the price is automatically adjusted by the AMM.

As long as there is enough liquidity in the pool, this price adjustment is negligible and there is not much slippage.
6/ If the pool is too small or the transaction size is big, there will be "slippage".

This means that your trade's effective price is worse because the price is being driven up by your trade itself. πŸ“ˆ
7/ Now, you might be wondering if the price on the DEX can deviate from the price on a centralized exchange (CEX) since it adjusts automatically.

Yes, it can -- but usually this will only be for a short while till arbitragers come in and profit from the spread. πŸ€‘
8/ For example:

- Suppose the $ETH - $USDC pair is trading at $3800 on UniSwap but $4000 on Coinbase

You could buy on UniSwap and Sell on Coinbase.

This would eventually lead to prices on the DEX and CEX converging.
9/ Here are the pros of AMMs πŸ‘

- Easy way to add liquidity to markets - especially useful for newer projects

- No need to wait for a counterparty for your trades

- Decentralized + self-executing contracts = no middlemen

- Smart contracts can be plugged into other protocols
10/ Here are the cons of AMMs πŸ‘Ž

- High slippage if pool size is small

- Smart contract exploit risk

- On-chain trading increases network congestion (UniSwap is one of the biggest gas hogs on $ETH)

- There is a risk of Impermanent Loss (see link)
blog.liquid.com/impermanent-lo…
11/ So, what are some good liquidity pool strategies?

(Low-risk) If you're bullish on a coin, LP for a stable pair:

- $LUNA/bLUNA (8% APR on @terraswap_io)

- $FTM / $TOMB (206% APR on @tombfinance + farming rewards)

- $USDC/$DAI/$fUSDT (22% APY on @beefyfinance $FTM chain)
12/ Here's a post explaining the $FTM - $TOMB strategy:
13/ You can also stake your LP tokens to earn even more yield.

Platforms like @beefyfinance are great for this because they also autocompound the yield to turn APR into APY.

14/

As an LP, impermanent loss risk is high if one coin moves a lot relative to the other coin in the pair.

If you think 2 coins will move together (ex: $MATIC & $ETH), then you can provide liquidity for the ETH-MATIC pair without worrying too much about the Impermanent Loss.
15/ You can also think of it as an automatic profit taking strategy:

- When $MATIC goes up relative to ETH, you're taking MATIC profits into ETH

- When $ETH goes up relative to MATIC, you're taking ETH profits into MATIC

Automatically balancing your ETH and MATIC positions.
16/ As always, @finematics does a great job explaining Impermanent Loss. Check out this video:

17/ Also check out @ApyVision - they have a great tool to help figure out your LP performance and find LPs with good yield.



@coinhall_org is another good place to check LP yields on the Terra ecosystem.
18/ This is a useful impermanent loss calculator:
dailydefi.org/tools/imperman…
19/ Hope this helped! In future threads, I will discuss:

- Farming your LP tokens to maximize rewards πŸ‘¨β€πŸŒΎ

- All the ways to earn more $LUNA

- How @anchor_protocol pays you to borrow money

+++

Follow for daily #DeFi content - happy farming! 🚜

#WAGMI

β€’ β€’ β€’

Missing some Tweet in this thread? You can try to force a refresh
γ€€

Keep Current with shivsak.eth

shivsak.eth Profile picture

Stay in touch and get notified when new unrolls are available from this author!

Read all threads

This Thread may be Removed Anytime!

PDF

Twitter may remove this content at anytime! Save it as PDF for later use!

Try unrolling a thread yourself!

how to unroll video
  1. Follow @ThreadReaderApp to mention us!

  2. From a Twitter thread mention us with a keyword "unroll"
@threadreaderapp unroll

Practice here first or read more on our help page!

More from @shivsakhuja

23 Dec
Recently, I wrote about how I like the Fantom ecosystem, and how I'm bullish on $FTM.

One interesting farming opportunity in the Fantom ecosystem is @tombfinance.

If you own $FTM, here are some great strategies that can yield 1000-2000% APY.

πŸ‘» Explained below πŸ‘‡
1/ Here's my post explaining why I find $FTM interesting:
2/ @tombfinance has a token called $TOMB, which is pegged to the value of $FTM.

The peg deviates quite a bit at times, but in the long run, it should trend towards the value of $FTM.

You might be wondering why one would need a token that’s pegged to the value of $FTM.
Read 16 tweets
19 Dec
The $LUNA - $bLUNA Slow Burn:

Here’s another way to make some more $LUNA. (18-65% APY)

APR has gone down recently, but it fluctuates.

LUNA OGs will know about this one, but it's very low risk and an easy strategy for newcomers πŸŒ– 🧢 πŸ‘‡ Image
1/ First, if you're not bullish on $LUNA long term, read this thread about the Terra ecosystem (and the linked threads).

2/ Now that you understand the Terra ecosystem, you should be sufficiently desperate to stack more $LUNA.

A couple days ago, I wrote about a strategy to get cheap bLUNA.



But that strategy relies on unpredictable dips that liquidate borrowers.
Read 9 tweets
18 Dec
20% on stablecoins too tame for you?

How about 487% with no price exposure to #crypto?

Ever heard of market neutral strategies?

These can make money whether the market goes up or down..

Here's how they work, and some good one to get started with in #DeFi πŸ‘‡ 🧢

$BTC $ETH
1/ A market neutral strategy is one in which your ROI is independent of the price of the asset.

Typically, this involves taking a long and a short position on an asset.

⬆ long position = betting on the price going up.

⬇ short position = betting on the price going down.
2/ Consider this:

- You take a $50 long position on coin A
- You take a $50 short position on coin A

You now have a $100 market-neutral position.

But if you're long and short , where's the damn return coming from?!
Read 12 tweets
17 Dec
Here’s an infographic that shows the estimated size of various asset classes.

Crypto is only $2.5T

All these assets combined are > $500T.

Most of these assets will get tokenized over the next decade or two, and the protocols that tokenize them will capture a lot of that value. Image
1/ Why would we want to tokenize assets like stocks?

– Globally accessible, tradeable 24/7/365
– Transparency
– Verifiable ownership (unlocks doors like voting / rewards)
– Programmable asset is infinitely more useful (collateral, derivatives, automation, direct transfers, etc)
2/ Why tokenize real-estate?

– Fractionalized investing
– Globally accessible, tradeable 24/7/365
– Diversification through bundling
– Add liquidity to illiquid market
– Reduced friction of transactions
– Plug into smart contracts to collateralize, create derivatives, etc
Read 6 tweets
16 Dec
Here’s a DeFi strategy to stack more $LUNA

Low risk if you play it right.

I previously explained how to use @TeamKujira’s Orca protocol to get crypto at cheaper-than-market prices.

In this thread, I explain how you can loop that process to amplify your returns 🧡 πŸ‘‡
1/ For reference, here's the thread on how you can get cheap crypto using Kujira's Orca protocol:



Keep reading for the looping strategy that can boost your $LUNA stack.. ➿
2/ Here are the steps:

1. Bond $LUNA for bLUNA on @anchor_protocol

2. Deposit bLUNA as collateral on Anchor

3. Borrow $UST from Anchor (***)

4. Use borrowed $UST to snipe cheap $bLUNA on Orca

5. Withdraw bLUNA from Orca, and repeat steps 2-4 to increase your LUNA stack.
Read 8 tweets
16 Dec
I wanted to see how some of the OG cryptocurrencies performed over the years, so I found some data on @CoinMarketCap and made infographics.

Comment below if there's any #cryptographics you'd like to see in the future!

I just need an excuse to make infographics πŸ˜†

Like / RT! ImageImageImageImage
Data was measured for mid-december each year using @CoinMarketCap's history tool.

Annualized returns for each currency were as follows:

- $BTC: 119%
- $ETH: 302%
- $DOGE: 228%
- $LTC: 87%
- $XRP: 113%
Price History measured for Bitcoin $BTC (mid-december):

2015 $ 433.75
2016 $ 790.53
2017 $ 19,140.76
2018 $ 3,252.84
2019 $ 7,152.30
2020 $ 19,142.38
2021 $ 48,336.48 Image
Read 7 tweets

Did Thread Reader help you today?

Support us! We are indie developers!


This site is made by just two indie developers on a laptop doing marketing, support and development! Read more about the story.

Become a Premium Member ($3/month or $30/year) and get exclusive features!

Become Premium

Too expensive? Make a small donation by buying us coffee ($5) or help with server cost ($10)

Donate via Paypal

Or Donate anonymously using crypto!

Ethereum

0xfe58350B80634f60Fa6Dc149a72b4DFbc17D341E copy

Bitcoin

3ATGMxNzCUFzxpMCHL5sWSt4DVtS8UqXpi copy

Thank you for your support!

Follow Us on Twitter!

:(