LayerZero宣布上线V2,协议设计有何亮点?

Odaily星球日报Опубліковано о 2024-01-30Востаннє оновлено о 2024-01-30

Анотація

LayerZero V2 核心协议架构有何变化?

原文编译:Karen,Foresight News

今日,LayerZero 宣布上线 V2,为 20 多个链带来无需许可、抗审查和不可变的互操作性。

LayerZero V2 核心协议设计

根据 LayerZero V2 白皮书,V2 中有四个组件,包括一个可实现抗审查的不可变端点,一个链上验证模块的仅附加集合(MessageLib 注册表),一组用于跨链验证数据的去中心化验证网络(DVN)无需许可集合,以及无需许可的执行器(独立于跨链消息验证 context 执行功能逻辑)。

从流程上来看,LayerZero 分为执行层和验证层。验证层在链之间安全地传输数据,执行层解释这些数据以形成安全、抗审查的消息传递通道。执行者与任何验证相关代码的隔离能够最大限度地减少将攻击面引入安全关键代码的可能性。

LayerZero宣布上线V2,协议设计有何亮点?

LayerZero 中实施无需许可、可配置的验证模型,任何人都可以操作自己的 DVN,并无需许可地将其与 LayerZero 集成。执行器(executors)无需许可特点也能够确保了在执行器故障时通道活跃度能够恢复,并将协议的活跃度与任何单个组织或实体完全解耦。

LayerZero V2 有哪些亮点?

如上,LayerZero V2 将消息验证和执行分为两个不同的阶段,开发人员可以对其应用安全配置和独立执行,拥有了更多的控制权。据 LayerZero 描述,V2 亮点包括:

1、通用消息传递:可以在链之间发送和编写任何类型的消息,包括任意数据、外部函数调用和 / 或代币;

2、模块化安全:开发人员在选择安全堆栈来验证跨链消息时,可以从 20 多个去中心化验证网络(DVN)的首选组合中进行选择;

3、无许可执行:任何人都可以在 V2 中运行执行器;

4、统一语义:OApp 和 OFT 合约使开发人员能够跨每个具有端点的区块链 V2 上以相同方式构建应用程序和代币;

5、V1 兼容性:V1 应用存在迁移选项。如果已经部署在 V1 上,应用程序可以通过 ULN 301 利用新的安全性和执行模型。

LayerZero V2 核心协议架构有何改变?

根据 LayerZero V2 文档介绍,由于 LayerZero V2 将消息验证(由安全堆栈处理)和执行分开,因此消息 nonces 现在可以乱序执行,同时仍然保持抗审查性。在默认情况下,即使先前的消息执行失败,后续的消息流也将继续传递和执行。而这种无序消息传递通过使用改进的链上 nonce 跟踪,可以提供尽可能高的消息吞吐量。

LayerZero V2 还通过多种方式显着提高了可编程性,比如;

1、简化了协议合约接口,降低通过协议发送和接收消息的复杂性;

2、Endpoint V2 中的路径特定库使开发人员能够为特定路径配置不同的 MessageLib,从而为应用程序提供更大的灵活性和定制性;

3、水平可组合性。

而在开发者和普通用户更为关注的交互 Gas 效率方面,LayerZero 表示, V2 合约标准都经过重组,以减少基础合约固有的 Gas 成本。另外,V2 还优化了编译器,从而降低部署和执行的 Gas 成本。

在链兼容性方面,LayerZero V2 通过全链设计(Chain-Agnostic Design)、改善过后的 Gas 支付选项以及特定库默认值,提高了链兼容性,帮助 OApp(全链应用)开发人员设计可以跨 EVM 和非 EVM 链统一的单一应用架构。

来源:https://docs.layerzero.network/explore/layerzero-v2https://medium.com/@LayerZero_Labs/layerzero-v2-is-live-740290 f 2d be 6 

Пов'язані матеріали

Analysis of the Latest Portfolio Adjustment by the "Top Player" in the U.S. Stock Market: $9 Billion Short on NVIDIA, Shifting Focus to Power and Memory Sectors

