Cointime

Download App
iOS & Android

Controversies in the functional layer of modular blockchain and new perspectives on DA economics.

Validated Media

The future development of Web3 will be a 'modular blockchain' where there are numerous modules to choose from, but there is potential for blind box risks between different modules. This article explains the current controversies in different functional la

Original Title: "Modular Blockchain: A New Perspective on Functional Layer Controversies and DA Economics"Original Author: Zeke, YBB CapitalOriginal Translation: Luccy, BlockBeats

The impossible triangle of blockchain has always been a barrier that the industry finds difficult to overcome. Many public chain projects have attempted to cross this gap through innovative architecture design in order to become the so-called "Ethereum killer". However, reality is cruel, and for many years, Ethereum's dominant position has remained stable, and the impossible triangle of blockchain still cannot be broken through. So, is there a way for public chains to fill the gap of the impossible triangle? This is exactly the original intention of Mustafa Albasan's proposal of the modular blockchain concept.

Modular Origins

The concept of modular blockchain originated from two whitepapers. The first one was co-authored by Mustafa Albasan and Vitalik in 2018, titled "Data Availability Sampling and Fraud Proofs". This paper explains how to solve the scalability problem of blockchain while maintaining security and decentralization. The specific method is to allow lightweight clients to receive and verify fraud evidence from full nodes, while designing a data availability proof system to reduce the trade-off between on-chain capacity and security.

Later in 2019, Mustafa Albasan wrote a whitepaper about Lazy Ledger, which detailed an innovative architecture. In this architecture, the blockchain is only used to sort and ensure the availability of transaction data, and is not responsible for executing and verifying transactions. This architecture aims to solve the scalability issues of existing blockchain systems. At the time, he referred to it as the "smart contract client".

Smart contracts are executed through Celestia (the first modular blockchain) on another execution layer on this client. Subsequently, the emergence of Rollup made this concept more clear. Because Rollup logic executes smart contracts off-chain and aggregates the results into proofs, which are then uploaded to the "client" execution layer.

Through in-depth thinking about blockchain architecture and new extension technologies, he has defined a new paradigm called "modular blockchain".

What is modular blockchain?

Traditional monolithic blockchain architecture usually consists of the following four functional layers:

Execution Layer: This layer is mainly responsible for processing transactions and executing smart contracts, including transaction verification, execution, and state updates.

Data Availability Layer: In modular blockchain, the data availability layer ensures that data in the network can be accessed and verified. This layer typically includes functions such as data storage, transmission, and verification to ensure transparency and trust in the blockchain network.

Consensus Layer: This layer is responsible for the protocol between nodes, achieving consistency in data and transactions within the network. Transactions are verified and new blocks are created through specific consensus algorithms such as Proof of Work (PoW) or Proof of Stake (PoS).

Settlement Layer: This layer is responsible for completing the final settlement of transactions, ensuring the transfer of assets and permanent recording on the blockchain, and determining the final state of the blockchain.

Single-chain blockchain integrates these components into the same system, and this highly integrated design often leads to inherent problems such as poor scalability, poor flexibility, and difficulty in maintenance and updates.

However, Celestia believes that individual blockchain no longer needs to bear all tasks alone. The future development of Web3 will be "modular blockchain", which modularizes the blockchain and divides its processes into multiple "proprietary layers", each of which handles specific functional layers, thus building a better system. In addition, these systems should be independent, secure, and scalable.

Modular Design Principles

If the system is designed to be composed of smaller components that can be separated, replaced, or substituted, then this design has modular characteristics. The core idea is to focus on doing specific things well (part or single functional layer), rather than trying to cover all aspects. Cosmos Zones, Polkadot parallel chains, and other modular projects are examples of what we are familiar with in the past.

新视角

translates to

New Perspective

in English.

From a modular perspective, the redesign space of single-blockchain and its related modular stack will be greatly expanded. Various modular blockchains with different specific purposes and architectures can be combined to achieve collaborative work, and the diversity of design possibilities has spawned many interesting and creative projects. Next, we will explore the current controversy about different functional layers and how Celestia interprets "modularity" from a modular perspective.

