Rollups

Note: Data in this section last updated May 28th, 2022

With the exception of Solana (which has its own challenges), most Smart Contract platforms are currently unable to handle the massive data and computational requirements that will be required for blockchain gaming, the metaverse and mass distribution of NFTs.

For instance, Ethereum can only handle around 15 transactions per second (vs. Visa’s 1,700) and the average fee for using Ethereum is ~$25 (and that’s the mean for all transactions – NFT transactions, which are generally much more complex, can often cost users several hundred dollars).

The most likely solution to these problems is the use of “Layer 2” networks – secondary protocols that are built on top of existing blockchains.

While there are many different types of Layer 2 solutions (these are discussed in much greater detail in the article X), one flavor that is showing extraordinary promise is rollups.

Rollups temporarily remove data from the underlying blockchain, perform computations on that data and then insert the results back into the chain. This removes a ton of congestion from the network and results in faster processing times and lower fees.

Because rollups execute off-chain, they can’t be fully trusted – after all, how do we know that the architects of the rollup aren’t being malicious? As such, they need a way to prove to the main network that they’re not being malicious. There are currently two different ways of doing this:

  • zk-rollups: When returning data to the main chain, zk-rollups submit a cryptographically secure "validity proof" to the network, showing that all calculations are valid. The mechanics of this proof are out of the scope of this article, but for reference it is called a “zero-knowledge proof” because it can be used to prove something is true without relaying any additional data (that’s where they get the name “zk”)

  • Optimistic rollups: Optimistic Rollups take the opposite approach. Instead of submitting a proof, it is assumed that the data is correct BUT users can easily check this through a "fraud proof", which means that there is a 7-14 day waiting period that allows validators to review and reverse the transaction if they suspect fraud.

In general, zK rollups are faster but offer less functionality, while optimistic rollups have more functionality but are also slower due to the potential of fraud challenges.

As zK rollups mature and more functionality is added, many expect for them to become the dominant L2 solution for ETH.

In fact, Vitalik wrote: “In general, my own view is that in the short term, optimistic rollups are likely to win out for general-purpose EVM computation and ZK rollups are likely to win out for simple payments, exchange and other application-specific use cases, but in the medium to long term ZK rollups will win out in all use cases as ZK-SNARK technology improves.”

Major optimistic rollup solutions include Optimism and Arbiritum and major zK- rollup projects include ZKSync, Loopring and Starkware.

Arbitrum is the Largest Rollup Provider with 54% Market Share

Last updated