原文标题:《Blockchain Economics: How much does it cost to run your own chain?》
作宇:Sharanya Sahai, Hashed Emergent
Compiled: 0x26, BlockBeats
Editor’s note: Galaxy Research recently published an article stating that “Since the Cancun upgrade, Ethereum mainnet protocol revenue from Layer 2 is almost zero.” Ethereum is going further and further on the road to expansion, but how much does it actually cost to run an L2? Through the introduction of this article, we can understand the true cost of the “one-click chain launch” L2 project.
The number of new Layer 2 (L2) solutions has increased significantly over the past year, driven by technological advances, focus on specific use cases, and strong community engagement. While this development is encouraging, the main challenge remains how to scale these blockchains in a more cost-effective manner. Running application chains has become a key means of solving this problem, as application chains can control the operating costs of blockchains through various initiatives in a modular infrastructure stack.
While L1, Ethereum’s specific initiative, significantly reduces transaction costs on the blockchain, major rollups and infrastructure service providers are also pushing hard to further improve scalability and unlock use cases that are currently too costly to execute on-chain. .
We can categorize and analyze these developments by three categories: a) L1 approaches, b) L2 approaches, and c) modular infrastructure approaches, all of which make meaningful contributions in reducing the barriers to entry for on-chain transactions.
The first is that Ethereum has made some upgrades, such as EIP 1559 and 4844, which have reduced costs and improved scalability.
We first look at the contribution of L1 initiatives to rationalizing transaction costs on the Ethereum chain, such as EIP 1559 and EIP 4844 (Cancun Upgrade). EIP 1559 introduces the concept of base fee + tip/priority fee, as well as a dynamic pricing mechanism based on network congestion, providing users with a better mechanism to estimate costs and charge on the network based on their priority and network congestion. trade. EIP 4844 introduces a new transaction type to Ethereum through the concept of Blob, allowing L2 to store data in the form of Blob instead of expensive callData, thereby significantly reducing costs when L1 settles transactions.
The implementation of Blobs has resulted in a significant drop in transaction costs due to lower storage costs per byte and expanded capacity per block, since Blobs do not compete with Ethereum transactions for Gas and are not stored permanently, being deleted from the blockchain after approximately 18 days.
Each blob contains 4096 32-byte field elements, and the total number of blobs in a block is capped at 16, providing an additional maximum capacity of about 2MB (4096 * 32 bytes * 16 blobs per block). The current starting capacity is 0.8MB, with a target of 3 blobs per block and up to 6 (after EIP 4844 is implemented). Given the historical 2-10KB callData standard per block, EIP 4844 means a theoretical capacity increase of up to 384 times.
In fact, after the implementation of EIP 4844, fees for many L2s dropped by more than 90%. However, relying on these upgrades alone is not enough for Ethereum to achieve greater scalability. With thousands of Rollups, transaction costs may rise sharply as large-scale applications emerge on the chain and storage space requirements increase.
As L2 moves execution off-chain to cut costs and maintain security, industry initiatives such as open source frameworks and revenue-sharing models are shaping the competitive landscape of the “L2 Stack War.”
The emergence of Rollup in the previous cycle aims to significantly reduce the cost of on-chain operations by moving execution off the main chain while gaining security from the main chain. While Op Rollup allows a single honest entity to submit a "fraud proof" and be rewarded for identifying the misbehaving sorter, ZK Rollup uses zero-knowledge proofs to prove that the L2 chain has been correctly updated.
Rollup performs the following tasks:
Sequencing: Organize end-user transactions in order, group them, and occasionally publish these grouped batches to L1
Execution: Store and execute operations and update the state of the Rollup
Proposal: Proposer regularly updates the Rollup state root on L1, which is very important to ensure that the blockchain remains trustless and verifiable
State root challenge: Submit evidence of state root fraud and challenge the state root on L1 (only applicable to Op Rollup)
Proof: Generate verification of state root state update from Rollup to L1 (only applicable to ZK Rollup)
They profit from transaction fees paid by users (sorter revenue) and potentially MEV (maximum extractable value), although no MEV is currently extracted as part of their strategy. Their costs come primarily from L2 (operational costs) and L1 (data availability and settlement) costs. Organizations looking to launch their own chain will generally only consider doing so if they expect transaction fees to be higher than the cost of such an initiative.
Base layer networks such as Ethereum usually charge more for compute and storage because most nodes need to synchronize and verify the chain. However, in Rollup, the chain is considered safe even if only one honest entity can verify the chain. Therefore, Rollup charges lower fees for compute and storage, but higher fees for rolling up transactions to be packaged and published to L1, resulting in L1 costs accounting for 98% of the L2 cost base before the introduction of EIP 4844.
In addition to base layer optimizations, L2 also has a strong push to further reduce costs. These initiatives are referred to as L2 practices at the beginning of the article and can be mainly divided into two categories: industry alignment or company alignment.
Industry alignment initiatives include allowing new players to build their own chains by open-sourcing L2 technology stacks (Rollup frameworks). This wave of initiatives was initially led by Op Rollup through the launch of OP Stack and Arbitrum Orbit, and other mature L2s such as Polygon (Polygon CDK), ZK Sync (ZK Stack), and Starkware (Madara Stack) followed closely to promote large-scale applications by open-sourcing their proprietary technologies.
Corporate alignment initiatives are where these chains reduce costs and accrue value to their tokens, either through direct revenue/profit sharing models or indirectly through the secondary effects of expanding their ecosystems. Optimism’s Superchain vision, Arbitrum’s scaling plans, Polygon’s aggregation layer, ZK Sync’s Elastic Chain are all examples of such initiatives. The specifics of these projects may vary, but what they have in common is that they all have an interconnected network that provides enhanced interoperability, communication between multiple Rollups, and shared key infrastructure such as a shared data availability layer, shared cross-chain bridges, aggregation proofs (only for ZK chains), etc. to further improve capital efficiency - a problem currently faced by the Ethereum ecosystem with fragmented liquidity and lack of interoperability between Rollups. However, these stacks also allow each chain to be uniquely customized according to its needs in terms of block time, withdrawal period, finality, token usage, gas limit, etc., eliminating the high gas costs and latency issues caused by running on public chains due to other applications.
While these independent ecosystems focus on growth and adoption, we are already starting to see some established players like Optimism and Arbitrum gradually move towards monetization.
Optimism charges 2.5% of total sorter revenue or 15% of sorter profit (sorter revenue - L1 settlement and data availability costs) to participants who want to be part of its Superchain. Arbitrum charges 10% of sorter profit to participants who use its stack to release L2, while ZK Rollup stacks including Polygon CDK and ZK Stack are currently free to use, but as they develop and are adopted, they may have sustainable economic models built in.
The “L2 stack war” has officially begun as all ecosystems compete to attract important projects through unique strategies. Optimism announced a $22 million bounty for Superchain builders, with retrospective airdrops based on usage and participation metrics, while ZK Sync offered $22 million in ZK tokens to attract Lens to migrate from Polygon to its stack. Arbitrum offers its stack for free on the condition that participants publish on Arbitrum as an L3 (referring to using L2 as the settlement layer instead of Ethereum), because Arbitrum benefits from increased L3 activity, and these L3 chains will always pay settlement costs to Arbitrum during their lifecycle.
RaaS and alternative settlement and data availability solutions redefine blockchain cost structures, and future modular infrastructure innovations are expected to further reduce costs
While these technology stacks are available, running a blockchain involves a lot of operational overhead, personnel, expertise, and resources. Developers who want to attract users to their chain do not want to be distracted by dealing with the operation and maintenance of the chain infrastructure, but rather want to focus on core business activities.
This problem has led to the emergence of RaaS service providers, who work with these developers to abstract the complexity of running chains using mature L2 frameworks/stacks. The services they provide include node operation, software updates, infrastructure management, and products such as sequencing, indexing, and analysis. RaaS service providers have adopted different market capture strategies, some are aligned with specific L2 ecosystems, and others take a more framework-agnostic approach and provide integration across all ecosystems. Conduit and Nexus Network integrate with Op Rollups such as Op timism and Arbitrum, while Truezk, Karnot, and Slush focus on ZK chains. On the other hand, Caldera, Zeeve, Alt Layer, and Gelato provide integration across Op and ZK Rollups.
The typical business model for these services consists of a fixed fee plus a share of sorter profits. Monthly subscription fees for running an Op Rollup are typically between $3,000 and $4,000, while running a ZK Rollup can cost more than double that at $9,500 to $14,000 due to the extremely high computational intensity required to generate ZK proofs and the high cost of proof verification. Additionally, to align the incentives of RaaS providers and Rollups, a 3-5% share of sorter profits is typically levied, allowing them to capture economic upside as these chains gain traction.
Caldera is exploring a different model with its Metalayer vision, which charges only a 2% share of sorter profits, has no fixed costs, and aims to enable interoperability between chains using Caldera, whether Op or ZK-series.
It is important to note that the volatility of the industry and the efforts of teams on these stacks, especially the ZK stack, may further compress the subscription costs of RaaS service providers. In addition, due to the scarcity of strong consumer-grade Web3 businesses, large consumer-oriented applications may be able to negotiate better economic sharing agreements with infrastructure service providers, so initial pricing may not be standardized.
As mentioned earlier, the biggest expense for Rollup is L1 costs, namely data availability and settlement costs. For a standard Rollup processing 100 million transactions, L1 costs can be as high as $25,000 per month, making L1 settlement only feasible for the largest and most used chains. The need for alternative settlement and data availability solutions has prompted specialized players to optimize costs and performance on these layers. Ethereum's data availability alternatives include Celestia, Near, EigenDA, and the mature L2 discussed above aims to be the settlement layer for Rollup, which can be classified as L3. These players have reduced the settlement and data availability costs of Rollup by orders of magnitude compared to Ethereum. The figure below provides a rough cost comparison, indicating how much cost savings would be if the Rollup published callData to Celestia instead of Ethereum. It is worth emphasizing that the gap in cost savings increases exponentially with the increase in transaction volume.
In addition to the data availability cost, there is also a settlement cost, namely that Celestia publishes a marker on Ethereum pointing to the relevant block on Celestia to ensure the ordering and integrity of the data published on Celestia.
The development of specialized players across the modular infrastructure stack, such as alternative data availability and RaaS providers, can be collectively referred to as modular infrastructure behavior. There are other categories of innovation that are further optimizing costs, including shared sorters (Espresso, Astria, Radius), proof aggregation (Nebra, Electron), etc. These are currently in the early stages of development, and we expect costs to fall further as the industry matures.
Although the cost of on-chain operations has dropped significantly, Web2 founders should still conduct a thorough cost-benefit analysis before deciding to launch their own chain.
The full cost of running a chain depends on the specific usage requirements of each chain, but we can roughly estimate the cost of an average Op or ZK chain processing 2 million transactions per month using an alternative data availability solution as shown in the figure below.
Despite various optimizations at the industry level and individual chain level, this still requires a total of $10,500 to $16,500 in fees per month for ZK Rollup and $4,000 to $6,500 for Op Rollup, in addition to sharing up to 20% of the sorter profits once the chain becomes profitable.
The three major categories of initiatives highlighted in this article will be key to driving industry adoption, with the ultimate goal of closing the cost and convenience gap between decentralized applications and Web2. Builders should carefully evaluate the cost-benefit analysis of running an independent chain versus building on an existing chain based on their end-user needs, product priorities, performance metrics required for their use cases, and existing market appeal.
We find that building solutions to reduce the cost and performance differences between Web3 and Web2 infrastructure is necessary because society’s preference for using decentralized systems is not sufficient to expand the scope of Web3 adoption, and this challenge remains a key bottleneck in driving large-scale blockchain adoption.