@api3/dapi-management

中文文档
4.41.0发布于 2026/10/13UNLICENSEDTypeScriptCommonJS近 30 天下载 2454

API3 dAPI management

原始使用文档
文档目录3 节
  1. @api3/dapi-management package
  2. GitHub Pages
  3. Deployment

@api3/dapi-management

Tools that enable running managed dAPIs where most of the data needed to accomplish this is stored on-chain.

In order to be able to make this possible, there needs to be different groups of "data owners" that will provide, review and sign specific sets of data. Other accounts need to provide and sign dAPI prices for different chains and so on.

These signed data sets (Merkle trees) will be stored in JSON files in this repo and can later be used by people with the right roles or permits to use it when calling functions on the data feed contracts from @api3/contracts package. This repo also provides a frontend app that can be used as interface between the mentioned JSON files and the contracts.

@api3/dapi-management package

The package can be built by running pnpm run package:build and contains

  • api3ApiIntegrations - reexported @api3/api-integrations package
  • api3Contracts - reexported @api3/contracts package
  • dapiManagementMerkleTreeData - the entire dAPI management Merkle tree
  • dapis - list of all dAPIs with their stages

and additional utility functions.

GitHub Pages

GitHub pages gets updated using a github workflow github-pages.yml. This workflow will use scripts and data to generate the required github pages structure, details regarding the structure can be found at Workflows README.

Deployment

Once there is a change that is merged to main that requires GitHub Pages to be deployed, a pull request can be made to merge main into production-gh-pages. When it is approved and merged it will trigger the GitHub Pages Workflow

版本与发布记录

@api3/dapi-management 共发布 348 个版本,首次发布于 2024/03/26;过去 12 个月发布了 54 个版本。

版本发布日期距今
4.41.0latest2026/10/1325 天前
4.40.02026/09/251 个月前
4.39.02026/09/101 个月前
4.38.02026/09/032 个月前
4.37.02026/09/032 个月前
4.36.02026/08/202 个月前

关于 @api3/dapi-management 的常见问题

@api3/dapi-management 是什么?

API3 dAPI management

如何安装 @api3/dapi-management?

在项目目录运行 npm install @api3/dapi-management,或使用 pnpm add / yarn add / bun add。

@api3/dapi-management 支持 TypeScript 吗?

支持。包内自带 TypeScript 类型声明(package.json 声明了 types 入口),安装后即可获得类型提示,无需再安装 @types 包。

@api3/dapi-management 支持 ESM 还是 CommonJS?

以 CommonJS 形式发布,可以直接 require();在 ES Module 项目中也可以用 import 引入(Node.js 会把 module.exports 作为默认导出)。

@api3/dapi-management 可以商用吗?

@api3/dapi-management 使用 UNLICENSED 许可。作者声明为 UNLICENSED,即不授予公开使用许可(与公共领域的 Unlicense 不同)。使用前需获得作者授权。以上为概括,不构成法律意见,请以许可原文为准。

@api3/dapi-management 的下载量有多少?

根据 npm 官方下载统计,@api3/dapi-management 在 2026/10/06 – 2026/11/04 这 30 天内被下载 2,454 次,日均约 82 次。下载量会把 CI 构建、镜像同步和作为其他包依赖的安装一并计入,适合横向比较热度,不能直接等同于使用人数。

@api3/dapi-management 还在维护吗?

最新版本 4.41.0 发布于 2026/10/13(25 天前);至今共发布 348 个版本,其中过去 12 个月发布了 54 个;首次发布于 2024/03/26。发布频率只是参考信号:功能稳定的工具可能很少需要更新,建议结合源码仓库的 issue 和提交记录判断。