#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?
4/ Correct.

The liquidity in the smart contract still has to be provided by users called liquidity providers (LPs)."

• • •

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
23 Oct
#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. Image
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
Read 8 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!