Obafemi (The Crypto Guy) Profile picture
Community Manager. Crypto Trader & DeFi Content writer. Helping you learn about Crypto and DeFi. You either stay informed or you don't, your choice ๐Ÿ˜‰! NFA

Aug 7, 2022, 14 tweets

Let's Read about Liquidity Pools.

They are a VERY IMPORTANT component in Web3 / DeFi.

๐—ช๐—ต๐—ฎ๐˜ ๐—ฎ๐—ฟ๐—ฒ ๐—Ÿ๐—ถ๐—พ๐˜‚๐—ถ๐—ฑ๐—ถ๐˜๐˜† ๐—ฃ๐—ผ๐—ผ๐—น๐˜€?

How do they function?

What is their utility?

A Thread ๐Ÿงต

๐Ÿ‘‡๐Ÿ‘‡๐Ÿ‘‡

A Liquidity pool is a pair of tokens pulled together proportionally in a smart contract.

They are used to provide liquidity for Decentralised Exchanges (DEXes).
1/n

๐—ข๐—•๐— 

When we look at Stock Exchange or Centralised crypto exchanges like Robinhood and FTX; they operate on the order book model (ODM).

An order is placed to buy a stock or crypto at certain price and the transaction is successful if someone is willing to sell at that price.

1. The buyers trybto buy as low as possible.

2. The sellers try to sell as high as possible.

But in a situation where the buyers and sellers do not agree on a price, what happens? This is where the Market Makers come in.

3/n

Market Makers (MM)

The Market Makers are the middle ground for buyers and sellers. They are always ready to buy and sell. They provide liquidity for the Market.

In DeFi; OBM and Market Makers can't operate effectively.

4/n

๐—ช๐—ต๐˜† ๐—ข๐—•๐—  ๐—ฎ๐—ป๐—ฑ ๐— ๐—ฎ๐—ฟ๐—ธ๐—ฒ๐˜ ๐— ๐—ฎ๐—ธ๐—ฒ๐—ฟ๐˜€ ๐—ฐ๐—ฎ๐—ป'๐˜ ๐˜„๐—ผ๐—ฟ๐—ธ ๐—ถ๐—ป ๐——๐—ฒ๐—™๐—ถ

- It's slow and expensive.
- Each interaction has a gas fee.
- Market Makers would lose money.

A Liquidity Pools is used with an Automated Market Maker being it's important component.

5/n

How Liquidity Pools Work

- Equal proportions of the tokens are locked in.

E.g. $50 worth of DAI and $50 worth of #ETH

- The Automated Market Maker (AMM) allows the tokens to be traded in and out of the liquidity pool whilst still keeping it equal in proportion.

6/n

For example: Buying ETH with DAI increases the supply of DAI whilst making it cheaper and ETH becomes more expensive, Vice versa..

-#Liquidity pools can hold assets as much as $2 million dollars so a trade of $2000 for example won't affect the prices very much.

7/n

- DEXs also help in trading assets between different Liquidity Pools. For example ETH can be trade with SDL by connecting ETH/DAI pool to SDL/DAI pool. This process is called ROUTING

8/n

๐—”๐—ฑ๐˜ƒ๐—ฎ๐—ป๐˜๐—ฎ๐—ด๐—ฒ๐˜€ ๐—ผ๐—ณ ๐—Ÿ๐—ถ๐—พ๐˜‚๐—ถ๐—ฑ๐—ถ๐˜๐˜† ๐—ฃ๐—ผ๐—ผ๐—น๐˜€

-Simplifies DEX trading by performing transactions at real-time market prices.

-Allows people to provide liquidity and receive rewards (Liquidity Mining).

-Uses publicly viewable smart contracts making it secure.

9/n

๐—ฃ๐—ผ๐—ฝ๐˜‚๐—น๐—ฎ๐—ฟ ๐—น๐—ถ๐—พ๐˜‚๐—ถ๐—ฑ๐—ถ๐˜๐˜† ๐—ฝ๐—ผ๐—ผ๐—น ๐—ฝ๐—ฟ๐—ผ๐˜ƒ๐—ถ๐—ฑ๐—ฒ๐—ฟ๐˜€

Uniswap

Curve

Balancer

๐Ÿ”š

Recap โคต๏ธ
0: Let's read about Liquidity Pools
1: Liquidity Pools (Definition)
2: Order Book Model (OBM)
3: OBM cont'd
4: Market Makers (MM)
5: Why OBM and Market Makers can't work in DeFi
6-8: How Liquidity Pools Work
9: Advantages of Liquidity Pools.
10:Liquidity Pools ProvidersI

If you found this thread helpful, hit the like and retweet button on the first tweet!

Check out last weeks thread on Stable coins๐Ÿ‘‡๐Ÿ‘‡๐Ÿ‘‡

Share this Scrolly Tale with your friends.

A Scrolly Tale is a new way to read Twitter threads with a more visually immersive experience.
Discover more beautiful Scrolly Tales like this.

Keep scrolling