Claude Code slash commands and tools for interacting with RustChain.
Check any RustChain wallet balance without leaving the terminal.
# Clone this repo
git clone https://github.com/jujujuda/rustchain-tools.git
cd rustchain-tools
# Run directly
python3 rtc_balance.py <miner_id>
# Or add to your CLAUDE.md for Claude Code to use:
# (copy relevant section from rustchain-balance.md)python3 rtc_balance.py rustchain
# Output:
# 🪙 Wallet: `rustchain`
# Balance: 0.0 RTC ($0.0 USD)
# Epoch: 129 | Slot: 18709
# Miners online: 16Copy rustchain-balance.md into your project's .claude/skills/ directory:
mkdir -p .claude/skills
cp rustchain-balance.md .claude/skills/Claude Code will then recognize /rtc-balance <wallet> as a slash command.
- Node:
https://50.28.86.131 - Balance:
GET /wallet/balance?miner_id=<name> - Epoch:
GET /epoch - Miners:
GET /api/miners
MIT