Cointime

Download App
iOS & Android

Reth AlphaNet

From garadigm by Georgios Konstantopoulos

Contents

Today, we are excited to open source Reth AlphaNet, an OP Stack-compatible testnet rollup aimed at maximizing Reth performance and enabling experimentation of bleeding edge Ethereum Research.

With this post, we hope to get developers excited to contribute and build on AlphaNet with experiments, performance optimizations, and push the frontier of Ethereum systems research, engineering and tooling with us.

What is Reth AlphaNet?

Reth AlphaNet is an OP Reth Rollup with the following characteristics:

  • Testnet: It’s a testnet rollup, holding no assets of real value.We may periodically reset it if we want to introduce breaking changes.We are open to either full reset or migrating some state across resets.
  • We may periodically reset it if we want to introduce breaking changes.
  • We are open to either full reset or migrating some state across resets.
  • Experimentation: It initially comes with 3 EIPs implemented and tested, which are not available in any other network at the time of writing of the post:EIP-3074: AUTH and AUTHCALL instructions (source).EIP-7212: Precompile for secp256r1 curve support (source).EIP-2537: Precompiles for BLS12-381 curve operations (source).
  • EIP-3074: AUTH and AUTHCALL instructions (source).
  • EIP-7212: Precompile for secp256r1 curve support (source).
  • EIP-2537: Precompiles for BLS12-381 curve operations (source).
  • High Performance: It will aim to break the gigagas barrier (1 gigagas per second) and confront the state growth problem head on.Reth has been benchmarked at 100-200 megagas per second on the alpha.13 version (December 4th 2023) for "live sync" (incl. sender recovery, execution, hashing, and trie), and 1-3 gigagas/s for "historical sync" (only execution) on a 16-core @ 3.1GHz, 512GB RAM machine with a fast SSD.We are on beta.5 (April 3rd 2024), and we've merged multiple optimizations since the original benchmark.We invite the community to review the benchmarks and help us with further stress testing the code.
  • Reth has been benchmarked at 100-200 megagas per second on the alpha.13 version (December 4th 2023) for "live sync" (incl. sender recovery, execution, hashing, and trie), and 1-3 gigagas/s for "historical sync" (only execution) on a 16-core @ 3.1GHz, 512GB RAM machine with a fast SSD.
  • We are on beta.5 (April 3rd 2024), and we've merged multiple optimizations since the original benchmark.
  • We invite the community to review the benchmarks and help us with further stress testing the code.

Zooming in:

  1. AlphaNet implements the OP Stack standard's Ecotone Hard fork via the Node Optimism crate.
  2. Bridging in and bridging out of the rollup will work same as stock OP Stack. The deposit and withdrawal delays will be on the lower end, optimized for developers wanting to end to end test bridge flows in wallets, block explorers, and other infrastructure.
  3. We do not have a strong view on what data availability mechanism AlphaNet should use. We will start with blobs and calldata, and will eventually explore multiplexing across multiple data availability layers based on fees. We are also looking at OP Plasma.

The whole codebase is <1500 lines of Rust code (LoC), including tests:

AlphaNet is now open sourced under the Apache/MIT permissive license, for anyone to fork, modify or launch.

What is the Reth SDK?

AlphaNet is built on top of Reth, rather than forking it.

Our original vision of Reth describes it as not just a node, but a Software Development Kit (SDK), as legos for building EVM-centric infrastructure.

Forking nodes is extremely brittle, it's harder to propagate updates across the ecosystem and rebasing large feature branches is hard. It also means lack of principle around where code changes happen.

The Reth SDK is a new paradigm for building nodes, specifically built for customization and for the rollup-centric roadmap.

AlphaNet implements traits provided by the Reth SDK's Reth node builder API, allowing extreme customization without forking the node. This relates closely to the original Erigon architecture of a node that separates concerns and allows running components like the transaction pool or the RPC as separate processes. The Reth SDK takes it even further using Rust's advanced type system and clean abstractions.

Here are some example modifications you can do on the node:

  1. Custom RPCs: Spinning up additional RPC methods and namespaces.
  2. Custom EVMs: Overriding the EVM's precompiles, instructions, and more.
  3. Custom Block Builder: Building blocks with your own orderflow or with a custom mempool.

We intend to share more information about how to use the Reth SDK (or Reth Core) in the coming months, as we drive it to feature completeness. We could not be more excited about this. For now, the examples and the NodeBuilder are the best things to look for in the codebase.

Why build AlphaNet?

We called it AlphaNet because it is “alpha” software for experimentation, but also “alpha” because it provides edge to developers that learn how to use its “developer preview” features.

