@aeternity/aepp-sdk

中文文档
15.0.1发布于 2026/10/02ISCTypeScriptESM + CJS近 30 天下载 1.2万

SDK for the æternity blockchain

原始使用文档
文档目录5 节
  1. Guides & Examples
  2. API Reference
  3. CLI - Command Line Interface
  4. Contributing
  5. Changelog

æternity's JavaScript SDK

main action codecov docs npm npm

JavaScript SDK for the revolutionary æternity blockchain, targeting the æternity node implementation. The aepp-sdk is hosted on GitHub.

Guides & Examples

Introduction

Usage guides:

There are also examples that you can directly use and play with.

API Reference

CLI - Command Line Interface

To quickly test all of æternity's blockchain features from your terminal, you can install and use the CLI by running:

  1. npm i -g @aeternity/aepp-cli to globally install the CLI
  2. aecli --help to get a list of possible commands

Contributing

For advanced use, to get a deeper understanding of the SDK or to contribute to its development, it is advised to read the Contributing Guidelines section.

Changelog

We keep our Changelog up to date.

版本与发布记录

@aeternity/aepp-sdk 共发布 114 个版本,首次发布于 2018/03/27;过去 12 个月发布了 3 个版本。

版本发布日期距今
15.0.1latest2026/10/021 个月前
15.0.02026/09/072 个月前
14.1.12026/03/267 个月前
14.1.02025/04/301.5 年前
14.0.02024/10/202 年前
13.3.32024/07/182 年前

其他发布通道:alpha → 13.0.0-alpha.1,beta → 13.0.0-beta.0。

关于 @aeternity/aepp-sdk 的常见问题

@aeternity/aepp-sdk 是什么?

SDK for the æternity blockchain

如何安装 @aeternity/aepp-sdk?

在项目目录运行 npm install @aeternity/aepp-sdk,或使用 pnpm add / yarn add / bun add。

@aeternity/aepp-sdk 支持 TypeScript 吗?

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

@aeternity/aepp-sdk 支持 ESM 还是 CommonJS?

同时提供 ES Module 与 CommonJS 入口,import 和 require() 都可以使用,打包工具会自动选择合适的版本。

@aeternity/aepp-sdk 需要什么版本的 Node.js?

package.json 的 engines 字段要求 Node.js >=18.19。版本不符时 npm 默认只给出警告,开启 engine-strict 后会拒绝安装。

@aeternity/aepp-sdk 可以商用吗?

@aeternity/aepp-sdk 使用 ISC 许可。宽松许可:允许商业使用、修改和再分发,通常只需在分发时保留原版权与许可声明。以上为概括,不构成法律意见,请以许可原文为准。

@aeternity/aepp-sdk 的下载量有多少?

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

@aeternity/aepp-sdk 还在维护吗?

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