#aelfDeFi #DeFi #aelf What is a liquidity pool?

1/ Liquidity providers (LPs) add funds to liquidity pools.

You could think of a liquidity pool as a big pile of funds that traders can trade against.
2/ In return for providing liquidity to the protocol, LPs earn fees from the trades that happen in their pool.

In the case of Uniswap, LPs deposit an equivalent value of two tokens – for example, 50% ETH and 50% DAI to the ETH/DAI pool. #aelfDeFi #DeFi #aelf
3/ Hang on, so anyone can become a market maker? Indeed!

It’s quite easy to add funds to a liquidity pool.

The rewards are determined by the protocol. For example, Uniswap v2 charges traders 0.3% that goes directly to LPs. #aelfDeFi #DeFi #aelf
4/ Other platforms or forks may charge less to attract more liquidity providers to their pool.

Why is attracting liquidity important?

Due to the way AMMs work, the more liquidity there is in the pool, the less slippage large orders may incur. #aelfDeFi #DeFi #aelf
5/ That, in turn, may attract more volume to the platform, and so on.

The slippage issues will vary with different AMM designs, but it’s definitely something to keep in mind.

Remember, pricing is determined by an algorithm. #aelfDeFi #DeFi #aelf
6/ In a simplified way, it’s determined by how much the ratio between the tokens in the liquidity pool changes after a trade.

If the ratio changes by a wide margin, there’s going to be a large amount of slippage.
#aelfDeFi #DeFi #aelf
7/ To take this a bit further, let’s say you wanted to buy all the ETH in the ETH/DAI pool on Uniswap.

Well, you couldn’t!

You’d have to pay an exponentially higher and higher premium for each additional ether, but still never could buy all of it from the pool.
#aelfDeFi
8/ Why? It’s because of the formula x * y = k.

If either x or y is zero, meaning there is zero ETH or DAI in the pool, the equation doesn’t make sense anymore. #aelfDeFi #DeFi #aelf

• • •

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

Keep Current with ælf

ælf 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 @aelfblockchain

24 Oct
#aelfDeFi What is impermanent loss?

1/ Impermanent loss happens when the price ratio of deposited tokens changes after you deposited them in the pool.

The larger the change is, the bigger the impermanent loss.

#aelf #blockchain #aelfblockchain #aelfFAQ #aelftech Image
2/ This is why AMMs work best with token pairs that have a similar value, such as stablecoins or wrapped tokens.

If the price ratio between the pair remains in a relatively small range, impermanent loss is also negligible. #aelf #blockchain #aelfblockchain #aelfFAQ #aelftech
3/ On the other hand, if the ratio changes a lot, liquidity providers may be better off simply holding the tokens instead of adding funds to a pool.

Uniswap pools like ETH/DAI that are quite exposed to impermanent loss have been profitable thanks to the trading fees they accrue
Read 5 tweets
22 Oct
#aelfQA 1/ How does an automated market maker (AMM) work?

An AMM works similarly to an order book exchange in that there are trading pairs – for example, ETH/DAI.

However, you don’t need to have a counterparty (another trader) on the other side to make a trade. Image
2/ Instead, you interact with a smart contract that “makes” the market for you.

There’s no need for counterparties in the traditional sense, as trades happen between users and contracts.

Since there’s no order book, there are also no order types on an AMM.
3/ What price you get for an asset you want to buy or sell is determined by a formula instead.

Although it’s worth noting that some future AMM designs may counteract this limitation.

So there’s no need for counterparties, but someone still has to create the market, right?
Read 4 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 Become our Patreon

Thank you for your support!

Follow Us on Twitter!