AlphaNet's goals are:

  1. Enable developers to experiment with Ethereum nodes using Reth's modular architecture:AlphaNet can serve as a distribution channel for research ideas, and encourage Layer 2 experimentation.AlphaNet's node extensions were chosen for their ability to enable applications that enhance the onchain user experience, and drastically reduce cost for existing applications that improve UX.Reth exposes Revm's new EVMBuilder API (PRs) which enables developers to extend the EVM with custom opcodes, instructions, gas tokens and more.The Reth SDK will also allow swapping out key node components like the block executor, the state root algorithm, and already supports swapping out most other components like the networking stack, the block payload builder, database, and more.
  2. AlphaNet can serve as a distribution channel for research ideas, and encourage Layer 2 experimentation.
  3. AlphaNet's node extensions were chosen for their ability to enable applications that enhance the onchain user experience, and drastically reduce cost for existing applications that improve UX.
  4. Reth exposes Revm's new EVMBuilder API (PRs) which enables developers to extend the EVM with custom opcodes, instructions, gas tokens and more.
  5. The Reth SDK will also allow swapping out key node components like the block executor, the state root algorithm, and already supports swapping out most other components like the networking stack, the block payload builder, database, and more.
  6. Test Reth's performance at the extremes, to 1 gigagas per second and beyond.We hope to hit the state growth performance bottleneck, and discover ways to solve it, using research techniques already tested out on Ethereum and Base mainnet.We hope to experiment with state expiry, rent, compress & revive-style techniques using witnesses, and anything that lets us move the needle there.We will also deploy other techniques we've been talking about for a long time, such as parallel EVM (Block STM-based for live sync and by calculating the optimal schedule for historical sync), JIT/AOT EVM, alternative state root implementations & optimizations, multi-tenancy, and more. We already have proof of concepts for parallel EVM and JIT/AOT, and we're going to start pushing them forward more in the coming months.
  7. We hope to hit the state growth performance bottleneck, and discover ways to solve it, using research techniques already tested out on Ethereum and Base mainnet.
  8. We hope to experiment with state expiry, rent, compress & revive-style techniques using witnesses, and anything that lets us move the needle there.
  9. We will also deploy other techniques we've been talking about for a long time, such as parallel EVM (Block STM-based for live sync and by calculating the optimal schedule for historical sync), JIT/AOT EVM, alternative state root implementations & optimizations, multi-tenancy, and more. We already have proof of concepts for parallel EVM and JIT/AOT, and we're going to start pushing them forward more in the coming months.

What is the roadmap?

Our short-term roadmap for AlphaNet is as follows:

  1. Launch a hosted version of AlphaNet on Conduit, targeting 50 megagas/s, and eventually ramping up to 1 gigagas/s. If the nodes we run end up not being able to keep up with the sequencer due to state growth, we may possibly restart the experiment from zero, and try again.
  2. Distribute modified Foundry builds via the foundryup --alphanet command, so that any Foundry developer can access tooling for the node’s extensions.
  3. Use Rivet as an “Experimental Developer Wallet”, in order to iterate on Wallet UX for EIP-3074, BLS signatures, and native Passkey support.

We're particulary excited for EIP-3074 on AlphaNet with Foundry and Rivet, and recommend the entire ecosystem to prepare for its upcoming deployment in Ethereum L1 as of the All Core Devs meeting on April 11th 2024. If you want to work on EIP-3074 Invokers, help clean up our Foundry integration, or contribute to Rivet, please reach out.

Medium-term:

  1. We would like to try out other EIPs & RIPs like RIP7560 and EOF (already implemented in Revm). What else should we try?
  2. Push hard on the Reth performance optimizations mentioned in the "Why build AlphaNet?" section above.
  3. Push for the second OP Fault Proof implementation in Rust using Reth (FPVM choice TBD, between RISCV and MIPS), accelerating the OP Stack's Stage 2 Fault Proof roadmap.

We hope that Reth will be a fundamental building block for every Layer 2's scaling strategy.

Our long-term goal is to scale Ethereum and its L2 ecosystem together with the community. We will use AlphaNet as a feedback loop for pushing the frontier and deploying the best technology in production L1s and L2s. We invite the community to share with us what they'd like us to try out, or write code with us.

AlphaNet will be launched soon after Reth 1.0, before the end of Q2.

The Reth SDK provides very powerful abstractions for building modified performant nodes, and we think this is just the beginning. In the coming weeks we will be sharing everything we have been building with the Reth SDK. We will also share optimizations and architecture improvements for breaking through the performance and feature barriers required to reach web scale cryptocurrency.

Comments

All Comments