Execution Layer Centered on Ethereum

If we view Rollup as a modular execution layer, we will find that most modular execution layer projects are built on top of Ethereum. Obviously, this is because Ethereum has rich resources to serve as a moat, and its degree of decentralization is the best choice. However, its scalability is relatively poor, so the redesign of the functional layer has huge potential.

By comparing the dismal performance of the recently launched Move system language public chains (APT, SUI) and the unprecedented hype of Layer2 on Ethereum, we can see that the narrative of blockchain infrastructure has shifted from developing public chains to developing Ethereum Layer2. So, is the existence of modularity good or bad? Will the Ethereum-centric execution layer stifle innovation in public chains?

Blockchain Scaling View

Firstly, from the perspective of the execution layer, the existing chains are reclassified. Here, we refer to Nosleepjon's article "Tatooine's Double Sun" to explain the current classification of the execution layer in blockchain.

Currently, blockchain can be divided into the following four categories:

Single-threaded single-body blockchain: This type of blockchain processes only one transaction at a time. Due to its performance limitations, many projects have turned to Rollup or horizontal scaling solutions. Representative projects include Ethereum, Polygon, Binance Chain, and Avalanche.

Parallel processing single-chain blockchain: This type of blockchain can process multiple transactions simultaneously. Representative projects include: Solana, Monad, Aptos, and Sui.

Single-threaded modular blockchain: This modular blockchain processes one transaction at a time. Representative projects include: Arbitrum, Optimism, zkSync, and Starknet.

Parallel Processing Modular Blockchain: This type of modular blockchain can process multiple transactions simultaneously. Representative projects include: Eclipse and Fuel.

Single-Cell Parallel Processing Architecture and Modular Architecture

Celestia

DAS: This solution allows light nodes to verify the availability of block data without downloading the entire block. Light nodes only need to sample a portion of the block data (specific implementation depends on 2D Reed-Solomon encoding, see below for details). Unlike Dac mentioned earlier, DAS does not rely on the security of trusted entities; as long as the chain is decentralized enough, the data can be trusted.

2D Reed-Solomon Encoding (Erasure Coding): The core idea of 2D Reed-Solomon Encoding is to apply Reed-Solomon Encoding separately on rows and columns. This way, even if some rows and columns of the two-dimensional data have errors, they can still be corrected. By encoding the block data, the block data is divided into k blocks, arranged into a k matrix, and extended to a 2k2k extended matrix through multiple Reed-Solomon encodings. Calculate the 4k independent Merkle roots of the rows and columns of the extended matrix, which are used as block data commitments in batches.

Celestia light nodes sample 2k2k data blocks. Each light node randomly selects a unique set of coordinates in the expansion matrix and queries the full node for data blocks related to these coordinates and corresponding Merkle proofs. Each data block that receives a correct Merkle proof will be broadcasted to the network.

Abstractly speaking, block data can be divided into matrices (e.g. 8x8) and additional "check" rows and columns can be added to the original data through encoding to form a larger matrix (e.g. 16x16). By randomly sampling and verifying the accuracy of some of the data in this large matrix, the integrity and availability of the overall data can be ensured, even if some of the data is lost or damaged, the entire data can still be recovered using the checksum data.

Block Scaling: Celestia implements the function of scaling with the increase of light nodes. As long as there are enough nodes in the network to sample the entire block, Celestia can maintain security. This means that as more nodes join the network for sampling, the block size can increase accordingly without sacrificing security or decentralization. However, in traditional monolithic blockchains, increasing block size may sacrifice decentralization because larger block sizes increase hardware requirements for node download and data verification.

