[Paper Review] Optimistic and Validity Rollups: Analysis and Comparison between Optimism and StarkNet
This paper analyzes and compares Optimistic Rollups (Optimism) and Validity Rollups (StarkNet), evaluating their architectures, security models, and performance trade-offs. It demonstrates that while Optimism offers EVM compatibility and faster market adoption through open-source licensing, StarkNet provides faster withdrawals, stronger security guarantees via STARK proofs, and better scalability through recursion—highlighting a fundamental trade-off between agility and cryptographic robustness in rollup design.
The thesis addresses the problem of scalability in decentralized blockchains in the context of the trade-off between transaction throughput and hardware requirements to participate in the network. Rollups are presented, that is technologies to verify on-chain blocks executed off-chain by minimizing the assumptions of trust. The variant of the Optimistic Rollups, in particular of Optimism and the use of invalidity proofs through interactive binary search and of the Validity Rollups, in particular of StarkNet, and the use of validity proofs through STARKs are discussed. Finally, the two solutions are compared on withdrawal time, on the cost of transactions and techniques to minimize it, on the possibility of applying the technology recursively, on compatibility with Ethereum and on the licenses used.
Motivation & Objective
- To analyze the architectural and operational differences between Optimistic Rollups (Optimism) and Validity Rollups (StarkNet) in the context of Ethereum scalability.
- To evaluate the trade-offs between security model, withdrawal latency, transaction cost, and developer compatibility.
- To assess the long-term implications of open-source versus closed-source implementations on ecosystem growth and trustlessness.
- To investigate the feasibility of transitioning Optimism from an Optimistic to a Validity Rollup using modular design principles.
Proposed method
- Analyzes Optimism Bedrock’s architecture, including deposit/withdrawal flows, sequencing, and the Cannon invalidity proof system based on minigeth compiled to MIPS.
- Examines StarkNet’s design, focusing on its use of STARK proofs for validity, contract deployment, and the role of the Prover and Verifier components.
- Compares withdrawal times, transaction costs, and Ethereum compatibility, evaluating optimizations like calldata caching and Bloom filters.
- Evaluates the impact of licensing models—MIT for Optimism versus proprietary Polaris license for StarkNet—on ecosystem development and fork resilience.
- Assesses the role of recursion in enabling L3 chains and future scalability, particularly in StarkNet’s recursive proof composition.
- Uses cryptographic primitives such as SNARKs, STARKs, and homomorphic hashing to explain the underlying security guarantees of each system.
Experimental results
Research questions
- RQ1How do the security models of Optimistic and Validity Rollups differ in terms of fraud detection and proof generation?
- RQ2What are the trade-offs between withdrawal latency, transaction cost, and EVM compatibility in Optimism versus StarkNet?
- RQ3To what extent does the choice of licensing (open-source vs. proprietary) affect the long-term adoption and extensibility of rollup protocols?
- RQ4Can Optimism’s modular architecture realistically transition from an Optimistic to a Validity Rollup, and what are the technical prerequisites?
- RQ5How do recursive proof systems in StarkNet enable future scalability and composability in multi-layer blockchain architectures?
Key findings
- StarkNet enables potentially instantaneous withdrawals due to its validity proofs, whereas Optimism requires a 7-day challenge period for fraud detection.
- Optimism’s use of the MIT license has enabled rapid ecosystem growth, leading to forks like Metis Andromeda and Boba Network, unlike StarkNet’s closed-source Prover which limits independent forks.
- StarkNet’s STARK-based proofs provide stronger security guarantees, including structural impossibility of invalid state transitions, compared to Optimism’s fraud-proof model.
- Transaction costs on StarkNet are expected to be lower due to more efficient proof generation and reduced on-chain data bloat, though this depends on proof size and verification cost.
- Optimism’s Bedrock architecture is modular and could support a future transition to validity proofs via circuit compilation of minigeth, suggesting a path toward hybrid or fully valid rollups.
- The paper identifies that while StarkNet offers superior cryptographic security and performance, its reliance on complex mathematics and closed-source Prover code may hinder trust and adoption for users without deep cryptographic expertise.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.