Recommended for you

  • Iranian Official: US Provocation on Strait of Hormuz is a Reactive Response

    According to IRNA, Hussein Nushabadi, the Director General of the Iranian Foreign Ministry's Parliamentary and Legal Affairs Department, stated in an interview that Washington's controversial claims regarding control over the Strait of Hormuz are primarily driven by domestic political needs and are a reactive response to Iran's demonstrated strength and strategic actions in this waterway. He noted that the baseless assertions made by the US President regarding the Strait of Hormuz do not align with international shipping regulations or the relevant provisions of the United Nations Convention on the Law of the Sea. Nushabadi also pointed out that Iran possesses political and military dominance over the Strait of Hormuz, a vital lifeline for global energy and economy, making it a powerful lever and strategic trump card in responding to external threats.

  • Jensen Huang Collaborates with Wall Street Giants to Support AI Computing Market

    On August 15, a rare scene unfolded as Jensen Huang joined forces with six major Wall Street asset management giants to endorse the idea of establishing AI computing as an independent asset class. Analysts believe this reflects Huang's commitment to the concept of token economics, marking a shift in the AI boom from a technological competition to a capital competition. However, the latest plan has raised concerns among investors regarding 'circular financing' and debt risks. In response to these doubts, Huang personally stepped in to reassure the market, stating that Nvidia may provide a residual value support mechanism of up to 25% for individual investment projects and will carefully evaluate each project. Following this, market sentiment showed slight improvement. (CCTV Finance)

  • DJI Added to 'Blacklist', US Court Orders Rehearing

    On August 15, according to the Russian Satellite News Agency, the U.S. Court of Appeals recently ruled that a lower court must rehear the case regarding the inclusion of Chinese drone manufacturer DJI on the Pentagon's 'Chinese Military Industrial Enterprises' blacklist, stating that the previous ruling was based on non-confidential information and contained flaws. The report indicated that the D.C. Circuit Court of Appeals pointed out that the lower court's conclusion that DJI 'contributes to China's defense industrial base' was erroneous, as it relied solely on publicly available information. The court has mandated that during the rehearing, the lower court may review classified documents and decide whether to uphold the Department of Defense's designation based on that information.

  • Iran Claims Undisputed Ownership of Strait of Hormuz

    On August 15, according to CCTV International News, Iran's Chief Justice Ejei stated today that the absurd remarks made by the U.S. President regarding the Strait of Hormuz are entirely based on his personal delusions. In the real world, the true owner and dominant power of this important international waterway is Iran. Ejei emphasized that Iran has proven militarily that the Strait of Hormuz is an inseparable part of Iranian territory and sovereignty.

  • US Spot Bitcoin ETF Sees Net Outflow of $56.2 Million Yesterday

    On August 15, according to data monitored by Farside Investors, the US spot Bitcoin ETF experienced a net outflow of $56.2 million yesterday.

  • No Net Inflow or Outflow for US Spot Ethereum ETF Yesterday

    On August 15, according to monitoring data from Farside Investors, there was no net inflow or outflow for the US spot Ethereum ETF yesterday.

  • Charles Schwab: Low Probability of CLARITY Act Passing Before U.S. Midterm Elections

    On August 15, Charles Schwab stated in its 'Weekly Trader Market Outlook' that as of the time of writing, the Bitwise Top 10 Large Cap Crypto Index has fallen 3% since last Friday; Bitcoin has dropped 3% during the same period, while Ethereum is down 2%. Bitcoin continues to exhibit characteristics of a low-correlation asset, with limited impact on its price from the CPI and PPI data released this week. Last week, the U.S. Senate entered its summer recess without voting on the CLARITY Act. Although the final debate vote for the bill is scheduled for September 14, the probability of it passing before the midterm elections remains low.

  • Sources: Trump to Attend Closed-Door Meeting with Crypto Executives at the White House

    On August 15, sources revealed that U.S. President Trump is expected to attend a White House meeting held by the newly established Innovation Committee on Wednesday. The committee consists of executives from the crypto industry as well as leaders from prediction markets and artificial intelligence companies. Sources indicated that the CEOs of companies such as Coinbase, Ripple, Gemini, Robinhood, Polymarket, and Kalshi are members of the U.S. CFTC Innovation Advisory Committee. Before attending the committee's first official meeting on Thursday, these crypto industry CEOs will gather at the White House for the meeting on Wednesday. Attendees learned that Trump plans to participate in this meeting. The meeting is expected to take place at the Eisenhower Executive Office Building next to the White House, aiming to initiate policy discussions on several key directions in the U.S. innovation sector. Sources also stated that CFTC Chairman Mike Selig and other policy advisors are expected to attend the meeting. One source further revealed that U.S. Treasury Secretary Scott Bessent and Commerce Secretary Howard Lutnick may also be present. The White House spokesperson has not yet responded to requests for comments regarding the meeting arrangements.

  • U.S. Optical Communication Stocks Rise, Lumentum Up Over 6%

    On August 14, U.S. optical communication stocks collectively rose, with Applied Optoelectronics increasing by over 14%, AXT Inc and MaxLinear rising by over 7%, POET Technologies and Lumentum up by over 6%, and Lightwave Logic increasing by over 5%. Corning and Tower Semiconductor also saw gains of over 4%.

  • Dunamu Reports 73% Decrease in Q2 Operating Profit to 23.5 Billion Won

    On August 14, Upbit operator Dunamu announced its Q2 2026 performance, reporting quarterly revenue of 173.5 billion won (approximately 123 million USD) and an operating profit of 23.5 billion won (approximately 16.65 million USD), representing declines of about 26% and 73% respectively compared to Q1. In the first quarter, Dunamu's revenue was 234.6 billion won (approximately 166 million USD) with an operating profit of 88 billion won (approximately 62.34 million USD). Dunamu stated that the decline in performance this quarter was primarily influenced by the overall contraction in liquidity in the global digital asset market, which weakened investor sentiment.