从产品维度来看,我们为什么不能完全信任Layer2?

PanewsPubblicato 2022-08-10Pubblicato ultima volta 2022-08-10

Introduzione

相比以太坊,Layer2更像是一个游乐场,你可以在里面享受它的快速便捷,但你不能获得100%的安全。

相比以太坊,Layer2更像是一个游乐场,你可以在里面享受它的快速便捷,但你不能获得100%的安全。

内容概要

- 简介

- 为什么要从 L1 到 L2?

- 产品维度

- 维度 1:什么是 L2?

- 维度 2:验证方法

- 维度 3:市场细分

- 维度 4: 生态系统的进步

- 重要的限制和风险 🚧

- 延伸阅读、免责声明

- ⭐️更多:快速开启 L2 体验‌ ⭐️

简介

这篇文章是关于 L2 扩容的,重点聚焦在以太坊上。我是为初级到中级的区块链爱好者写的——即具备在以太坊或其他主链上进行交易的经验,但对 L2 及其进展仍不太了解的人群。

本文的重点是将 L2 解决方案按照产品进行分类。我认为这种方式是很有帮助的。产品思维可以帮助提高判断力和消费者的谨慎度。产品之间会产生竞争。他们有受欢迎的或者不受欢迎的特点。用这种形式来思考可以让你更仔细地权衡潜在的成本和效益。无论我们要买什么,从一支新笔到一台新的笔记本电脑,都可以进行产品评估和比较。我们会对这些产品进行分类、保存、仔细检查和筛选。那么何不对所有加密货币产品也进行这样的比较呢?

作为一个产品类别,L2 是令人兴奋的。一开始,你必须选择一个 L2 来发送你的 L1(以太坊)资产。这被称为 "桥接"(bridging)。随着最近一些 L2 解决方案的发布,以太坊上成千上万的参与者已经将资金桥接到一些选定的 L2(见下面的插图)。我们在进入一个与主链及其产品平行的世界。当你进行交易时,感觉就像是启动了区块链传送门——交易速度飞快,几乎没有延迟或成本。

从产品维度来看,我们为什么不能完全信任Layer2?

要使用 L2 就必须进行桥接。此图为近 1 万个钱包从 L1 桥接到 L2(数据来源‌)

为什么要从 L1 到 L2?

在 2022 年 5 月初的一个周末,有人坐在电脑前,兴奋地在以太坊上进行交易。他们可能计划交易一些代币或 mint 一个 NFT。也许他们喝了一口热咖啡,打开浏览器,插入他们漂亮的硬件钱包,准备开始交易。他们用 Uniswap 来做一个简单的交易,然后点击了 "交易" 按钮。他们轻击按键在钱包上签名。交易完成了。但是,当他们在 Etherscan 检查链上交易时,他们大吃一惊。一笔 282.60 美元的交易花费了 183.57 美元的费用。

从产品维度来看,我们为什么不能完全信任Layer2?

2022 年 5 月 1 日的 Uniswap 交易费用

对于那些被 gas“刺客”麻了的人来说这是一个再熟悉不过的故事。但在 5 月的那个周末,gas 的糟糕程度达到了历史新高。有人支付了超过 4000 美元的费用来铸造 Purrnelopes NFT(价格:1000 美元)。另一个人花了超过 400 美元的 gas,只是为了发送 30 美元的以太坊。基本费用超过了 8,000 gwei,是有史以来最高的。事情有些不对劲。当然,起因是某个 NFT 的 mint。

从产品维度来看,我们为什么不能完全信任Layer2?

Purrnelopes Cat #8165

PoW 区块链可能面临严重的扩容挑战,那个周末发生的事情进一步印证了这个事实。并不只有以太坊面临这个问题。比特币历史上有一个知名的例子是,Erik Voorhees 在链上普及的 Satoshi Dice 这个游戏。十年前推出的 Satoshi Dice 对许多人来说是一个很受欢迎的游戏,但有些 bitcoiner 却对它大为不满。它造成了网络拥堵,导致了高额费用和缓慢的交易。比特币历史上的同类事件也激发了其著名的区块战争和闪电网络的发展。

