A Rust-based command-line interface for RustChain blockchain operations.
- Check node health status
- View current epoch information
- List active miners with statistics
- Check wallet balances
- View node statistics
# Clone the repository
git clone https://github.com/sososonia-cyber/Rustchain.git
cd Rustchain/rustchain-cli
# Build
cargo build --release
# Run
./target/release/rustchain <command># Check node health
rustchain health
# Get epoch information
rustchain epoch
# List active miners (top 10)
rustchain miners
# List specific number of miners
rustchain miners --limit 20
# Check wallet balance
rustchain balance RTC1d48d848a5aa5ecf2c5f01aa5fb64837daaf2f35
# Get node statistics
rustchain statsThis tool was built for the RustChain Bounty Program:
- Bounty ID: #674
- Tier: 1 (Utilities)
- Reward: 25-50 RTC
- Health:
GET https://rustchain.org/health - Miners:
GET https://rustchain.org/api/miners - Epoch:
GET https://rustchain.org/epoch - Balance:
GET https://rustchain.org/api/balance/{wallet}
MIT