0/ Until today, L2 AMM designs entailed moving the AMM to L2 in its entirety including liquidity, resulting in undesirable fragmentation of base layer liquidity

@StarkWareLtd's concept of a distributed AMM (dAMM) fixes this

A 🧵 on what dAMM is and how it works (0/15) ✨👇 Image
@StarkWareLtd 1/ The concept of the distributed AMM (dAMM), is an L2-powered AMM design that allows liquidity to remain on L1, while users trade on L2
@StarkWareLtd 2/ Beyond allowing L1-based Liquidity Providers (LPs) to participate in and profit from #L2 AMM activity, this design also allows for multiple L2 solutions to leverage the same L1 AMM infrastructure
@StarkWareLtd 3/ So how does it work? The #dAMM has an off-chain operator, which processes batches of L2 trades. The Operator is the sole entity trading against an L2 powered AMM contract on L1, settling all trades by executing the net difference against said contract at the end of each batch
@StarkWareLtd 4/ Towards the users on L2, the operator mimics the #AMM contract’s logic and offers trade quotes based on the state of the AMM at the beginning of the batch, also taking the subsequent L2 trades within the batch into consideration
@StarkWareLtd 5/ #dAMM functionality also enables cross-L2 trading, allowing the same liquidity pool to be used across multiple L2s asynchronously, thereby allowing scaling the AMM without liquidity fragmentation
@StarkWareLtd 6/ By "asynchronous access" to the liquidity pool, @StarkWareLtd refers to the ability for one L2 to process dAMM transactions without mandatory communication with other L2s using the same dAMM L1 liquidity pool
@StarkWareLtd 7/ The dAMM achieves this by separating the liquidity pool from the pricing state. In this design, the contract agrees to provide whatever price is offered by the state as long as it has enough liquidity to fulfill the quote
@StarkWareLtd 8/ Since funds are decoupled from state, multiple states can be put on top of the same liquidity pool. By subsequently assigning each #L2 its own dAMM state, an asynchronous cross-L2 AMM is born
@StarkWareLtd 9/ Uniquely, the design supports multiple independent markets; some on L2 and some on L1, which are all sharing the same #AMM infrastructure and liquidity
@StarkWareLtd 10/ Compared to traditional AMM designs suffering under fragmented liquidity, this boasts multiple advantages. Since the AMM is available on multiple markets, it benefits from more trades, which in turn means more fee revenue being generated
@StarkWareLtd 11/ If more fees for the same liquidity are earned, this means better capital efficiency, which is likely to attract more liquidity and more liquidity means a better price for traders, restarting this virtuous cycle
@StarkWareLtd 12/ Additionally, in $ETH 2.0's danksharding’s design, the beacon blockchain will contain all the data from shards. This is achieved by having both Beacon blockchain and shard (rollup) data validated by a “committee” composed of validators
@StarkWareLtd 13/ In this way, transactions from the same beacon blockchain can freely access sharding data and transactions can be synchronized between rollups and the Ethereum base layer, greatly improving on data availability
@StarkWareLtd 14/ This greatly simplifies rollup structure as problems such as confirmation delay will no longer exist and opens up new possibilities of cross-rollup composability
@StarkWareLtd 15/ One example are synchronous calls of various L2s with an #L2 powered but $ETH L1-based AMM contract, taking the dAMM design to the next level
@StarkWareLtd If you liked this thread please support with a a follow & retweet 🙏

• • •

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

Keep Current with expctchaos.lens🏴

expctchaos.lens🏴 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 @expctchaos

Jun 13
0/ Rollups are a key technology in blockchain scaling, even beyond $ETH. #Cevmos for example enables the deployment of EVM rollups on top of a @EvmosOrg-based rollup leveraging @CelestiaOrg's modular data availability layer