Sovereign Rollup: This is a concept first proposed by Celestia, which combines various blockchain design elements, including Layer1 blockchain, rollup, and Mastercoin in the early Bitcoin network. The main difference between Sovereign Rollup and smart contract Rollup (such as Optimism, Arbitrum, zkSync, etc.) lies in the way transactions are verified. In smart contract Rollup, transactions are verified by smart contracts deployed on Ethereum. In Sovereign Rollup, Rollup nodes themselves are responsible for verifying transactions.

The Sovereign Rollup publishes its transactions to other blockchains (such as Celestia) for sorting and data availability processing. Then, the nodes of the Sovereign Rollup confirm the correct chain. This design allows the Sovereign Rollup to inherit multiple security attributes from the DA layer, including liveliness, security, resistance to reorganization, and resistance to censorship.

For the Rollup smart contract, the upgrade depends on the smart contract of the settlement layer. To upgrade Rollup, the smart contract needs to be modified. This may require multiple signatures to control who can initiate the update of the smart contract. Although it is common for the team to control the multi-signature upgrade, it is also feasible to control the multi-signature through governance. Since the smart contract is located in the settlement layer, it is subject to the social consensus of the settlement layer.

Sovereign Rollup upgrades through forks similar to Layer 1 blockchains. After releasing a new software version, nodes can choose to update their software to the latest version. If nodes do not agree to the upgrade, they can continue to use the old software. This option allows people running nodes in the community to decide whether or not to accept the new changes, even if most nodes have upgraded, they cannot force them to accept the upgrade. This feature makes Sovereign Rollup a true "sovereign" Rollup.

Quantum Gravity Bridge (QGB) is a key component of the Celestia ecosystem, serving as a bridge between Celestia and Ethereum (or other EVM L1 chains) to enable data and asset transfer between the two networks. By introducing the concept of Celestium (EVM L2 Rollup) and utilizing Celestia for data availability, Ethereum is chosen as the settlement layer.

This achieves the full utilization of the advantages of two networks, namely Celestia's scalability and data availability, as well as Ethereum's security and decentralization features. Validators on Celestia can run QGB, enabling Celestium to provide strong data availability guarantees for block data at a cost that is only a small fraction of Ethereum's calldata.

QGB is a key component in realizing the vision of an extensible, secure, and decentralized blockchain ecosystem for Celestia. It promotes the interoperability needed for the future of blockchain technology. Currently, the project is researching Zk QGB to further reduce the gas cost of verification.

DA Economics

Let's talk about the economic value of DA in the future.

This assumption was proposed by Jon Charbonneau, a researcher at Delphi, based on Polygon Hermez's prediction that each transaction in Danksharding would ultimately only require 14 bytes. According to the EIP-4844 specification mentioned above, Layer2 can achieve approximately 100,000 TPS at 1.3 MB/s, with expected revenue reaching a staggering $30 billion.

Driven by such huge interests, the future competition in the DA market will be extremely fierce. In addition to the three major solutions, Stark's Layer3, zkPorter, and other modular DA projects will also join the battle. Therefore, from the existing Layer2 projects, the general chain is more inclined to use Ethereum DA, while application chains and long-tail chains will become the main customers of "non-traditional DA". Personally, I believe that modular DA and rapidly developing Layer3 will be the mainstream choice in the future.

Conclusion

Comments

All Comments

