Mohamed Fouda Profile picture
May 29 11 tweets 3 min read Read on X
The most interesting tech news in crypto today is @0xPolygon's utilization of @SuccinctLabs SP1 tech for their AggLayer Pessimistic proofs

This is a big deal because it represents a turning point in the competition between specialized ZK circuits and generalized zkVMs

This thread explains why this event will have long-lasting effects on the development of zk-based applicationsImage
2/ First, what is the difference between customized zk circuits and generalized zkVMs

Customized zk circuits
It means developing a specialized zk circuit to perform a specific function

(+) Achieving the best performance in proof generation latency and verification time
(-) Requires specialized skills and domain-specific languages (DSLs)
(-) Longer development time
3/ Generalized zkVM
It means avoiding building customized circuits and converting any program to run in a VM. The instructions of this VM are implemented as zk circuits that can be combined to create a larger zk circuit that executes the target program

(+) Any developer can use the zkVM without any understanding of ZKPs
(+) Shorter development time
(-) Higher overhead and lower performance
4/ For years, there has been a natural competition between these two approaches

Applications that need the best performance, e.g., zk rollups, had to develop their unique customized zk circuits such as zkSync, Polygon’s zkEVM, Scroll

Applications that need a shorter time-to-market and can endure some performance penalties used zkVMs such as Risc Zero and Succinct SP1
5/ In this competition, Polygon has acquired multiple companies developing zk tech and amassed a stellar team of zk experts to build the most performant zk stack

So it is a surprise that when they needed to develop a performance-critical piece of zk teck, i.e., AggLayer pessimistic proof, they opted to use the Succinct zkVM.
6/ At a high level, the AggLayer pessimistic proofs prove the validity of the state of all the rollups connected to the Agglayer.
These proofs are the foundation for proper liquidity management and rollup-interoperability between the AggLayer rollups

Hence, it’s critical to have low-latency proof generation and low-cost proof verificationImage
7/ If Polygon has decided that a generalized zkVM can do this crucial task that means that
1. The performance of the zkVM is not significantly worse than a specilaized zk circuit
2. The advantage of a better developer experience far outweighs the potential performance penalty

If this comes from Polygon’s zk experts, the implications are big
8/ The first implication is that app developers don't need to worry about performance when they use zkVMs to develop zk apps.

Instead, any developer can develop performant zk apps without acquiring any ZKP experience. They simply use a zkVM black boxe that convert their app into a zk App.

This will push zk app development mainstream and attract a wider developer community
9/ Secondly, we can expect rollups to launch using zkVMs to target different dev communities, e.g., a Rust rollup, a JavaScript rollup, etc. The rollup builders will not need to develop new VMs but instead use existing zkVMs
This will lead to further proliferation of non-EVM rollups
10/ Thirdly, zk R&D will be confined to optimizing the implementation of the zkVMs instruction set instead of optimizing the creation of large optimized circuits.

Hardware acceleration will also probably shift to optimizing the computation of the zkVM instruction sets
11/ It's always impressive to see how fast crypto's zk tech has developed from a niche in 2016 to a platform that can be used by anyone less than a decade after

• • •

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

Keep Current with Mohamed Fouda

Mohamed Fouda 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 @MohamedFFouda

May 16
Crypto is (was?) about solving hard problems with innovative tech

Bitcoin removed rent-seeking intermediaries
Ethereum allowed applications to be developed and used globally without permission

That's why I consider accepting MEV, in its current form, as mental laziness

2/ Yes, MEV is deeply integrated into existing crypto networks that broadcast transactions transparently

Flashbots was the first effort to shed light on the MEV dynamics, create tools to investigate it, protect from it, and democratize participation in MEV

This was a first step and clearly is not enough as a final solution
3/ In TradeFi, there are regulations to force brokers/ dealers to give users the best execution for their trades

Frontrunnig your client's trades is illegal
Read 6 tweets
May 15
The indictment from the DOJ for the traders who baited MEV bots is mind-blowing 🤯

It dives into every detail of how the Ethereum block building works and draws analogies to TradFi

This is both
1. A recognition of the power of Ethereum to settle financial transactions
2. A trap to pull every operator on Ethereum into a web of legal compliance requirementsImage
2/ This case is a unique precedent and will have long-lasting impacts.

The positive thing is that recognizes Ethereum as an established way to settle transactions and that attacking this network is an issue that affects the network users Image
3/ The catastrophic thing is that it, intentionally or not, legitimizes the harmful behavior of Sandwich attacks and frontrunning.

It deals with it as a "fact" and a completely normal behavior: a trader sees an opportunity and acts on it to make a profit (with no care whatsoever to the affected party)Image
Read 10 tweets
Feb 22
All upcoming Bitcoin L2s are building their own bridges

However, the better approach is to learn from the journey of Ethereum rollups and prioritize aggregated bridging

Aggregated bridging will solve many existing issues for Bitcoin L2s Image
2/ Bitcoin trust-minimized L1 - L2s bridging is an unsolved problem.

Bitcoin L2 projects try to differentiate by building more secure bridging

Some use decentralized multisign, e.g., @Stacks & @BotanixLabs , others are developing BitVM-based bridges, e.g., @citrea_xyz
3/ This is how Ethereum rollups started.
This approach solves the problem of getting money to the L2 but doesn't solve liquidity problems after that

To move money between L2s, expensive L1 transactions are needed which degrades the user experience.
Read 9 tweets
Feb 12
Among the upcoming Bitcoin L2 projects, it's easy to recognize two clear marketing approaches
1. Technical marketing: promoting the L2 tech features
2. Liquidity marketing: attracting contributors to contribute liquidity
2/ In the first camp, projects focus on featuring the technical architecture of their L2s
- How to improve the security of the L2 BTC bridge
- How the L2 depends on the L1 security
- Explaining the rational of their design choices
3/ Teams in this camp seek technical superiority and maximal trust from the Bitcoin community. They push a lot of technical content, perform R&D, and very vocal about aligning with the Bitcoin values
Read 7 tweets
Feb 7
Dymension went out of the gate with a $6B FDV (almost double of $Atom) which may seem surprising

However, @dymension has a simple & interesting vision: replacing Ethereum as the consensus layer for app rollups
2/Existing optimistic rollups depend on Ethereum for consensus (validating fraud proofs). They can use external DA, e.g., Celestia, to reduce the rollup tx costs.

Dymension offers the same solution via the RollApps but replaces Ethereum as the consensus layer
3/ Dymension's RollApps use the Cosmos SDK to implement the main components of the rollup but they delegate the consensus/security to the Dymension Hub and the hub $DYM stakers
Read 7 tweets
Jan 25
1/ As Bitcoin moves to the phase of ETF & institutional adoption, it's important to focus on protecting the permissionless nature of BTC from TradFi capture.

The way to do so is by encouraging permissionless applications on Bitcoin. For that, Bitcoin L2s take center stage https://medium.com/alliancedao/the-bitcoin-l2-opportunity-9d90517da6f8
2/ Bitcoin L2s answer the eternal question: "Who to add trustless programmability to Bitcoin?"

L2s can have turing-complete VMs and permissionless applications and still benefit from tight coupling to the Bitcoin L1

Bitcoin L2s are thriving because of multiple innovations such as zkVMs, Inscriptions, and BitVM
3/ In my new article, I discuss some of the most promising Bitcoin L2s and how they align with the L1 in terms of security and trust-minimized bridging
Each of these teams brings serious innovation to Bitcoin

medium.com/alliancedao/th…Image
Read 13 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!

:(