📢 Gate Square #MBG Posting Challenge# is Live— Post for MBG Rewards!
Want a share of 1,000 MBG? Get involved now—show your insights and real participation to become an MBG promoter!
💰 20 top posts will each win 50 MBG!
How to Participate:
1️⃣ Research the MBG project
Share your in-depth views on MBG’s fundamentals, community governance, development goals, and tokenomics, etc.
2️⃣ Join and share your real experience
Take part in MBG activities (CandyDrop, Launchpool, or spot trading), and post your screenshots, earnings, or step-by-step tutorials. Content can include profits, beginner-friendl
Comprehensive Analysis of Bitcoin Layer 2 Networks: Principles, Types, and Current Development Status
Basics of Bitcoin Layer 2 Network
The rise of Bitcoin inscriptions has brought new vitality to the Bitcoin ecosystem, attracting more attention to Bitcoin. In the technological development of the Bitcoin ecosystem, layer two construction is of utmost importance. This article summarizes the basic knowledge of Bitcoin layer two, hoping to inspire further discussion and promote the development of this field.
The blockchain world starts with Bitcoin and ends with the Bitcoin ecosystem. Ethereum can also be seen as an exploration of a sidechain technology of Bitcoin.
1. The mission to be accomplished by the second layer
To understand the basic issues that need to be addressed in the construction of the Bitcoin second layer, we will start with the fundamental characteristics of the blockchain system.
1.1 The Basic Characteristics and Requirements of Blockchain
The blockchain can be seen as a "world computer." From this perspective, we can understand the various characteristics of blockchain:
Open and transparent: This is a characteristic of blockchain's data storage and execution of instructions, as well as an internal demand feature that requires the participation of numerous distributed nodes globally in computation.
Decentralization: This is an architectural feature of blockchain, where the degree of decentralization and fault tolerance is supported by the Byzantine Generals' Problem. The degree of decentralization is an important indicator of blockchain security.
Security: Composed of internal demands arising from architectural features and external demands required by users. Guaranteed by cryptographic technology at the micro level and by decentralized architecture at the macro level.
Computing power: A major function of blockchain is computing power. It is generally assessed by whether it is Turing complete.
Performance: Under the same computing power, performance is another key capability of blockchain. It is generally measured by TPS.
Storage: Blockchain has the capability to store data. Currently, data is primarily stored within blocks, while more specialized storage on off-chain is still under development.
Privacy: Requires maintaining the scope of permissions for data producers and users during computation and storage processes. This is fundamentally driven by external demands from users.
Most of these characteristics are constrained by the impossible triangle, such as the DSS conjecture ( decentralization, security, scalability ) and the CAP theorem ( consistency, availability, partition tolerance ).
1.2 The Role of Layer 2 Construction
The construction of the second layer aims to address the shortcomings of the first layer system and to accomplish tasks that are not suitable for the first layer system. The main points are:
Summarized in three dimensions: increasing capacity, reducing costs, and customizing features.
1.3 Why do layered design?
Layered design is a means and methodology for handling complex systems. By dividing multiple hierarchical structures and defining the relationships and functions of each layer, it achieves modularity, maintainability, and scalability of the system.
Advantages of layered design:
Layered modular design is an effective method in the tech field for handling large-scale functions that require collaboration among multiple people and continuous project improvements.
2. Several Construction Ideas for Bitcoin Layer 2
There are three main routes for the second layer construction of Bitcoin:
Which solution is better? The total locked value (TVL) can be used as a measure, with solutions that have a higher TVL being superior. As time and technology evolve, the optimal solution will change.
The definition of the second-layer network for Bitcoin: As long as it relies on the Bitcoin network, establishes technical connections, and has certain features that are superior to the first-layer network of Bitcoin, it is considered a construction of the second-layer network for Bitcoin.
2.1 Layer Two Construction Based on Blockchain
Early Bitcoin imitation chains have explored various avenues, such as "Colorcoin", "MasterCoin", etc.; various scaling Bitcoin imitation chains, such as BCH, BSV, BTG; as well as various sidechain technologies are all based on chain expansion construction cases.
Ethereum can also be seen as an exploration of improvements based on Bitcoin. The improvements of Ethereum compared to Bitcoin and the development of Ethereum Layer 2 provide a reference for the development of Bitcoin-based Layer 2 networks.
The layer two construction based on the chain in Bitcoin mainly includes two types of chains:
Advantages of Layer 2 construction based on blockchain:
Disadvantages:
Judgment: There may be numerous projects based on a chain structure on the second layer, with one or more second layers existing in various vertical fields to meet different application needs. Its value is determined by the number of upper layer applications and the total value.
2.2 Layer Two Construction Based on Distributed Systems
Some Layer 2 constructions are based on distributed systems, where the structure and framework are not blockchain-based but rather a distributed system based on Channels. The Lightning Network is a typical representative.
The second layer construction of distributed systems is divided into two categories:
Advantages of distributed layer two construction:
Disadvantages:
Judgment: Based on the distributed structure of the Channel, there may only be a few parallel projects in the second layer, reason:
Such systems require a more open design and concept that can accommodate more people and teams to participate.
2.3 Layer 2 Construction Based on Centralized Systems
Centralized index structures like Ordinals, or the indexers of certain functional nodes, are also a kind of Layer 2 construction idea.
This construction approach is less recognized, as the second layer is too centralized and has very limited scalability for the first layer network. The various fundamental characteristics of the second layer's centralized structure depend on the first layer network, with the second layer only performing simple calculations and statistical functions.
Advantages:
Disadvantages:
Judgment: Layer 2 based on centralized structures may only have a few projects, or may even exist only temporarily. After the distributed structure based on chain structures and Channels matures, most Layer 2 constructions based on centralized structures may disappear or only remain for a few special scenarios.
3. Related Matters of Layer 2 Construction
3.1 Connection technology between Layer 1 and Layer 2
The technological development of Bitcoin itself, such as modifications to OP_RETURN, Taproot, Schnorr signatures, MAST, Tapscript, etc., should be designed for the purpose of connecting Layer 1 and Layer 2. Common technologies for connecting Layer 1 and Layer 2 networks of blockchain include:
Examine the indicators of Layer 1 and Layer 2 connectivity technology:
3.2 Referencing the von Neumann architecture to view blockchain development
The "world computer" of blockchain can be compared and analyzed with the von Neumann architecture of traditional computers. The five major components of a von Neumann architecture computer are: arithmetic logic unit, control unit, memory, input devices, and output devices. Similar components also exist in blockchain systems.
A few comparisons:
4. Current Bitcoin Layer 2 Development Status
4.1 Already operational Bitcoin layer two projects
4.2 Bit