Author: francesco, Castle Capital;
On October 10, Scroll released a mysterious message announcing the launch of the mainnet. While I didn't fully realize there was more to it than just airdrop farming, I decided to delve into it.
Scroll is a scaling solution for Ethereum, which is an L2 general-purpose zero-knowledge (zk) rollup. Let’s take a closer look at this technology.
As an L2 rollup running on Ethereum, Scroll imports native ETH security.
In addition to security, Scroll integrates seamlessly into the rich Ethereum ecosystem:
·Tools
· dApps
·Smart Contracts
·User Base
This approach enables effortless transfer and interchangeable use of these resources, ensuring unparalleled EVM compatibility. “For users and developers, Scroll is almost equivalent to Ethereum.”
Before the advent of Scroll, there was no universal zk rollup, mainly due to the calculation of generating zk for the Ethereum Virtual Machine (EVM) Proof complexity. Simply put, universal rollup is meant to have equivalent functionality to EVM.
However, successfully running an EVM environment on zk rollup has always been an elusive goal. This is due to the complexity of converting EVM transactions into logic circuits that can be explained through zk proofs. This complexity also explains why zk rollup projects only focus on specific applications, such as dYdX, which focuses on trading, and ImmutableX, which focuses on NFTs.
Due to technical difficulties, it is impossible to develop a universal network that can deploy various dAapps. This is also why zk-rollup performs poorly in terms of TVL and number of users compared to optimistic rollup (such as Immutable).
Despite these challenges, the search for universal zk rollup continues. Compatibility with EVM is important because it greatly simplifies the work required for developers to transition to the new chain.
The transition to a non-EVM chain means:
·Existing contracts must be migrated and rewritten to the new rollup.
·Not supported by existing EVM tools (libraries, wallets, markets, etc.).
·Unable to support applications from the Ethereum ecosystem.
Many rollups take on the task of universal zk EVM, with varying levels of EVM compatibility.
Comparison of the five major zkEVMs
(1) Starknet and zkSync (language level):
These are currently using their own customizations A dedicated solution for running virtual machines (Cairo VM). They ran a custom VM and created a compiler, the "Warp Transpiler", that compiled Solidity code into Cairo VM bytecode.
What they did was create a new VM and add Ethereum tool support on top as an extra layer. This still achieves the goal of exporting solidity contracts to StarkNet, thereby achieving "EVM compatibility".
Although not a direct EVM implementation, it retains compatibility and allows Solidity developers to write code for their rollups. This is a good compromise.
(2) Polygon zk-EVM (bytecode level):
Polygon runs a custom VM but has all EVM opcodes mapped to those valid for its VM. Polygon's approach is to build a zkEVM with "opcode-level equivalence".
Compared with Scroll, Polygon has an alternative runtime (runtime)-zkExecutor, which runs custom "zkASM" opcodes instead of running EVM opcodes directly. This is done to optimize EVM interpretation (since proving EVM directly would have too many limitations).
Here is a schematic diagram of this process:
While this configuration is more performant than Scroll, it adds a lot of custom code (to create zkASM ), introduces possible requirements to modify code or tooling to achieve compatibility, and may diverge more and more from Ethereum over time.
(3)Scroll (bytecode level):
Converts EVM execution directly into verifiable circuits, with advantages in tool support and compatibility. Currently, Scroll does not support all EVM opcodes, but they plan to eventually implement this over time.
#How does Scroll’s technology stack work?
Scroll is a zk rollup. There is a smart contract on ETH L1. It is a zkEVM proof validator that can verify whether the Scroll protocol is safe.
How do transactions proceed on Scroll?
·Scroll can batch process blocks and write block data to Ethereum.
·Once a proof of validity is generated in a new block, the proof is written to Ethereum.
Therefore, a block on a Scroll can have three states:
· Pre-commit: proposed by the sequencer and included in the Scroll.
·Committed: Transaction data published on Ethereum
·Finalized: Correct execution has been confirmed by an on-chain validity certificate published on Ethereum.
The transaction process is as follows:
(1) Transactions flowing in from the sequencer are bundled and packaged in a block (1).
(2) The data and call data are submitted to the rollup contract on L1, and the block is submitted (D1).
(3) Proof generation: Pass the information to the coordinator (the "trace" of the completed work), and then pass it to the prover, who then generates the zk proof.
(4) Proof generation can occupy multiple blocks and can be executed in parallel by different "provers".
# (5) Aggregation proof generation: Proofs are generated and aggregated in batches, and then submitted to the chain for verification (Verify).
(6) The block is finalized.
The above is the detailed content of Demystifying Scroll's technology stack and deal flow. For more information, please follow other related articles on the PHP Chinese website!

This article highlights the 10 best cryptocurrencies to consider for May 2025, offering a mix of established giants and promising new projects.

Top 10 virtual currency trading apps rankings: 1. Binance, 2. OKX, 3. Gate.io, 4. KuCoin, 5. Coinbase, 6. Kraken, 7. Huobi, 8. Bybit, 9. Bitfinex, 10. Bitstamp, each platform provides different functions and services to meet different user needs.

It's Monday! Some markets around the world are still closed for the Easter holiday, but that hasn't stopped two high-profile firms from gobbling up more bitcoin.

Top 10 virtual currency trading apps rankings: 1. Binance, 2. OKX, 3. Gate.io, 4. KuCoin, 5. Coinbase, 6. Kraken, 7. Huobi, 8. Bybit, 9. Bitfinex, 10. Bitstamp, each platform provides different functions and services to meet different user needs.

A group of investors has filed a class-action lawsuit against decentralized cryptocurrency exchange Meteora, alleging the firm was involved in manipulating the launch and market price of the M3M3 token.

Just last week, Mantra’s OM token looked great: up over 800% year‑on‑year, a fresh $108 million ecosystem fund and a $1 billion Dubai real‑estate deal

Top 10 virtual currency trading platforms: 1. Binance, 2. OKX, 3. gate.io, 4. Coinbase, 5. Kraken, 6. Huobi, 7. Bitfinex, 8. KuCoin, 9. Bittrex, 10. Poloniex, these platforms are popular for their efficient trading speed, rich currency options, multiple trading methods and powerful security measures.

Token unlocks are when a group of people—usually project team members, early investors or advisors—receive their allocated tokens for free or at a lower price

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

Video Face Swap
Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Article

Hot Tools

SublimeText3 English version
Recommended: Win version, supports code prompts!

mPDF
mPDF is a PHP library that can generate PDF files from UTF-8 encoded HTML. The original author, Ian Back, wrote mPDF to output PDF files "on the fly" from his website and handle different languages. It is slower than original scripts like HTML2FPDF and produces larger files when using Unicode fonts, but supports CSS styles etc. and has a lot of enhancements. Supports almost all languages, including RTL (Arabic and Hebrew) and CJK (Chinese, Japanese and Korean). Supports nested block-level elements (such as P, DIV),

SublimeText3 Mac version
God-level code editing software (SublimeText3)

MinGW - Minimalist GNU for Windows
This project is in the process of being migrated to osdn.net/projects/mingw, you can continue to follow us there. MinGW: A native Windows port of the GNU Compiler Collection (GCC), freely distributable import libraries and header files for building native Windows applications; includes extensions to the MSVC runtime to support C99 functionality. All MinGW software can run on 64-bit Windows platforms.

Atom editor mac version download
The most popular open source editor