Recommended for you

  • US lawmaker: SEC should repeal crypto accounting policy before Senate vote

    US legislator Wiley Nickel wrote a letter to Gary Gensler, Chairman of the US Securities and Exchange Commission (SEC), on May 15th, stating that the SEC should repeal the cryptocurrency accounting policy (SAB 121) before the Senate vote. Protecting investors is the mission of the US Securities and Exchange Commission, but SAB 121 does the opposite by preventing heavily regulated US banks from mass custody of digital assets. In addition, Wiley Nickel criticized the SEC for bypassing the rule-making process when issuing SAB 121, believing that the purpose of the cryptocurrency accounting policy is to clarify existing policies, not to create new ones.

  • CryptoQuant: Bitcoin demand is now in acceleration mode again after two months of decline

    On May 16th, cryptocurrency analysis company CryptoQuant stated in a report that despite a rebound in Bitcoin demand from the low point of the accumulation range, after two months of downward trend, Bitcoin demand is once again in "acceleration mode".

  • In the past 24 hours, the entire network has liquidated $159 million, and short positions have liquidated $114 million

    According to Coinglass data, there were liquidations of $159 million across the entire network in the past 24 hours, with long positions being liquidated for $44.75 million and short positions being liquidated for $114 million. Bitcoin liquidations were approximately $58.41 million and Ethereum liquidations were approximately $21.29 million.

  • Ethereum liquidity re-staking agreement TVL exceeds $10.1 billion, of which Eigenpie TVL exceeds $800 million

    According to DeFiLlama data, the current TVL of Ethereum liquidity re-staking protocol is 10.177 billion US dollars, of which the top five protocols ranked by TVL are:

  • Blockchain SaaS Solution AfriDex Completes $5 Million Pre-Seed Round of Funding, Led by Endeavor Ventures

    AfriDex, a blockchain software-as-a-service solution based in London, UK, has announced the completion of a $5 million Pre-Seed round of financing, with Endeavor Ventures leading the investment and African Crops Limited, Oldenburg Vineyards, and Hank Oberoi participating. AfriDex currently focuses primarily on the agricultural market, providing support and protection to supply chain participants through comprehensive on-chain solutions, utilizing blockchain technology to achieve traceability, frictionless payments, fraud prevention, verified authentication, simplified tax and subsidy management.

  • Bitget Wallet launches $10 million ecosystem fund and plans to issue BWB tokens this quarter

    Bitget Wallet announced the launch of a $10 million ecosystem fund in collaboration with Onchain Layer. The ecosystem fund is denominated in Bitget Wallet's native token BWB, which is planned to be released this quarter. It is reported that BWB is the native token of the exchange's self-hosted wallet with the same name, similar to Trust Wallet's token (TWT). The new fund will accelerate the development of Bitget Onchain Layer and support project construction.

  • Chinese Police Dismantle $1.9B Smuggling Ring Using USDT Stablecoin

    Chinese police have dismantled a large-scale underground banking scheme involved in smuggling operations valued at $1.9 billion. The illicit network used Tether's stablecoin USDT to facilitate the smuggling of pharmaceuticals, cosmetics, and the purchase of prohibited goods overseas. The crackdown coincides with China's nationwide observance of "May 15" Publicity Day for Combating and Preventing Economic Crimes. Police have arrested 193 suspects nationwide, including ring leaders Lin, Weng, Chen, and other unnamed individuals.

  • NYC-based Prediction Market Polymarket Raises $70M in Funding to Expand Operations and Development Efforts

    NYC-based prediction market, Polymarket, has secured $70 million in funding from investors including Founders Fund, 1confirmation, ParaFi, Vitalik Buterin, Dragonfly, and Kevin Hartz. The funds will be used to expand operations and development efforts. Polymarket, founded by Shayne Coplan, allows traders to predict the outcome of future events and react to breaking news in real-time, with market prices conveying the likelihood of important events. The platform has already seen a record $202 million worth of predictions made in 2024 across politics, current events, pop culture, and more.

  • OKX Ventures invests in Web3 ‘play ARPG to train AI’ game Blade of God X

    The game is currently available in early access on the Epic Games Store.

  • Barcelona-based Web3 Video Games Startup GFAL Raises $3.2M in Seed Funding to Expand Team and Accelerate Production Plans

    Barcelona-based startup GFAL has secured $3.2 million in seed funding from investors including Supercell Ltd and Mitch Lasky. The company plans to use the funds to expand its team and accelerate its game production plans, which leverage AI and Web3 technology for immersive gameplay. GFAL's Elemental Raiders mobile game soft-launched in March 2023, with plans to build on this for a 2024 launch. CEO Manel Sort expressed gratitude for the investment and excitement to work with former colleagues from Digital Chocolate.