Thanks to visit codestin.com
Credit goes to github.com

Skip to content

sososonia-cyber/rustchain-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RustChain CLI

A Rust-based command-line interface for RustChain blockchain operations.

Features

  • Check node health status
  • View current epoch information
  • List active miners with statistics
  • Check wallet balances
  • View node statistics

Installation

# 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>

Usage

# 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 stats

Bounty

This tool was built for the RustChain Bounty Program:

  • Bounty ID: #674
  • Tier: 1 (Utilities)
  • Reward: 25-50 RTC

API Reference

  • 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}

License

MIT

About

RustChain CLI - Tier 1 utility for RustChain Bounty

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages