@blinklabs/dingo

中文文档
0.92.0发布于 2026/11/07Apache-2.0零依赖构建来源已验证近 30 天下载 4661

Dingo is a Cardano blockchain data node

原始使用文档
文档目录5 节
  1. Documentation by audience
  2. Network sync and runtime usage
  3. Codebase
  4. Build and test
  5. Repository documentation

Dingo

Dingo Logo
GitHub Go Reference Discord

⚠️ WARNING: Dingo is under heavy active development and is not yet ready for mainnet block production use. It should only be used on testnets (preview, preprod, musashi, dijkstra) and devnets. Do not use Dingo on mainnet for block production with real funds.

Dingo is Blink Labs' Cardano node implementation in Go. It implements the Ouroboros networking and consensus protocols, validates ledger state, and provides pluggable storage and client interfaces.

Documentation by audience

Network sync and runtime usage

Dingo Core v0.90.5; API v0.91.0. Runtime CPU/RAM are sampled highs after bootstrap; disk is database size. — = not captured.

NetworkModeCPURAMDiskSync time
PreviewCore, Mithril~1.2 cores~2.0 GiB~17.8 GiB~13 min
PreprodCore, Mithril~1.1 cores~2.7 GiB~22.8 GiB~16 min
PreviewAPI, Mithril~3.4 cores~3.5 GiB~55 GiB~4h 45m
PreprodAPI, Mithril~1.7 cores~3.8 GiB~61 GiB~3h 20m
MainnetCore, Mithril———~6h 2m

Codebase

AreaLocation
Application composition and CLInode.go, internal/node/, cmd/dingo/
Ledger validation and stateledger/, ledgerstate/
Ouroboros protocols and peer managementouroboros/, connmanager/, peergov/, topology/
Persistence and transaction pooldatabase/, mempool/
Client APIs and Dingo archive serviceapi/, bark/

Build and test

The @blinklabs/dingo NPM package installs the matching release binary for Linux, FreeBSD or macOS on amd64/arm64. It requires Node.js 22 or later and tar. Run it with npx @blinklabs/dingo --help, or install it with npm install --global @blinklabs/dingo and run dingo --help. Arguments, exit codes and termination signals are passed to the release binary. Installation fails if the platform has no released binary or the archive cannot be fetched and extracted. If install scripts were disabled for a global installation, npm rebuild --global @blinklabs/dingo runs the installer.

npm test checks the packed package and local, global and npx invocation using an isolated release archive fixture.

Use Go 1.26 or later and make:

make build
./dingo --help
./dingo devnet

# Keep the chain between runs, then reset it when needed:
./dingo devnet --data-dir ./.dingo-devnet
./dingo devnet --data-dir ./.dingo-devnet --reset

The npm package supports the same commands, including npx @blinklabs/dingo devnet --data-dir ./.dingo-devnet.

dingo devnet writes test funding credentials to cardano/keys/ under its state directory: faucet.skey, faucet.vkey, and faucet.addr. The faucet address starts with 900,000 test ADA; use its signing key to make transactions on network magic 42. With the persistent command above, read the address with cat ./.dingo-devnet/cardano/keys/faucet.addr. Without --data-dir, the files are in the temporary directory printed at startup and are removed on exit. These public test keys must never hold real funds. See the local DevNet guide for details.

Run the test suite with race detection using make test. See the development guide for repository checks, integration environments, and profiling. For basic node setup and usage, follow the operator quick start.

Repository documentation

版本与发布记录

@blinklabs/dingo 共发布 89 个版本,首次发布于 2025/04/30;过去 12 个月发布了 73 个版本。最新版本附带 npm provenance 构建来源证明,可追溯到公开的 CI 构建记录。

版本发布日期距今
0.92.0latest2026/11/07今天
0.91.02026/11/071 天前
0.90.52026/11/044 天前
0.90.42026/11/035 天前
0.90.32026/11/026 天前
0.90.22026/10/317 天前

关于 @blinklabs/dingo 的常见问题

@blinklabs/dingo 是什么?

Dingo is a Cardano blockchain data node

如何安装 @blinklabs/dingo?

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

@blinklabs/dingo 支持 TypeScript 吗?

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

@blinklabs/dingo 需要什么版本的 Node.js?

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

@blinklabs/dingo 可以商用吗?

@blinklabs/dingo 使用 Apache-2.0 许可。宽松许可:允许商业使用、修改和再分发,并附带明确的专利授权;分发时需保留许可与 NOTICE 文件,修改过的文件要注明改动。以上为概括,不构成法律意见,请以许可原文为准。

@blinklabs/dingo 的下载量有多少?

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

@blinklabs/dingo 还在维护吗?

最新版本 0.92.0 发布于 2026/11/07(今天);至今共发布 89 个版本,其中过去 12 个月发布了 73 个;首次发布于 2025/04/30。发布频率只是参考信号:功能稳定的工具可能很少需要更新,建议结合源码仓库的 issue 和提交记录判断。