---
title: "促进开放生态系统"
description: "Alchemy 的使命是将下一个十亿用户带上链。要实现这一目标，需要一个快速发展的生态系统，其中的项目共同构建 web3 的未来。"
---

# 促进开放生态系统

<ImageBlock
  src="https://media.alchemy.com/1709750895-fostering-an-open-ecosystem.png"
  alt="Alchemy 面向 web3 开发者的开放生态计划"
  width={2400}
  height={1260}
  priority
/>

Alchemy 的使命是将下一个十亿用户带上链。要实现这一目标，需要一个快速发展的 web3 生态系统，各个项目共同构建未来。而这个生态系统反过来需要中立、开放的基础设施来支持[无需许可](https://www.alchemy.com/overviews/permissionless-vs-permissioned-blockchains)的开发。这就是为什么我们正在构建——并致力于持续支持——一系列不断增长的开放产品，以支持开发者。

## 开源代码与文档

开放工具日益成为 Alchemy 基因中的重要组成部分。通过开源我们的基础设施代码——并持续公开构建——我们已经交付并持续改进代码、工具和文档，供在 web3 各个领域工作的数万名开发者使用。

这些包括：

- **Rundler**，最先进、性能最强、功能最完整的 [ERC-4337 Bundler](/blog/open-sourcing-rundler)，使用 Rust 编写。
- **aa-sdk**，一个构建于 viem 之上的轻量级库，用于发送用户操作、赞助 gas 以及部署智能账户，按 NPM 下载量计算，现已成为最受欢迎的 [ERC-4337 开发者 SDK](/blog/aa-sdk-v3)。
- **Modular Account**，一个完全模块化、符合 ERC-6900 标准的[智能账户实现](/blog/hello-modular-account)，安全、经过审计，并针对 DA 成本进行了优化，以提供最便宜的 L2 交易。这其中包括一系列 MIT 许可的库，旨在简化智能账户和插件开发。
- **aa-benchmarks**，一个用于[评测各类交易类型和智能账户实现下 UserOp 与 Runtime 交易成本的工具](https://eips.ethereum.org/EIPS/eip-4337)

我们已将上述每一项授权开放，以支持开发者，并将持续更新下表中的文档和代码仓库。

<EmbeddedTable
  table={{
    columns: [
      { key: "2", width: 200, title: "Component", dataType: "object" },
      { key: "3", width: 200, title: "Repo", dataType: "object" },
      { key: "1709664416413", width: 180, title: "Docs", dataType: "object" },
      {
        key: "1709664467471",
        width: 180,
        title: "Licenses",
        dataType: "object",
      },
    ],
    data: [
      {
        "2": { title: "<p>Rundler</p>", tooltip: "", icon: "" },
        "3": {
          title:
            '<p><a href="https://github.com/alchemyplatform/rundler" rel="noopener noreferrer" target="_blank">Github</a></p>',
          tooltip: "",
          icon: "",
        },
        id: 0,
        "1709664416413": {
          title:
            '<p><a href="https://github.com/alchemyplatform/rundler/tree/main/docs" rel="noopener noreferrer" target="_blank">Docs</a></p>',
          tooltip: "",
          icon: "",
        },
        "1709664467471": {
          title: "<p>GPL &amp; LGPL</p>",
          tooltip: "",
          icon: "",
        },
      },
      {
        "2": { title: "<p>aa-sdk</p>", tooltip: "", icon: "" },
        "3": {
          title:
            '<p><a href="https://github.com/alchemyplatform/aa-sdk" rel="noopener noreferrer" target="_blank">Github</a></p>',
          tooltip: "",
          icon: "",
        },
        id: 1,
        "1709664416413": {
          title:
            '<p><a href="https://www.alchemy.com/docs/wallets/" rel="noopener noreferrer" target="_blank">Docs</a></p>',
          tooltip: "",
          icon: "",
        },
        "1709664467471": { title: "<p>MIT</p>", tooltip: "", icon: "" },
      },
      {
        "2": { title: "<p>Modular Account</p>", tooltip: "", icon: "" },
        "3": {
          title:
            '<p><a href="https://github.com/alchemyplatform/modular-account" rel="noopener noreferrer" target="_blank">Github</a></p>',
          tooltip: "",
          icon: "",
        },
        id: 2,
        "1709664416413": {
          title:
            '<p>Docs</p>',
          tooltip: "",
          icon: "",
        },
        "1709664467471": {
          title: "<p>MIT &amp; GPL</p>",
          tooltip: "",
          icon: "",
        },
      },
      {
        "2": { title: "<p>Light Account</p>", tooltip: "", icon: "" },
        "3": {
          title:
            '<p><a href="https://github.com/alchemyplatform/light-account" rel="noopener noreferrer" target="_blank">Github</a></p>',
          tooltip: "",
          icon: "",
        },
        id: 3,
        "1709664416413": {
          title:
            '<p>Docs</p>',
          tooltip: "",
          icon: "",
        },
        "1709664467471": { title: "<p>GPL</p>", tooltip: "", icon: "" },
      },
      {
        "2": { title: "<p>aa-benchmark</p>", tooltip: "", icon: "" },
        "3": {
          title:
            '<p><a href="https://github.com/alchemyplatform/aa-benchmarks" rel="noopener noreferrer" target="_blank">Github</a></p>',
          tooltip: "",
          icon: "",
        },
        id: 4,
        "1709664416413": {
          title:
            '<p><a href="https://github.com/alchemyplatform/aa-benchmarks" rel="noopener noreferrer" target="_blank">Docs</a></p>',
          tooltip: "",
          icon: "",
        },
        "1709664467471": { title: "<p>MIT</p>", tooltip: "", icon: "" },
      },
    ],
  }}
/>

## 开放标准

开放的代码、工具和文档对于我们的使命而言是必要的，但并不充分——我们也在通过参与开放标准和协议开发来推动生态系统的进步。

- [ERC-4337](https://eips.ethereum.org/EIPS/eip-4337) 为如今 EVM 上账户抽象的发展奠定了基础。Alchemy 的工程师为 4337 内存池各个迭代版本的开发贡献了[研究](https://hackmd.io/@dancoombs/BJYRz3h8n)和[代码](https://github.com/eth-infinitism/bundler-spec/blob/main/p2p-specs/p2p-interface.md)，并持续与 Ethereum Foundation 在账户抽象方面开展合作。
- 这种合作已经延伸到面向 EVM rollup 的 4337 新迭代版本：[RIP-7560](https://github.com/ethereum/RIPs/blob/master/RIPS/rip-7560.md) 和 [ERC-7562](https://eips.ethereum.org/EIPS/eip-7562) 都体现了 Alchemy 工程团队的建议和意见。
- Alchemy 通过孵化 [ERC-6900](https://eips.ethereum.org/EIPS/eip-6900)——一个面向模块化智能账户的开放 Ethereum 标准——扩展了 ERC-4337。ERC-6900 此后已转变为一个开放标准，拥有不断扩大的贡献者和共同作者群体，并有一个开源的[参考实现](https://github.com/erc6900/reference-implementation)（更多背景见[这篇](https://alchemy.com/overviews/modular-account-abstraction)博客文章）。
- 我们开发并推动了 [AIP-2](https://forum.arbitrum.foundation/t/aip-2-activate-support-for-account-abstraction-endpoint-on-one-and-nova/14790)，这是第一个通过 Arbitrum DAO 协议治理的外部技术提案。AIP-2 提议激活 ERC-4337 中指定的一个端点。

## 开放教育

我们持续发挥自身在开发者教育方面的深厚经验，制作有价值的内容，帮助开发者快速掌握复杂的技术问题。

Alchemy 在这方面的贡献包括：

- 致力于提供免费开放的 [Alchemy University](https://www.alchemy.com/university)，让各个水平的开发者都能进入 web3。
- 一套多篇章的账户抽象入门内容，包括基础定义以及对钱包创建、paymaster 和聚合签名的深入探讨（[1](/overviews/what-is-account-abstraction)、[2](/overviews/what-is-a-paymaster)、[3](/overviews/how-do-smart-contract-wallets-work)、[4](/overviews/account-abstraction-aggregate-signatures)）
- 基于我们团队构建 Rundler 的经验，对 gas 估算进行的多篇章调查（[1](/blog/erc-4337-gas-estimation)、[2](/blog/dummy-signatures-and-gas-token-transfers)、[3](https://www.alchemy.com/blog/user-operation-fee-estimation)、[4](https://www.alchemy.com/blog/l2-gas-and-signature-aggregators)）
- 与 Offchain Labs 合作开发的一套多篇章账户抽象[研讨会](https://www.alchemy.com/blog/arbitrum-account-abstraction-workshop-series)教育内容（[视频](https://www.youtube.com/@AlchemyPlatform)）
- 与 Ethereum Foundation 等各方共同探究 4337 中一个漏洞及其解决方案的[结果](/blog/erc-4337-useroperation-packing-vulnerability)（附[Github 文档](https://github.com/eth-infinitism/account-abstraction/issues/237#issuecomment-1466686252)）
- 对广泛使用的 [ERC-1271](https://eips.ethereum.org/EIPS/eip-1271) 验证标准中一个漏洞的分析，该漏洞由生态系统及 Alchemy 工程师各自独立发现

## 下一步计划？

Alchemy 对开放基础设施的承诺是持续性的，并将随着生态系统的发展而不断扩大。其中一部分工作将高度可见，涉及扩展上述实现和标准。

我们也在密切关注 [RIP-7212](https://github.com/ethereum/RIPs/blob/master/RIPS/rip-7212.md) 等新进展和新标准，以及支持主流用户上链所需的[三个转变](https://vitalik.eth.limo/general/2023/06/09/three_transitions.html)所需的技术进步

我们很高兴能继续与生态系统一起、并为生态系统构建，并将在未来几个月内就这些工具和标准分享更多内容。