协议架构师对此能做什么?

有些人设计了新的协议和链,利用新的共识机制克服这些挑战。这是因为扩容与去中心化和安全的目标存在矛盾:不可能三角。区块链在历史上以牺牲扩容为代价最大化了安全等特性。另一个方法是将这种安全性作为新的发展基础。为什么不在 L1 的基础上,创建一个 二层网络(L2),在利用 L1 的安全性的同时,几乎不受到这些扩容问题的限制?

这篇文章就是关于这个新兴的 L2 解决方案的生态系统,专注于以太坊。我将把 L2 描绘成帮助用户扩展其链上活动的产品。我们用特定的产品维度去看待 L2。这些维度可以帮助我们看待 L2 扩容和分辨可供我们尝试的产品。

产品维度

维度 1:什么是 L2?L2 解决方案中经常讨论的第一个维度是 L2 本身的定义,因为它具有特殊的技术和安全含义。L2 通常被定义为直接与 L1 账本安全性挂钩的账本。从实际的、功能性的角度来思考这个定义是很有帮助的。在 Lex Fridman 的播客‌中,Vitalik Buterin 为 L2 rollup 的某种类型举了一个例子。

“Rollup 和侧链之间的安全模式有一个重要的区别,基本上 Rollup 继承了以太坊的安全性,所以如果我在 Loopring 或 Optimism 或 Arbitrum 或 ZkSync 里面有币,那么即使世界上其他参与这些生态的人都讨厌我,想偷我的钱,我仍然可以百分百确定我的钱可以拿出来。”

因此,从产品角度来看,第一个区别是,一个 "合格的"L2 有加密保证,以保护你的资产。这些保证直接与 L1 主链(这里是以太坊)相联系。作为一种产品,这让 L2 平台感觉仍然在以太坊更广泛的生态系统内运作(并享受其带来的安全性)。

但是,如果技术及其用户界面和社区都在不断发展,那么我们还应该考虑 L2 的哪些方面?

关于这些问题,这里有一个很好的信息网站:L2 BEAT 研究团队创建了一个丰富的资源库,实时更新以太坊 L2 的数据。这个网站上有详细的解释,包括每个 L2 的信息。从 L2 BEAT 的 FAQ 来看:

“我们必须做出定义——在当前——我们将 L2 定义为完全或部分地从以太坊 L1 中获得安全的链,这样用户就不必依赖 L2 验证者的诚信来保证他们的资金安全。这符合 ethereum.org 目前对 L2 扩容的定义。”

从产品维度来看,我们为什么不能完全信任Layer2?

L2 BEAT 网站

维度 2:验证方法。根据 L2 的这一定义,有几种方法可以在与 L1 绑定的同时保证资产的安全。目前最常见的方法是 Rollup。通过 Rollup 这个词就能理解其定义。L2 通过 "将交易卷起来" 来打包一批交易。这可以节省数据并提高速度。得益于零知识证明的技术发展,这种加速可以特别快。因为这些证明允许我们证明(或伪造)一批“卷起来”的交易的有效性,大大节省了数据存储和速度的效率方面耗费的力气。

从产品维度来看,我们为什么不能完全信任Layer2?

Vitalik Buterin 对 Rollup 的解释‌仍然是最清晰的

验证 Rollup 有两种主要的方法,作为产品,他们所能提供的内容可能看起来非常不同。一种被称为 "Optimistic Rollup",另一种被称为 "ZK Rollup"。

