Terminal UI for managing Hydra Nodes - A blessed-based Node.js CLI for real-time node operations.
Note: hexcore-cli alpha is designed for hexcore v0.0.1-alpha
- Interactive Dashboard - Real-time overview with auto-refresh every 5 seconds
- Keyboard Navigation - Arrow keys (โโ), vi-style (j/k), and number keys (1-5)
- Smart Menu Selection - Visual indicator (>) for current selection
- Create New Head - Initialize Hydra heads with account selection
- Account Validation - Checks for available wallet accounts
- Multi-select Interface - Select one or multiple accounts using Space key
- Real-time Progress - Animated progress bar during head creation
- Success Confirmation - Clear feedback with recommendation to view in Heads Management
- Navigation Flow:
- Press
1from main menu - If no accounts exist โ Shows error with instruction to create accounts first
- If accounts available โ Shows selection table with:
- Account ID, Base Address, Enterprise Address, Creation Date
- Checkbox indicators
[ ]for unselected,[โ]for selected - Selected accounts highlighted in green
- Use
โโto navigate,Spaceto select/deselect accounts - Press
Enterto confirm and create head - Progress bar shows creation status
- Success screen displays new head ID and recommends going to Heads Management
- Press
- Heads List View - Tree-style display with scrollable interface
- Color-coded status (๐ข ACTIVE / ๐ด INACTIVE)
- Hierarchical node display with WebSocket URLs
- Navigate with โโ keys, Enter to view details
- Head Detail View - Complete management interface
- [S] Stop Cluster (
/hydra-main/deactive-cluster) - [C] Clear Persistence Data (
/hydra-main/clear-cluster-persistence) - [R] Start/Restart Cluster (
/hydra-main/active-cluster) - Progress bars with spinners for all operations
- [S] Stop Cluster (
- List Accounts - View all wallet accounts with base/enterprise addresses
- Fetch UTxO - Press 'u' to fetch UTxO data with progress tracking
- Real-time Updates - Auto-refresh after UTxO fetch
- Nodes List - View all nodes with ports and account information
- Health Status - System-wide health check with detailed metrics
npm install
npm run build
npm run dev -- start --url https://api.hexcore.io.vn -u admin -p password123npm run build
npm start -- start --url https://api.hexcore.io.vn -u admin -p password123# Build for all platforms
npm run pkg:mac # macOS (ARM64 + x64)
npm run pkg:linux # Linux x64
npm run pkg:win # Windows x64
# Binaries will be in release/ folder
./release/hexcore-cli-arm64 start --url https://api.hexcore.io.vn -u admin -p password123Example screenshot of the hexcore-cli dashboard:

hexcore-cli - Hydra Node Manager
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โญ๏ธ OVERVIEW
Running Nodes: 5 | Running Heads: 8 | Total: 10
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โก๏ธ QUICK ACTIONS
>[1] Create New Head
[2] Heads Management
[3] Wallet Accounts
[4] Nodes List
[5] Health Status
Enter selection (1-5):
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ All systems operational | Last update: 2s ago
| Key | Action |
|---|---|
1-5 |
Quick select menu option |
โโ / j/k |
Navigate menu |
Enter / Space |
Confirm selection |
Escape / q / Ctrl+C |
Exit |
| Key | Action |
|---|---|
โโ / j/k |
Navigate account list |
Space |
Select/deselect account |
Enter |
Confirm selection and create head |
Escape |
Cancel and return to menu |
| Key | Action |
|---|---|
โโ |
Select head in list |
Enter |
View head details |
S |
Stop cluster (in detail view) |
C |
Clear persistence data |
R |
Start/Restart cluster |
| Key | Action |
|---|---|
u |
Fetch UTxO data |
Any key |
Return to menu |
npm test # Run all tests
npm test:watch # Watch mode
npm run build && npm test --silentStatus: โ 28/28 tests passing
- UI Framework: Blessed.js (Terminal UI)
- Language: TypeScript
- HTTP Client: Axios
- Testing: Vitest
- Build: pkg (Binary packaging)
- Blockchain: @hydra-sdk/core (Type definitions)
| Endpoint | Method | Description |
|---|---|---|
/hydra-main/login |
POST | Authenticate user |
/hydra-main/active-nodes |
GET | List all heads |
/hydra-main/hydra-nodes |
GET | List all nodes |
/hydra-main/list-account |
GET | List wallet accounts |
/hydra-main/create-node |
POST | Create new head with accounts |
/hydra-main/deactive-cluster/:id |
POST | Stop cluster |
/hydra-main/clear-cluster-persistence |
DELETE | Clear persistence data |
/hydra-main/active-cluster/:id |
POST | Start cluster |
- Progress Box - Animated spinner with progress bar
- Scrollable Lists - Auto-scroll with selection tracking
- Color-coded Status - Visual indicators for system health
- Tree View - Hierarchical data display
blessed@^0.1.81- Terminal UI frameworkaxios@^1.6.2- HTTP clientcommander@^11.1.0- CLI framework@hydra-sdk/core@^1.1.5- Cardano typesbignumber.js@^9.3.1- Number formatting
- Node.js >= 18.0.0
- Hydra backend API accessible
- Terminal with 256 color support
Version: 0.0.1-alpha.3 | License: Apache 2.0 | Updated: December 17, 2025