ZK-Rollups vs. Optimistic Rollups

Moonrock Capital
4 min readJan 6, 2023

2022 was the year, when transactions on L2s surpassed the transactions on the Ethereum mainnet and the trend is growing. With Zero-Knowledge Rollups and Optimistic Rollups we have two of the most dominant scaling solutions for the Ethereum Virtual Machine on the rise. In this article we want to show you their differences, advantages and disadvantages and how they help scaling the EVM.

Zero-Knowledge Rollups

ZK-rollups utilize zero-knowledge proofs to enhance scalability on the blockchain. Essentially, this allows for a large number of transactions to be bundled and processed together, without the need for individual verification by the network. This can significantly improve the speed and efficiency of transactions, while maintaining the security and decentralization of the underlying network.

One of the primary advantages of ZK-rollups is their improved security and privacy, thanks to the use of zero-knowledge proofs to verify transactions. This means that transactions can be authenticated without revealing any information about the transaction itself, providing an additional layer of protection.

However, it’s important to note that ZK-rollups are generally less scalable than other types of rollups, such as optimistic rollups, as the verification process using zero-knowledge proofs is more complex. As a result, ZK-rollups may not be suitable for every type of blockchain network, and may not be the best choice for networks that require a high volume of transactions to be processed in a short period of time.

Optimistic Rollups

Optimistic rollups, such as Arbitrum and Optimism, are a type of layer-2 scalability solution for blockchain networks that seek to improve transaction throughput by processing transactions off-chain and then “batching” them for eventual inclusion on the main chain. This allows for a large volume of transactions to be processed in a short period, without requiring each individual transaction to be validated by the entire network.

Optimistic rollups utilize a trust-based model, where a group of validators processes transactions off-chain and a smaller group of “witnesses” verifies them before they are added to the main blockchain. This enables a high level of scalability, but relies on the assumption that the validators will act honestly and not attempt to deceive the system.

One of the primary advantages of optimistic rollups is their exceptional scalability, as they can handle a large number of transactions per second. This can be particularly beneficial for blockchain networks that need to process a large volume of transactions in a short time frame. In addition, optimistic rollups are generally easier to implement and operate as they do not require the use of complex zero-knowledge proofs.

Which Rollup Solution Is Better?

It is difficult to determine definitively whether a ZK-rollup or an optimistic rollup is the superior scaling solution for a given blockchain network, as it ultimately depends on the specific needs and requirements of the network. Both ZK-rollups and optimistic rollups offer benefits in terms of scalability, but each has its own strengths and limitations.

ZK-rollups provide enhanced security and privacy through the use of zero-knowledge proofs to verify transactions. This can be particularly beneficial for blockchain networks that handle sensitive or confidential data, as it allows for verification of transactions without revealing any information about the transaction itself. Additionally, ZK-rollups can help reduce the amount of data that needs to be stored on the blockchain, which can improve the overall performance of the network.

Optimistic rollups, on the other hand, offer higher levels of scalability as they can process a larger number of transactions per second compared to ZK-rollups. This can be particularly useful for blockchain networks that need to handle a large volume of transactions in a short time frame. Additionally, optimistic rollups are generally easier to implement and operate as they do not require the use of complex zero-knowledge proofs.

Ultimately, the choice between using a ZK-rollup or an optimistic rollup will depend on the specific goals and requirements of a particular blockchain network. It is also possible to use both types of rollups in a hybrid approach, in order to combine the best features of both.

Projects Building on Rollups

ZK-rollups and optimistic rollups are being employed in the development of a variety of decentralized applications, including DeFi protocols, gaming platforms, and more. For instance, Aztec Connect is utilizing ZK-rollup technology to develop a next-generation encrypted blockchain secured by Ethereum, while Optimism is using an optimistic rollup architecture to power the Ethereum Virtual Machine (EVM).

Furthermore, there are numerous gaming platforms, such as 0xGames and Axie Infinity, being built on top of optimistic rollups. Additionally, an increasing number of projects are exploring the potential uses of ZK-rollups and optimistic rollups in areas such as data privacy, security token issuance, supply chain tracking, and beyond.

Conclusion

ZK-rollups and optimistic rollups are two promising scalability solutions that can enhance the scalability, performance, and security of blockchain networks. It is essential to consider the unique strengths and weaknesses of each technology before deciding which one is most appropriate for a given project or application.

It is also possible to utilize a hybrid approach that combines the best features of both technologies, allowing blockchain networks to benefit from the advantages offered by each solution. Ultimately, it is up to developers and users to determine which technology is most suitable for their needs.

Who We Are

Moonrock Capital is a Blockchain Advisory and Investment Firm, incubating and accelerating early stage startups since 2019.

Website: https://www.moonrockcapital.io

Twitter: https://twitter.com/MoonrockCapital

--

--

Moonrock Capital

Moonrock Capital is a Blockchain Advisory and Investment Firm, incubating and accelerating early stage startups since 2019. https://www.moonrockcapital.io