在使用 Optimistic Rollup 的 L2 上,交易在 L2 上需要等待一段时间(即挑战期)。与此同时会有一个程序用于裁定任何潜在的不良行为,允许 L2 上的参与者证明一个或多个更改是以欺诈方式进行的。如果一批交易已经度过了挑战期,那么他们就被间接地 "验证" 了。第二种类型称为 "ZK Rollup",在交易被“卷起来”的时候验证一批交易。这样做的好处是更快地确认它们的合理性,但对 L2 来说,计算成本会更高。Vitalik Buterin 对这两种验证类型有一个很好的总结。

从产品维度来看,我们为什么不能完全信任Layer2?

Vitalik 写的 Rollup 指南

目前交易量最大的两个 L2,Arbitrum 和 Optimism,用的是 Optimistic Rollup。这意味着,当你在他们的链上进行交易时,数据的最终 L1 commitment 将在挑战期(7 天)过后完成。这条规则也有例外,因为可以设计出一些工具来绕过等待期(比如桥接)。使用 "ZK Rollup" 的两个主要应用:dYdX 和 Loopring。在这些 L2 中,commitment 是可以立即进行的(尽管在实践中,仍然可能需要几分钟或几小时来捆绑交易并将其相关数据提交到 L1 账本中)。

或许这种说法不受欢迎:在这两种情况下,都不会真正阻止用户在 L2 上开展业务。这个等待期仅与对 L1 的承诺有关。但从 L2 的“角度”来看,无论是哪一种 Rollup,你的交易几乎都可以立即处理,并且成本只是 gas 价格的一小部分。

从产品维度来看,我们为什么不能完全信任Layer2?

L2 BEAT TVL 排行

如果你正在编写一个将在 L1 和 L2 之间通信的应用,这个维度可能更重要。在 Optimistic Rollup 中,L2 上的合约必须等待 7 天的挑战期,然后 L1 才能完全确认其更新。但如果你是 Optimistic L2 上的普通用户,就不涉及这样的技术考虑,大多时候你不会注意到这些。即使在 Optimistic Rollup 中存款或提款,现在也有第三方服务帮助绕过挑战期。

因此,从消费者评估产品的角度来看,接下来的两个维度可能更加重要。

维度 3:市场细分。消费者心理学认为,产品评估的早期组成部分之一是问题识别。这具体到为什么对某一特定产品感兴趣,以及将用它来追求什么特定的目标。明确目的是很重要的。就 L2 而言,我已经试验了几个 L2,作为一个潜在的用户,你要问的最直接问题是你想在该层上做什么样的交易。

一般有两种类型。再次借用 L2 BEAT 的分类,一种是建立通用功能的 L2,也有寻求专业化的 L2。

通用:有几个链,包括两个最大的 Arbitrum 和 Optimism,旨在实现普遍覆盖——完全与 EVM 等效,就像第二个以太坊,速度更快,成本更低,并保持与 L1 的连接。如果你正在发布一个 NFT 项目或代币或任何专门的智能合约系统,你可以考虑将通用 L2 作为一个潜在的选择,以方便部署。这些平台在其网站上有精心设计的 "生态系统" 部分:NFT 市场、L2 Uniswap、DAO、预言机等等(见 Arbitrum‌ 和 Optimism‌)。

专业化:有趣的是,其他大规模的 L2 应用,如 dYdX 和 Loopring,使用 ZK Rollup,并且更加专业化。他们都专注于作为一个交易所。他们的平台面向特定种类的交易,速度更快也更便宜,而在 DeFi 的世界里,快速结算是关键。Immutable X 是将 NFT 转移到 L2(基本上是 ZK Rollup,但其数据不在链上)的例子。Immutable 现在承载着几个大型项目,包括著名的 Gods Unchained 卡牌游戏。

从产品维度来看,我们为什么不能完全信任Layer2?

Immutable X 上的 Gods Unchained

当 L2 是为市场专业化设计的时候,你可能会发现它的易用性和在该细分市场的渗透率是最理想的。回到最初的那个问题:你为什么想参与 L2?这个问题可以帮助消费者确定候选产品。如果你对 DeFi 活动感兴趣,最佳选择的范围可能与交易 NFT 的情况不同。

