@bloxbean/yaci-devkit
v0.12.0
Published
A set of development tools for building on Cardano by creating a local devnet.
Readme
Yaci Devkit
A set of development tools for building on Cardano by creating a local devnet.
Installation
npm i -g @bloxbean/yaci-devkitCommands
Download and Start Cardano Node
yaci-devkit up- Downloads the Cardano node (if not already downloaded) and starts a new devnet.
Interactive Mode
yaci-devkit up --interactive- Downloads the node (if not already downloaded), starts a new devnet, and launches the
yaci-cliprompt.
- Downloads the node (if not already downloaded), starts a new devnet, and launches the
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
--interactiveto enter theyaci-cliprompt.
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
scalusscript 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 upFor a full list of Yaci CLI commands, check the Yaci DevKit documentation.
