@bloxbean/yaci-devkit

中文文档
0.12.0发布于 2026/10/14MIT构建来源已验证近 30 天下载 3110

A set of development tools for building on Cardano by creating a local devnet.

原始使用文档
文档目录3 节
  1. Installation
  2. Commands
  3. Port Conflicts

Yaci Devkit

A set of development tools for building on Cardano by creating a local devnet.

Installation

npm i -g @bloxbean/yaci-devkit

Commands

  1. Download and Start Cardano Node

    yaci-devkit up
    
    • Downloads the Cardano node (if not already downloaded) and starts a new devnet.
  2. Interactive Mode

    yaci-devkit up --interactive
    
    • Downloads the node (if not already downloaded), starts a new devnet, and launches the yaci-cli prompt.
  3. Yaci Store Mode (Blockfrost-Compatible API Endpoints)

    yaci-devkit up --enable-yaci-store
    
    • Downloads and starts the Cardano node, Yaci Store, and Ogmios (used for script cost evaluation).
    • Add --interactive to enter the yaci-cli prompt.
  4. Kupomios Mode (Ogmios + Kupo)

    yaci-devkit up --enable-kupomios
    
    • Downloads and starts the Cardano node, Ogmios, and Kupo.

Note on platforms: Ogmios and Kupo are published for Linux (x86_64, arm64) and macOS arm64. On macOS x86_64 and Windows they are unavailable; there Yaci Store falls back to the embedded scalus script cost evaluator, or you can use the Docker distribution.

Port Conflicts

If a cardano-node (for example a mainnet node) already runs on this machine, the devnet node cannot open its Prometheus port (12798). Use another one:

yaci-devkit up --prometheus-port 12799

# or for every run
PROMETHEUS_PORT=12799 yaci-devkit up

For a full list of Yaci CLI commands, check the Yaci DevKit documentation.

版本与发布记录

@bloxbean/yaci-devkit 共发布 19 个版本,首次发布于 2024/12/21;过去 12 个月发布了 6 个版本。最新版本附带 npm provenance 构建来源证明,可追溯到公开的 CI 构建记录。

版本发布日期距今
0.12.0latest2026/10/1425 天前
0.12.0-beta5beta2026/06/154 个月前
0.12.0-beta32026/06/154 个月前
0.12.0-beta22026/06/134 个月前
0.12.0-preview1preview2026/06/134 个月前
0.12.0-ci2-beta12026/06/134 个月前

关于 @bloxbean/yaci-devkit 的常见问题

@bloxbean/yaci-devkit 是什么?

A set of development tools for building on Cardano by creating a local devnet.

如何安装 @bloxbean/yaci-devkit?

在项目目录运行 npm install @bloxbean/yaci-devkit,或使用 pnpm add / yarn add / bun add。它还提供命令行工具 yaci-devkit,可以用 npx yaci-devkit 直接运行。

@bloxbean/yaci-devkit 支持 TypeScript 吗?

该包的 package.json 没有声明类型入口。需要类型提示时,可以在 npm 上查找社区维护的 @types/bloxbean__yaci-devkit 是否存在。

@bloxbean/yaci-devkit 需要什么版本的 Node.js?

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

@bloxbean/yaci-devkit 可以商用吗?

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

@bloxbean/yaci-devkit 的下载量有多少?

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

@bloxbean/yaci-devkit 还在维护吗?

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