Layer 2-区块链协议中的楼中楼,Layer 2 能够做到什么?
· 2023-06-08

內容目录 1.Layer 2 区块链之上的另一层协议 2.Layer 2 扩容方案 3.Layer 2 不负责验证

Layer 2 区块链之上的另一层协议


Layer 2 层所涉及的是链上与链下的协议,主要负责链上链下消息传递、智能合约编程以及应用相关功能。也就是在现有区块链系统(Layer 1 )之上构建的辅助框架或协议。如果以法律架构来比喻,Layer 1 就像宪法,是所有法律的依据,法律的制定不能够牴触宪法,而 Layer 1 的架构如果要做更动,基本上都必须涉及到区块链分叉,就如同修宪程序一般,复杂且困难。反观 Layer 2 就像是依据宪法制定的法律,修改相对简单,且能够更符合实际需求。目前,Layer 2 协议的主要目標大部分都是为了解决区块链所面临的事务处理速度与扩展难题。


Layer 2 扩容方案


藉由 Layer 2 协议,区块链事务的「状態生成」可以独立於 Layer 1 之外进行,因此这些协议也可以称为「链下」扩容方案。使用链下扩容方案的主要优点之一是能够降低 Layer 1 的侷限性,且不需要改变区块链本身的协议。换句话说 Layer 2 扩容方案尽可能在不牺牲区块链网路安全性的情况下实现高吞吐量的状態生成。


21bf1e6b27303134bd43c8fb04613bb1.png


简单来说,Layer 2 扩容方案的概念就像「塞车」,如果今天高速公路大塞车,我们选择走车流量少的省道,避开尖峰车潮,虽然路线比较长,但可以比塞车的高速公路来要快到达目的地。


Layer 2 不负责验证


Layer 2 只负责处理「状態生成」並不负责「状態验证」,最终结算时,还是必需要回到 Layer 1 验证才能完成交易確认,在这过程中最大的问题来自於,Layer 2 的安全性较低,可能会因为有人作弊而导致生成错误的状態,因此如何防止 Layer 2 的数据出现错误以及数据如何安全的传回 Layer 1 是 Layer 2 协议设计时的问题之一。


ebcd17d510d53da95b8aba923ca36a35.jpg














Popular articles
SBC Summit Canada to Make Player Safety a Key Pillar of 2026 Agenda
Marketing
DB Gaming Is One of Asia’s Top-Tier Game Solution Providers, Recognized as a Pioneer in the Asian Gaming Industry.
Marketing
Online gambling, crypto pose ongoing money laundering risks in Philippines, analyst says
Southeast Asia
Indiana online casino bill stalls in House committee
Regulation
Brazil Proposes Raising Gambling Tax Rate to 24%, With Revenue Allocated to Social Security and Healthcare
Regulation
New Jersey July Gambling Revenue Hits $606M, Sweeps Casinos Banned
Regulation
British gambling levy rates confirmed for each vertical
Regulation
PropellerAds Positions Itself as a Go-To Traffic Source for iGaming Advertisers Ahead of a High-Demand Season
Marketing
What’s on the SBC Summit Conference Agenda in 2026?
Marketing
GAT CDMX 2025 Institutional Academy: Leaders and Experts Analyze the Present and Future of the Gaming Industry in Mexico and Lat
Sports Game
B2B Tech Infrastructure Gains Momentum in Philippine Gaming Sector
Southeast Asia
Super PAC Raises $48 Million: Sports Betting Forces Ramp Up Political Push
Regulation
That’s a Wrap: AffPapa Conference Madrid 2026 Highlights
Online Game
Manila delivers: Highlights from SiGMA Asia 2026 
Southeast Asia
Institutional Academy that exceeded expectations marked the opening of GAT CDMX
Online Game
Home
Game
Cooperation
Find
My