In the evolving landscape of blockchain technology, scaling Ethereum remains a critical challenge. Scroll addresses this by building a zkEVM-based zkRollup, guided by core technical principles that prioritize security, compatibility, efficiency, and decentralization. This article explores these foundational ideas and how they shape Scroll's architecture.
Ensuring User Security
In blockchain scaling, the paramount concern is the integrity of user funds and data. While scaling solutions can enhance capabilities, guaranteeing continuous access to assets is non-negotiable. Scroll ensures users don't need to trust Layer 2 operators for security. Instead, they benefit from full Layer 1 security even when transacting on Layer 2. By anchoring Scroll's security to Ethereum's decentralized consensus, the platform inherits the robustness of the base layer, providing users with peace of mind.
Maintaining EVM-Equivalence
A seamless transition for users and developers is essential for any scaling solution. Scroll achieves this through EVM-equivalence, meaning it behaves identically to the Ethereum Virtual Machine as specified in the Ethereum yellow paper. This allows for migration without code changes, expensive audits, or workflow disruptions.
EVM-equivalence offers stronger guarantees than mere compatibility, which often requires reimplementing infrastructure and complicates security. By being fully EVM-equivalent, Scroll ensures maximum friendliness to developers and users, supporting native tooling like JSON-RPC interfaces and standard transaction formats.
Prioritizing Efficiency
For a superior Layer 2 experience, transaction fees must be significantly lower than on the base layer, and users should enjoy instant pre-confirmations with reasonably fast finality on Ethereum. While centralized operators can easily meet these conditions, maintaining them in a decentralized environment is challenging. Scroll strives for optimal efficiency without compromising security or decentralization, balancing performance with integrity.
Decentralization Across the Community
Decentralization is a cornerstone of blockchain value, fostering resilience against censorship and attacks. Scroll embraces this across node operators, provers, developers, and users. By building openly and planning to decentralize proving and sequencing, Scroll ensures a vibrant, community-driven ecosystem. This commitment extends to all layers, reinforcing protocol robustness.
Design Choices Driven by Principles
zkEVM-Based zkRollup for Security and Compatibility
Scroll's choice of a zkEVM-based zkRollup stems from prioritizing security and EVM-equivalence. In this design, Layer 2 transaction integrity is secured by zero-knowledge proofs verified on Ethereum, making Scroll transactions as safe as those on the base layer. Users trust mathematical guarantees rather than third parties, minimizing trust assumptions.
Achieving EVM-equivalence through a zkEVM was essential for accessibility. Despite the complexity, recent advances in zero-knowledge cryptography made it feasible. Scroll's zkEVM proves correct execution of native EVM bytecode, supporting existing developer tools and ensuring a smooth experience.
Decentralized Prover Network for Robustness
To address the proving overhead from implementing the EVM in ZK proofs, Scroll built a permissionless, decentralized prover network called the Roller network. This design offers two key benefits: highly parallelizable proving infrastructure for scalable compute, and community incentives for better hardware solutions.
Initially, Scroll is developing GPU prover solutions to be open-sourced, with future explorations into ASIC and FPGA options. This approach not only improves efficiency but also demonstrates a commitment to decentralization. Plans include decentralizing the sequencer alongside the prover network, enhancing censorship resistance.
Open Research for Efficiency Gains
Scroll leverages community-driven research to optimize the zkEVM under security and decentralization constraints. Collaborations with groups like the Ethereum Foundation's PSE have integrated breakthroughs in proof systems, aggregation, and hardware acceleration. Ongoing explorations focus on:
- Utilizing data blobs post-danksharding to boost efficiency.
- Co-optimizing the zkEVM with hardware-friendly ZK algorithms.
- Exposing new ZK primitives to Layer 2 application developers.
This open-source research ethos ensures Scroll remains at the forefront of innovation, delivering efficient and cutting-edge solutions.
Frequently Asked Questions
What is EVM-equivalence, and why is it important?
EVM-equivalence means a system behaves exactly like the Ethereum Virtual Machine, allowing developers to migrate dApps without code changes. It ensures compatibility with existing tools and maintains security, unlike simpler compatibility that might require adaptations.
How does Scroll ensure security for user funds?
Scroll uses zero-knowledge proofs verified on Ethereum, so Layer 2 transactions inherit the base layer's security. Users rely on cryptographic guarantees rather than trusting third parties, making it highly secure.
What is a decentralized prover network?
It's a permissionless network where multiple participants generate proofs for Layer 2 blocks. This enhances scalability and reduces reliance on centralized entities, aligning with decentralization principles.
How does Scroll achieve low transaction fees?
By processing transactions off-chain and submitting proofs to Ethereum, Scroll reduces congestion and costs. The decentralized prover network also optimizes efficiency, contributing to lower fees.
Can developers use existing Ethereum tools with Scroll?
Yes, due to EVM-equivalence, tools like Hardhat and MetaMask work seamlessly with Scroll, requiring no modifications for migration.
What are the future plans for Scroll's decentralization?
Scroll aims to decentralize both the prover and sequencer networks, enhancing censorship resistance and community involvement over time.
Conclusion
Scroll's technical principles—security, EVM-equivalence, efficiency, and decentralization—guide its development as a zkEVM-based zkRollup. By aligning with Ethereum's community and leveraging open research, Scroll provides a scalable path for future users. For those interested in contributing, explore opportunities to join the innovative work on cutting-edge solutions. As the platform evolves, continued focus on these principles will ensure it remains developer- and user-friendly, paving the way for broader adoption.