Developing on Scroll (Ethereum Mexico)
Technical learnings and architectural criteria for building efficient decentralized applications on Scroll zkEVM, based on the experience of teaching a technical workshop at Ethereum Mexico.
Participating in Ethereum Mexico (ETH MX) as a mentor and judge allowed me to deepen my understanding of a Web3 development reality: infrastructure determines architecture. Teaching the "Developing on Scroll" workshop exposed the gap between zk-rollup theory and the practical building experience, a common challenge when working with ecosystems like Scroll, Arbitrum, and Celo.
The central challenge is not technical compatibility, but forming design criteria. Scroll, being a zkEVM, demands thinking beyond the smart contract and considering how code, tooling, and UX decisions impact costs, latency, and the final experience in a zero-knowledge proof environment.
Scroll as an Execution Layer with Unique Properties
The first learning was to stop treating Scroll as "just another L2". It is an infrastructure with its own characteristics:
- Finality secured by zk proofs, not just consensus.
- Transaction costs linked to calldata usage and computational complexity.
- A security model that shifts part of the complexity to system design.
This forces a mindset shift: you don't migrate a dApp, you redesign for a zk environment.
Smart Contracts: Compatible ≠ Optimal
Although Scroll executes Solidity, the workshop emphasized that code must be written with awareness of the underlying layer:
- Storage operations (SSTOREs) are critical due to their impact on cost and zk proof size.
- Events must be used strategically, not as arbitrary logs.
- Logic must be segmented, separating critical core from auxiliary functions, to optimize proof generation.
The lesson is clear: in zkEVM, contract efficiency is a direct function of user experience.
Tooling and UX: Abstraction Has a Cost
A transversal finding when working with Scroll, Celo, and Arbitrum is that tooling defines the builder's limits. The workshop covered:
- How to configure development environments (Hardhat/Foundry) to reflect Scroll's particularities.
- Debugging strategies when transactions are processed on a layer with deferred finality.
- The importance of clearly communicating states (sent, proven, finalized) to the end user.
In Web3, the frontend and tools are not a separate layer; they are infrastructure components that manage trust and cost.
Conclusion: Architecture Precedes Code
The experience at Ethereum Mexico, added to work with other ecosystems, reinforces a principle: the challenge of zk (and Web3 in general) is not cryptographic, it is one of design.
Technologies like Scroll offer scalability, but their real value is captured only when builders think in complete systems: from bytecode optimization to user interface clarity. It is not about learning a new SDK, but developing a technical criterion that constantly asks: how does this decision behave on this infrastructure?
Building on Scroll, or on any Web3 stack, means accepting that there is no universal standard. The robustness of an application stems from deeply understanding the base layer's trade-offs and translating them into a coherent and efficient architecture.