---
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**，以 Rust 撰寫，是目前最先進、效能最佳且功能最完整的 [ERC-4337 Bundler](/blog/open-sourcing-rundler)。
- **aa-sdk**，一個建構於 viem 之上的輕量函式庫，用於傳送 user operation、贊助 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 mempool 多個版本的開發貢獻[研究成果](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)背後的技術進展。

我們很期待繼續與生態系一起、為生態系打造工具，未來幾個月也會針對這些工具與標準分享更多內容。