维度 4:生态系统的进步。上面提到的 L2 自最初问世以来有了很大的发展。就在最近,Optimism 发布了一个重要的项目公告‌,一些 ZK Rollup 平台也宣布其平台的加密工具有了重大进展‌。

一个主要问题是这些系统的进展,以及有多少人加入。我们在这里有那两个基本原则:优先依附和网络效应。使用 L2 的人越多(而且用得越频繁),这些平台就会被认为是更可取的,它们就能继续快速发展。评估 L2 的这一情况,取决于生态系统进步的一些基础原始成分。

i. 平台的交易量

ii. 平台的独特用户

评估这些产品的消费者必须平衡特定用户群的规模和它所要实现的特定功能。一个为特定目的而打造的平台(如 NFT 平台),如果没有用户,那就没有用。L2 BEAT 可以提供一些关于这些链上活动的数据(虽然不完美:通过 TVL 判断)。下图是由 gm365 制作的 Dune 图表,有四大 L2 的很多相关指标。

从产品维度来看,我们为什么不能完全信任Layer2?

gm365 的 L2 桥接数据‌(截至 8 月 3 日)

但是,即使交易量很小,我们也可以根据软件产品的其他一些基本特征来探究一个平台的前景如何。这些特征可以形成平台吸引其他客户的可能性。

iii. 桥接、交易和提款的用户体验

iv. 平台和托管应用的一般用户体验

L2 的用户体验问题不仅仅是你的资产在桥上的移动。有独立的团队为这些 L2 构建新的应用和工具。他们也有用户体验的问题需要考虑。这些平台的一些应用一直在许多 L2 上部署。例如,tofuNFT 的 NFT 市场可用于在许多链和 L2 进行交易。任何这样的应用都会有自己的用户体验感,我们最终可能会专注于其中一个子集的 L2。

从产品维度来看,我们为什么不能完全信任Layer2?

tofuNFT 涉及的链

每个 L2 和每个应用都会进一步缩小用户群和 L1 的流动性。这是我们在这个生态系统中前进时的一个主要限制。桥接和用户体验的技术挑战是关键,但同样重要的是活动的程度和 L2 平台上参与托管产品的独特用户数量。这种引导是一种成分,在很大程度上取决于我们对 L2 的潜心研究。

重要的限制和风险

以上是主要的产品维度:L2 的安全性、验证类型、市场细分和生态系统的进展。你可以关注这些产品的正向信息,进行分类和筛选,并做出产品选择。但是,也应该牢记一些关键的限制和风险。其中一些涉及到整个 L2 生态系统本身。这里是这些产品正在解决的几个重要问题。

L2 BEAT 列出了每个 L2 的潜在风险:

从产品维度来看,我们为什么不能完全信任Layer2?

Top 10 L2 的风险

下面是使用 Optimistic Rollup 的 L2 面临的典型风险。目前,我们必须假设至少有一个诚实的、有能力的验证者,他们没有从事 MEV 提取等等。这些都是合理的假设。但是,就像加密领域的所有事情一样,我们宁愿不做这些假设。

从产品维度来看,我们为什么不能完全信任Layer2?

L2 BEAT 列出的 L2 风险列表

最近发生的 Nomad 攻击事件就说明了跨链桥的风险。可能是由一个合约更新引起的,导致其跨链桥合约的资产(约 1.9 亿美元)被吸干。另外还有一些产品仍然是相对中心化的。例如,一些主要的 L2 有一个排序器(验证者),他们未来有去中心化升级的计划。中心化是一个严重的问题。Axie Ronin 桥是通过对其多签合约的签署者进行社交工程攻击而被破坏的。

