⏩ Getting Started / Setup
Follow these steps to launch your own Hydra Head devnet:
-
Install prerequisites
Installation Guide
Node.js, Docker, git, curl, Yaci DevKit - Start Cardano Devnet
npm run start:devnet- In Yaci CLI:
create-node -o --start
- Bridge the node.socket
- In a separate terminal:
npm run bridge:node-socket - Leave this running!
- In a separate terminal:
- Setup directories
npm run setup:directories- Creates all structure needed.
- Choose your workflow
- Native:
npm run setup:cardano-cli
npm run setup:hydra-node
npm run setup:hydra-tui - Docker:
npm run setup:docker:cardano-cli
npm run setup:docker:hydra-node
npm run setup:docker:hydra-tui
- Native:
- Generate keys
npm run generate-keys- Check
keys/payment/{participant}/payment.addrfiles for addresses.
- Top-up wallets with Yaci CLI
- Example:
topup <address> 100
- Example:
- Publish Hydra scripts
npm run publish-hydra-scripts
- Start HYDRA node & TUI
- Node:
npm run hydra:startornpm run hydra:start:docker - TUI:
npm run tui:start -- 0(or Docker)
- Node:
Trouble? Check our Troubleshooting Guide
Visual Example (Style with emoji, TOC bullets, fenced steps)
Terminal 1: $ npm run start:devnet
Terminal 2: $ create-node -o --start (Yaci CLI)
Terminal 3: $ npm run bridge:node-socket
Then: $ npm run setup:directories
Choose path: Native or Docker
...