AI investor Leopold Aschenbrenner has made a significant portfolio shift, taking a $9 billion nominal short position against top AI infrastructure stocks like NVIDIA, ASML, and Oracle. Simultaneously, he is redirecting capital towards what he sees as the next critical bottlenecks in the AI boom: power, memory, and data center networking, alongside private investments in AI model companies like Anthropic. This move is interpreted not as a call that the AI bubble has burst, but as a rotation within the infrastructure stack. The analysis highlights NVIDIA's recent $25 billion bond issuance as a potential signal, questioning why a cash-rich company would seek external debt despite high profits and increased dividends/buybacks. The core investment thesis is that the initial, crowded "picks and shovels" trade in semiconductors is maturing. The next wave of capital is expected to flow into the physical and logistical constraints of AI expansion: electricity supply, memory chip capacity, data center construction, and enabling technologies like optical networking (fiber) for high-bandwidth communication, where copper remains crucial for short distances. Aschenbrenner's substantial (approx. 20% of fund) private stake in Anthropic is noted as a key part of his strategy—investing directly in the "mine" (AI models) rather than just the "shovels." The discussion concludes that while certain segments may be overvalued, the overarching AI infrastructure demand driven by real product usage remains robust. The most promising long-term investments are seen in essential, non-sexy infrastructure—particularly energy and power companies—whose demand is viewed as a global constant irrespective of AI's cyclicality.

marsbit11 хв тому

Analysis of the Latest Portfolio Adjustment by the "Top Player" in the U.S. Stock Market: $9 Billion Short on NVIDIA, Shifting Focus to Power and Memory Sectors

marsbit11 хв тому

BIT Research: Liquidity is Disappearing, Will Bitcoin Replay the Bottoming Pattern of 2022?

The crypto market is currently in an adjustment phase driven by policy expectations and liquidity shifts. Despite a brief rebound fueled by geopolitical easing and SpaceX's strong IPO performance, unexpectedly hawkish signals from new Fed Chair Kevin Warsh have removed anticipated easing support. Concurrently, stablecoin liquidity is shrinking, with insufficient new capital inflows, pushing the market into a typically quiet summer period. Pricing lacks catalysts for a sustained rally. Daily trading volume has significantly contracted, stablecoin growth has slowed markedly, and the supportive effect of Strategy's (formerly MicroStrategy) STRC preferred stock-financed Bitcoin purchases is fading. Amid policy uncertainty, seasonal weakness, and liquidity contraction, Bitcoin faces near-term downward pressure. Warsh's hawkish pivot and refusal to provide a clear policy outlook have increased risk premiums, historically unfavorable for Bitcoin. Technically, the trend remains bearish below $73,700, with $62,446 as critical support. A break below could accelerate declines, though a prolonged consolidation phase, similar to 2022's bottoming process, is possible. Liquidity is a core constraint. Current daily volume is around $500 billion, roughly 25% of the peak during the July-Oct 2025 rally. The 12-month growth rates for USDT and USDC have fallen to ~20%, with 6-month growth near zero, indicating weak new inflows. Bitcoin ETF and Strategy-driven inflows have also weakened, with a 30-day rolling net outflow. With inflation at 4.2% above the Fed's target, combined hawkish policy, seasonal factors, and liquidity shortages challenge Bitcoin's ability to hold above $60,000. However, this adjustment phase may be forming a cyclical low this summer, potentially setting the stage for the next bull cycle.

marsbit40 хв тому

BIT Research: Liquidity is Disappearing, Will Bitcoin Replay the Bottoming Pattern of 2022?

marsbit40 хв тому

Who Makes the Best Use of Claude Code? The Answer Might Not Be Programmers

Claude Code Usage Report Summary (Based on ~400k sessions) Core Finding: In agentic programming with Claude Code, a clear division of labor has emerged: humans primarily decide *what* to build (planning decisions), while Claude decides *how* to build it (execution decisions). Key Insights: 1. **Effectiveness is not limited to programmers.** In code-generation tasks, success rates for users in non-technical fields (law, finance, management, research) are nearing those of software engineers. What matters most is the user's domain expertise and understanding of the problem to be solved. 2. **Domain expertise drives success and efficiency.** Sessions where users exhibited "expert" proficiency in the task's domain saw verified success rates double compared to "novice" sessions. Experts also delegated more work per instruction, with Claude executing more actions and producing more output. 3. **AI is amplifying, not replacing, domain knowledge.** Claude Code lowers the *implementation* barrier, not the *judgment* barrier. The value of knowing the "what" and "why" is increasing relative to just knowing the "how" to code. 4. **Usage is evolving.** Over a 7-month period (Oct '25 - Apr '26), the share of sessions for debugging halved, while use for software operations, data analysis, and non-code writing roughly doubled. The estimated economic value of typical tasks increased by ~25%. Conclusion: The data suggests coding agents are making programming background less critical for completing technical tasks. However, they reward and amplify deep domain understanding. The ability to successfully direct an AI agent stems more from mastery of a specific field than from coding skill itself. The primary gains come from being competent in a domain; deep specialization adds only marginal additional advantage. This may signal a shift where software creation becomes integrated into various professions.

marsbit1 год тому

Who Makes the Best Use of Claude Code? The Answer Might Not Be Programmers

marsbit1 год тому

Торгівля

Спот
Ф'ючерси
活动图片