---
title: "什么是 Layer 2 (L2)？"
canonical: https://wavect.io/zh/glossary/layer-2/
language: zh
description: "依赖基础区块链提供部分安全保障的执行层；费用、证明系统、升级控制和提款路径因部署而异。"
image: "https://wavect.io/img/general/bak/open_graph_preview.jpg"
---

技术

# 什么是 Layer 2 (L2)？

Layer 2 (L2)

依赖基础区块链提供部分安全保障的执行层；费用、证明系统、升级控制和提款路径因部署而异。

最近审阅: 2026-10-22 审阅人 [Kevin Riedl](/zh/team/kevin-riedl/) [wiki ↗](https://www.wikidata.org/wiki/Q139796365)

Layer 2 在基础区块链之外处理交易，并依赖基础层提供部分安全保障。以太坊 Rollup 会在以太坊上发布状态承诺和重建状态所需的数据。这可以降低费用，却不意味着所有 L2 在运行层面都等同于以太坊主网。应检查实际部署的证明系统、数据可用性、升级权限、排序器和退出路径。

[Optimistic Rollup](https://ethereum.org/en/developers/docs/scaling/optimistic-rollups/) 通过争议机制处理状态声明。规范桥提款通常要等待挑战期，往往约为一周。快速桥可以提前垫付流动性，但会增加自身的费用、流动性限制和风险。排序器快速确认并不等于 L1 结算完成。

[ZK Rollup](https://ethereum.org/en/developers/docs/scaling/zk-rollups/) 使用在 L1 验证的有效性证明。它免去了 Optimistic 挑战期，但仍依赖证明生成、提交和 L1 结算。ZK 标签既不保证即时提款，也不保证所有场景下成本更低。应根据实际工作负载、已部署的保护机制和恢复路径选型，而不是把某一设计永久视为默认答案。

Wavect 已在 Boba Network 上交付系统，包括其混合计算模型。这些经验不代表其他链具有相同保证。对新的 [区块链项目](/zh/services/blockchain/) ，应在目标部署上测试存款、提款、排序器故障、服务商故障和升级控制，衡量完整用户流程及其成本。

## 相关术语

- [EVM](/zh/glossary/evm/)
- [智能合约](/zh/glossary/smart-contract/)
- [Account Abstraction](/zh/glossary/account-abstraction/)
- [Blockchain](/zh/glossary/blockchain/)

// FAQ

## 常见问题

### 什么是 Layer 2？

依赖基础链提供部分安全保障的执行层。对以太坊 Rollup，应先检查证明验证、数据可用性、升级权限、排序器运行和退出机制，再比较费用。

### Optimistic Rollup 与 ZK Rollup 有何区别？

Optimistic Rollup 使用挑战期；ZK Rollup 使用在 L1 验证的有效性证明。ZK 避免了该挑战期，但仍需要证明生成和结算。应比较实际保护机制和完整提款路径。

### 迁移到 L2 是免费的扩展性胜利吗？

不是。费用、终局性、升级、数据可用性、排序器活性和桥风险均有差异。应测试目标链上的实际交易；相同的以太坊保障和固定折扣都不是普遍保证。

相关服务

- [区块链](/zh/services/blockchain/)

相关案例研究

- [Account Abstraction](/zh/case-studies/account-abstraction/)
- [LightBridge](/zh/case-studies/lightbridge/)
- [MetaMask Snap](/zh/case-studies/metamask-snap/)

相关指南

- [如何挑选软件开发公司](/zh/software-development-guide/how-to-choose-a-software-agency/)

聊聊

## Structured Data

```json
{
  "@context": "https://schema.org",
  "@graph": [
    {
      "@id": "https://wavect.io/#organization",
      "@type": [
        "Organization",
        "ProfessionalService",
        "LocalBusiness"
      ],
      "employee": [
        {
          "@id": "https://wavect.io/team/kevin-riedl/#person",
          "@type": "Person",
          "jobTitle": "Managing Director",
          "name": "Kevin Riedl",
          "url": "https://wavect.io/team/kevin-riedl/",
          "worksFor": {
            "@id": "https://wavect.io/#organization",
            "@type": [
              "Organization",
              "ProfessionalService",
              "LocalBusiness"
            ]
          }
        },
        {
          "@id": "https://wavect.io/team/christof-jori/#person",
          "@type": "Person",
          "jobTitle": "Managing Director",
          "name": "Christof Jori",
          "url": "https://wavect.io/team/christof-jori/",
          "worksFor": {
            "@id": "https://wavect.io/#organization",
            "@type": [
              "Organization",
              "ProfessionalService",
              "LocalBusiness"
            ]
          }
        }
      ],
      "founder": [
        {
          "@id": "https://wavect.io/team/kevin-riedl/#person",
          "@type": "Person",
          "jobTitle": "Managing Director",
          "name": "Kevin Riedl",
          "url": "https://wavect.io/team/kevin-riedl/",
          "worksFor": {
            "@id": "https://wavect.io/#organization",
            "@type": [
              "Organization",
              "ProfessionalService",
              "LocalBusiness"
            ]
          }
        },
        {
          "@id": "https://wavect.io/team/christof-jori/#person",
          "@type": "Person",
          "jobTitle": "Managing Director",
          "name": "Christof Jori",
          "url": "https://wavect.io/team/christof-jori/",
          "worksFor": {
            "@id": "https://wavect.io/#organization",
            "@type": [
              "Organization",
              "ProfessionalService",
              "LocalBusiness"
            ]
          }
        }
      ],
      "legalRepresentative": [
        {
          "@id": "https://wavect.io/team/kevin-riedl/#person",
          "@type": "Person",
          "jobTitle": "Managing Director",
          "name": "Kevin Riedl",
          "url": "https://wavect.io/team/kevin-riedl/",
          "worksFor": {
            "@id": "https://wavect.io/#organization",
            "@type": [
              "Organization",
              "ProfessionalService",
              "LocalBusiness"
            ]
          }
        },
        {
          "@id": "https://wavect.io/team/christof-jori/#person",
          "@type": "Person",
          "jobTitle": "Managing Director",
          "name": "Christof Jori",
          "url": "https://wavect.io/team/christof-jori/",
          "worksFor": {
            "@id": "https://wavect.io/#organization",
            "@type": [
              "Organization",
              "ProfessionalService",
              "LocalBusiness"
            ]
          }
        }
      ],
      "name": "Wavect GmbH",
      "subjectOf": {
        "@id": "https://wavect.io/verified-claims.json#dataset",
        "@type": "Dataset",
        "creator": {
          "@id": "https://wavect.io/#organization",
          "@type": [
            "Organization",
            "ProfessionalService",
            "LocalBusiness"
          ]
        },
        "description": "A machine-readable registry of quantitative and qualitative claims published by Wavect, with review dates, localized page appearances and public third-party citations where available.",
        "inLanguage": "en",
        "isAccessibleForFree": true,
        "license": "https://creativecommons.org/licenses/by/4.0/",
        "name": "Wavect verified publication claims",
        "url": "https://wavect.io/verified-claims.json"
      },
      "url": "https://wavect.io/"
    },
    {
      "@id": "https://wavect.io/team/kevin-riedl/#person",
      "@type": "Person",
      "jobTitle": "Managing Director",
      "name": "Kevin Riedl",
      "sameAs": [
        "https://www.wikidata.org/wiki/Q139796365",
        "https://www.linkedin.com/in/wsdt",
        "https://github.com/wsdt"
      ],
      "url": "https://wavect.io/team/kevin-riedl/",
      "worksFor": {
        "@id": "https://wavect.io/#organization",
        "@type": [
          "Organization",
          "ProfessionalService",
          "LocalBusiness"
        ]
      }
    },
    {
      "@id": "https://wavect.io/team/christof-jori/#person",
      "@type": "Person",
      "jobTitle": "Managing Director",
      "name": "Christof Jori",
      "sameAs": [
        "https://www.wikidata.org/wiki/Q139796367",
        "https://www.linkedin.com/in/jocr77/",
        "https://github.com/jo-chris"
      ],
      "url": "https://wavect.io/team/christof-jori/",
      "worksFor": {
        "@id": "https://wavect.io/#organization",
        "@type": [
          "Organization",
          "ProfessionalService",
          "LocalBusiness"
        ]
      }
    },
    {
      "@id": "https://wavect.io/#website",
      "@type": "WebSite",
      "inLanguage": [
        "en",
        "de",
        "es",
        "zh"
      ],
      "name": "Wavect",
      "potentialAction": {
        "@type": "SearchAction",
        "query-input": "required name=search_term_string",
        "target": {
          "@type": "EntryPoint",
          "urlTemplate": "https://wavect.io/search/?q={search_term_string}"
        }
      },
      "publisher": {
        "@id": "https://wavect.io/#organization",
        "@type": [
          "Organization",
          "ProfessionalService",
          "LocalBusiness"
        ]
      },
      "url": "https://wavect.io/"
    }
  ]
}
```

```json
{
  "@context": "https://schema.org",
  "@graph": [
    {
      "@id": "https://wavect.io/zh/glossary/layer-2/#term",
      "@type": "DefinedTerm",
      "alternateName": [
        "L2",
        "Rollup",
        "Layer-2"
      ],
      "description": "依赖基础区块链提供部分安全保障的执行层；费用、证明系统、升级控制和提款路径因部署而异。",
      "inDefinedTermSet": "https://wavect.io/zh/glossary/#termset",
      "name": "Layer 2",
      "termCode": "layer-2",
      "url": "https://wavect.io/zh/glossary/layer-2/"
    },
    {
      "@id": "https://wavect.io/zh/glossary/layer-2/#webpage",
      "@type": "WebPage",
      "about": {
        "@id": "https://wavect.io/#organization",
        "@type": [
          "Organization",
          "ProfessionalService",
          "LocalBusiness"
        ]
      },
      "author": {
        "@id": "https://wavect.io/team/kevin-riedl/#person",
        "@type": "Person",
        "name": "Kevin Riedl",
        "url": "https://wavect.io/team/kevin-riedl/"
      },
      "dateModified": "2026-10-22",
      "description": "依赖基础区块链提供部分安全保障的执行层；费用、证明系统、升级控制和提款路径因部署而异。",
      "headline": "什么是 Layer 2 (L2)？",
      "inLanguage": "zh",
      "isPartOf": {
        "@id": "https://wavect.io/#website",
        "@type": "WebSite"
      },
      "lastReviewed": "2026-10-22",
      "mainEntity": {
        "@id": "https://wavect.io/zh/glossary/layer-2/#term"
      },
      "mentions": [
        {
          "@id": "https://wavect.io/#organization",
          "@type": [
            "Organization",
            "ProfessionalService",
            "LocalBusiness"
          ]
        },
        {
          "@type": "Service",
          "name": "区块链",
          "url": "https://wavect.io/zh/services/blockchain/"
        }
      ],
      "name": "Layer 2",
      "reviewedBy": {
        "@id": "https://wavect.io/team/christof-jori/#person",
        "@type": "Person",
        "name": "Christof Jori",
        "url": "https://wavect.io/team/christof-jori/"
      },
      "speakable": {
        "@type": "SpeakableSpecification",
        "cssSelector": [
          ".gls-single__h1",
          ".gls-single__tldr"
        ]
      },
      "url": "https://wavect.io/zh/glossary/layer-2/"
    },
    {
      "@type": "BreadcrumbList",
      "itemListElement": [
        {
          "@type": "ListItem",
          "item": "https://wavect.io/zh/",
          "name": "首页",
          "position": 1
        },
        {
          "@type": "ListItem",
          "item": "https://wavect.io/zh/glossary/",
          "name": "Wavect 术语表",
          "position": 2
        },
        {
          "@type": "ListItem",
          "item": "https://wavect.io/zh/glossary/layer-2/",
          "name": "Layer 2",
          "position": 3
        }
      ]
    }
  ]
}
```

```json
{
  "@context": "https://schema.org",
  "@type": "FAQPage",
  "mainEntity": [
    {
      "@type": "Question",
      "acceptedAnswer": {
        "@type": "Answer",
        "text": "依赖基础链提供部分安全保障的执行层。对以太坊 Rollup，应先检查证明验证、数据可用性、升级权限、排序器运行和退出机制，再比较费用。"
      },
      "name": "什么是 Layer 2？"
    },
    {
      "@type": "Question",
      "acceptedAnswer": {
        "@type": "Answer",
        "text": "Optimistic Rollup 使用挑战期；ZK Rollup 使用在 L1 验证的有效性证明。ZK 避免了该挑战期，但仍需要证明生成和结算。应比较实际保护机制和完整提款路径。"
      },
      "name": "Optimistic Rollup 与 ZK Rollup 有何区别？"
    },
    {
      "@type": "Question",
      "acceptedAnswer": {
        "@type": "Answer",
        "text": "不是。费用、终局性、升级、数据可用性、排序器活性和桥风险均有差异。应测试目标链上的实际交易；相同的以太坊保障和固定折扣都不是普遍保证。"
      },
      "name": "迁移到 L2 是免费的扩展性胜利吗？"
    }
  ],
  "speakable": {
    "@type": "SpeakableSpecification",
    "cssSelector": [
      ".faq-question",
      ".faq-answer"
    ]
  }
}
```