因此,这些风险是巨大的。存放资产最安全的位置是在 L1。从某种程度上来看,L2 应该被视为一个游乐场,在那里你可以与一个感兴趣的生态系统进行更快、更低成本的接触——这对 DeFi 来说尤其实用。DeFi 和 ERC20 代币(举个例子)可以桥接。然后,当准备好长期持有时,你将你的资产放回到 L1。这对 NFT 来说可能更困难。L2 上的 "原生"NFT 只能继续存放在那里。碎片化的和包装的 NFT 可能也允许在 L2 上以这种方式参与。

Letture associate

South Korean Institutions' Crypto Race: Dual Explosion of Stablecoins and RWA

**Summary: South Korea's Institutional Crypto Race: Stablecoins and RWA Take Off** South Korea is undergoing a structural shift in its crypto ecosystem, moving beyond its historical role as a major retail trading hub. Major financial institutions and internet platforms are now building institutional-grade blockchain infrastructure, with stablecoins and Real-World Asset (RWA) tokenization as the primary drivers. The push for a regulated Korean won stablecoin market is a major policy and corporate focus. This is driven partly by an estimated $115 billion outflow into dollar stablecoins like USDC, threatening the domestic financial system. Banks (e.g., KB Financial, Hana), payment giants (e.g., Shinhan Card, BC Card), and internet super-apps (KakaoPay, NAVER Pay) are all conducting pilots. The goal is to anchor future digital finance to the Korean won and local regulations. In RWA, South Korea is advancing rapidly within regulatory sandboxes, focusing on unique domestic assets beyond typical global templates like US Treasuries. Projects involve tokenizing ships (with Hyundai Heavy Industries), defense supply chain assets, and K-pop intellectual property, alongside more conventional assets. A legal framework is set for 2027, and platforms like NXT are preparing for regulated trading. Key opportunities for crypto-native projects lie in providing the underlying technology these traditional institutions lack: global distribution channels for tokenized assets, cross-chain liquidity solutions, and enabling infrastructure tools (e.g., for asset packaging and management). Partnerships, such as Solana with Shinhan Card or LayerZero with the Korea Gold Exchange, exemplify this proactive approach. Crucially, user access is being shaped by consumer platforms. NAVER's planned acquisition of Upbit's operator Dunamu and Kakao's development of a unified wallet aim to seamlessly integrate crypto with everyday payments for tens of millions of users. The race is now about which protocols and projects will become the foundational standards as regulation solidifies and institutional adoption accelerates.

Foresight News7 min fa

South Korean Institutions' Crypto Race: Dual Explosion of Stablecoins and RWA

Foresight News7 min fa

How to Detect AI-Generated Videos? A Review of Dynamic, Traceable, and Explainable Detection Systems

**How to Detect AI-Generated Videos: A Survey on Dynamic, Traceable, and Explainable Detection Systems** With rapid advances in AI video generation (e.g., Sora, Veo), creating highly realistic, multi-minute videos is now possible, widening the gap with detection research. Current AI video detection, often limited to unreliable binary classifications, is insufficient. This survey, accepted at ACL 2026, reframes the goal as **"factual fidelity verification"**—checking if a video's content (who, when, where, what) aligns with the real world perceptually and cognitively. It categorizes AI-generated videos into three paradigms: **Local Manipulation Videos (LMV**, e.g., face swaps), **Audio-Visual Editing (AVE**, e.g., lip-syncing), and **Generative Video Synthesis (GVS**, fully synthetic videos like Sora's). Detection challenges evolve from visual artifacts in LMV to multi-modal inconsistencies in AVE and higher-level world knowledge violations in GVS. The core proposal is a **Vision-Language Dual-View framework** with four hierarchical layers: 1. **Layer 1 (Intrinsic Visual Cues):** Analyzes low-level signal statistics, noise patterns, and physiological signals. 2. **Layer 2 (Spatiotemporal Consistency):** Checks for temporal coherence in object motion and scene dynamics. 3. **Layer 3 (Cross-Modal Consistency):** Verifies alignment between video, audio, and text within the video. 4. **Layer 4 (Language-Guided World-Level Reasoning):** Uses external knowledge, facts, and physical laws to judge semantic plausibility and factual correctness. The survey traces a shift in detection focus from lower layers (1 & 2) toward higher, language-involved layers (3 & 4). It also reviews evolving evaluation metrics and datasets tailored for each video paradigm. The conclusion advocates for a **dynamic, evidence-first detection system** that moves beyond simple classification. Future trustworthy detection requires combining visual evidence (from CV) with semantic reasoning and explanation (from NLP & multimodal AI), ultimately creating traceable and explainable judgments about a video's adherence to real-world constraints.

