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, we'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…
Contributor: @shivsakhuja
Like / RT / Follow for threads about #crypto and #DeFi nearly daily.

Let us know what topics you're interested in learning about next!

#WAGMI

• • •

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

Keep Current with Momentum 6 🚀

Momentum 6 🚀 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 @Momentum_6

15 Jan
💊M6 Daily Bullets💊
📅Friday - January 14th📅

Platypus Beta launch is live

⁍Liquidity mining is live with very attractive APY on stables, and you can boost it by holding enough vePTP.
2/2
⁍Platypus is another protocol recognizing that voting escrow economics combined with reasonable liquidity mining incentives creates solid, sustainable protocol growth.
Evmos busts on the scene with some proper tokenomics

⁍Evmos is bringing EVM compatibility to Cosmos and is expected to be live in a few weeks. They’ll be demonstrating their best version of equitable distribution of value across the entire tech stack.
Read 19 tweets
13 Jan
A few guides on how to earn high interest on your stablecoins using #DeFi.

By far, the easiest and most passive (but also high yield) way is @anchor_protocol, which currently pays out ~19.5% APY in UST.

Let's see how that works. 🧶🪡👇
1/ For reference, here's a step-by-step guide about how to use @anchor_protocol to earn 19.5% APY on your stablecoins:
2/ @anchor_protocol facilitates decentralized lending and borrowing.

With this protocol:
- Lenders are earning 19.5%
- Borrowers are paying 18.65%

Wait a minute -- borrowers are paying less than lenders are earning?!

Yes, and it's not a ponzi -- here's how it works...
Read 23 tweets
12 Jan
1/ M6 portfolio @_parastate aims to build a #MultiChain future with a smart contract platform bridging the app and dev ecosystem between $DOT and $ETH, and other chains that want to provide $ETH compatibilities.

TLDR of @banklessDAO interview with ParaState founder Marco Chen:🧵
2/ ParaState is an on-chain runtime for developer tools providing bi-directional compatibility between Ethereum and non-Ethereum based smart contracts.
3/ Projects have to decide between building on Ethereum (the largest) or other chains (less established), ParaState allows them to build on different ecosystems while staying compatible with Ethereum.
Read 10 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!

:(