Short 🧵 on the Cevmos stack & its purpose (0/11) ⚛️👇 Image
@EvmosOrg @CelestiaOrg 1/ #Cevmos (short for Celestia/EVMos/CosmOS) is a modular stack for building EVM-based rollups that use #Celestia as a DA & consensus layer. The Cevmos stack will center around an optimized settlement chain for rollups, based on #Evmos
@EvmosOrg @CelestiaOrg 2/ What is Celestia?

#Celestia is a modular consensus & data availability layer built on the Cosmos SDK that aims to enable anyone to easily deploy decentralized blockchains without the overhead of bootstrapping a new consensus network

More on @CelestiaOrg:

>>> LINK
Read 13 tweets
Jun 12
0/ One of the upcoming L1s I'm most excited about is @CelestiaOrg, a modular, chain-agnostic data availability & consensus layer that provides a highly scalable & decentralized DA solution to rollups & app-specific L1 chains✨

A mega-🧵 on why you should pay attention (0/39)👀👇 Image
@CelestiaOrg 1/ While most blockchain ecosystems agree that the future is multi-chain, the way they envision a multi-chain world can differ heavily. Approaches that have started to gain traction over the past few months are #Ethereum (rollups), #Polkadot (parachains) & #Cosmos (zones) Image
@CelestiaOrg 2/ So, according to its rollup-centric roadmap, #Ethereum envisions the future to evolve around rollup-based L2 solutions. But unfortunately, rollups tend to be rather expensive to operate/use & are less flexible than L1 chains (at least pre EIP-4844 / $ETH 2.0)
Read 40 tweets
Jun 11
0/ Data availability is the primary scaling bottleneck for $ETH-based rollup L2s and a hot topic at the frontier of blockchain scaling. But what is the data availability problem and how is it addressed?

A 🧵 about the DA problem and the current DA landscape (0/XX) Image
1/ The data availability problem refers to the question how peers in a blockchain network can be sure that all the data of a newly proposed block is available
2/ If part of the data is not available, the block might contain malicious transactions which are being hidden by the block producer
Read 17 tweets
Jan 26
0/ Because they have important applications in privacy & scaling, let’s have a look at zero knowledge proof technologies like zkSNARKs, zkSTARKs and how projects like @MantaNetwork leverage zk-tech to enable private #DeFi or #PriFi 🥷

A mega-🧵 on zk stuff & $MANTA (0/27)
1/ Let’s start with the basics. A zero-knowledge proof of some statement must basically satisfy three properties…
2/ …Completeness: if the statement is true, a honest prover will successfully convince the honest verifier of the validity of the statement
Read 29 tweets
Jan 26
0/ @RmrkApp introduces a Substrate-based NFT standard or rather a set of standards on $KSM which composes of five NFT lego primitives. Putting these legos together allows users to create #NFT systems of arbitrary complexity 👾🕊️

Mid-week 🧵on $RMRK (0/27) 👇
1/ Additionally, by leveraging this logic and @kusamanetwork’s multi-chain architecture, these NFTs are eternally liquid & forward compatible with other projects, while being seamlessly portable to other $KSM parachains
2/ The @kusamanetwork relay chain is a blockchain without smart contracts. Therefore, one cannot write logic onto it, making on-chain NFTs impossible. That’s where the $RMRK concept comes into play
Read 28 tweets
Jan 21
0/ Mega thread on why I think #privacy will be an increasingly important topic in the #crypto space and why I’m really bullish on some projects & their tech!🔒

$SCRT $MANTA $PHA $DUSK $XHV $MINA

Privacy (0/20) 🧵👇
1/ With blockchain & #crypto, a large part of the attraction of the technology is its promise of decentralization, fairness and transparency. However, with transparency comes a lack of privacy
2/ While transactions and messages on the blockchain can be pseudonymous, true privacy is much harder to achieve. Few people want their private details broadcast in a public (even though encrypted) way, whether it is their financial transactions or health records
Read 22 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

Don't want to be a Premium member but still want to support us?

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!

:(