marsbit43 min fa

How to Detect AI-Generated Videos? A Review of Dynamic, Traceable, and Explainable Detection Systems

marsbit43 min fa

It Turns Out the First Real-World Application of AI x Crypto is in Security Auditing

The article explores the surprising trend where AI's first major impact on crypto has been in security auditing, not in areas like trading or analytics. It details how AI-powered tools are dramatically lowering the barrier to finding smart contract vulnerabilities, enabling attackers to scan thousands of contracts and execute exploits within minutes. This has rendered traditional, manually-produced audit reports with their month-long validity periods increasingly obsolete, creating a critical "structural crack" in the old security model. Cases like Drift Protocol and KelpDAO show that even extensively audited protocols can be hacked through social engineering, operational flaws, or infrastructure misconfigurations beyond pure code review. Attackers are also using AI to find and exploit vulnerabilities in years-old, deployed contracts. Notably, OpenZeppelin's co-founder has expressed a grim view that "all DeFi is insecure" due to AI's asymmetric advantage. In response, the audit industry is undergoing a fundamental shift. While there's a short-term spike in defensive re-audits, the long-term business model is changing. Firms are developing AI-assisted systems and moving from one-time report deliveries towards embedded, continuous services like real-time monitoring and formal verification. Examples include AI tools uncovering critical, previously missed vulnerabilities in heavily audited protocols like Curve Finance and Zcash. The conclusion is that security must become a continuous investment, not a one-time checkbox, and audit firms must rapidly evolve their tools and service models to survive.

marsbit50 min fa

It Turns Out the First Real-World Application of AI x Crypto is in Security Auditing

marsbit50 min fa

Never expected that the first tangible application of AI x Crypto is in security auditing

Unexpectedly, the initial major application of AI in the Crypto sphere has turned out to be security auditing. In 2026, DeFi has faced significant security challenges, with 121 hacking incidents resulting in approximately $942 million in losses. While AI was expected to first impact areas like quantitative trading, its initial breakthrough has instead transformed security auditing by drastically lowering the cost and skill barrier for finding smart contract vulnerabilities. The traditional audit model is facing obsolescence. Advanced AI models, such as Claude Mythos, enable attackers to scan thousands of contracts and identify vulnerability patterns at scale, compressing the time from discovery to execution to mere minutes. This renders the month-long validity of traditional audit reports ineffective. Notably, attacks now frequently target well-audited, established protocols by exploiting business logic flaws, operational security weaknesses, and even years-old historical contracts, demonstrating that old audit reports offer zero protection. This pressure is forcing a fundamental shift in the industry. In the short term, a wave of defensive re-auditing is occurring, driven by projects seeking to meet new AI-era security standards and regulatory requirements. In the long run, audit firms' business models are diverging. The one-time report delivery model is declining in value, as evidenced by platforms like Code4rena shutting down. Leading firms are now pivoting towards AI-powered defense, integrating continuous monitoring, real-time on-chain risk detection, and embedding security directly into the development phase, as seen with tools like OpenZeppelin's Skills system. Ultimately, the era of "audit once, secure forever" is over. Security must become a continuous, embedded infrastructure investment for projects. For audit companies, survival depends on proactively transforming from traditional service providers into platforms offering AI-native, ongoing security solutions.

链捕手57 min fa

Never expected that the first tangible application of AI x Crypto is in security auditing

链捕手57 min fa

Trading

Spot
活动图片