Skip to content

feat: RustChain Address Generator & Validator (Bounty #674)#610

Closed
sososonia-cyber wants to merge 5 commits intoScottcjn:masterfrom
sososonia-cyber:feature/rust-address-tool
Closed

feat: RustChain Address Generator & Validator (Bounty #674)#610
sososonia-cyber wants to merge 5 commits intoScottcjn:masterfrom
sososonia-cyber:feature/rust-address-tool

Conversation

@sososonia-cyber
Copy link
Contributor

Summary

Add RustChain address generation and validation tool in Rust.

Features

  • Generate new Ed25519-based RustChain addresses
  • Import from private key hex
  • Import from mnemonic phrase
  • Validate address format (RTC prefix + 40 hex chars)
  • Derive address from public key hex

Files Added

  • rustchain-address-tool/Cargo.toml
  • rustchain-address-tool/src/lib.rs
  • rustchain-address-tool/src/main.rs (rtc-address CLI)
  • rustchain-address-tool/src/validate.rs (rtc-validate CLI)
  • rustchain-address-tool/README.md

Testing

  • cargo test passes (2 tests)
  • CLI tools tested and working
  • Built binaries: rtc-address, rtc-validate

Bounty

Submitted for Bounty #674: Build RustChain Tools & Features in Rust (Tier 1: RTC Address Generator + Validator)

Wallet Info

sososonia-cyber added 5 commits March 6, 2026 13:07
Add new Rust-based CLI tool for RustChain blockchain operations:
- Node health checking
- Epoch information
- Active miners listing
- Wallet balance checking
- RTC address generation (Bounty #674 Tier 1)
- RTC address validation (Bounty #674 Tier 1)
- Network address verification

This completes the Tier 1 (Utilities) requirements for bounty #674.

Wallet: lobster-agent
Tier: 1
Repo: https://github.com/sososonia-cyber/Rustchain
- CLI wallet with balance check
- Address generator and validator
- Node health, epoch, miners, stats commands
- Built with Rust (stable)
- MIT License
- Full client implementation for agent job marketplace
- Support for posting, claiming, delivering, accepting jobs
- Reputation and stats endpoints
- Data models for all job types
- Tests included

Bounty: Python SDK for agent economy (50 RTC)
Ref: Scottcjn/rustchain-bounties#683
- Add Rust address generation library (Ed25519-based)
- Add CLI tools: rtc-address and rtc-validate
- Support generate new address, import from private key/mnemonic
- Validate address format (RTC prefix + 40 hex chars)
- Derive address from public key hex
- Include basic tests (cargo test passes)

Submitted for Bounty #674: Build RustChain Tools & Features in Rust
@github-actions github-actions bot added documentation Improvements or additions to documentation BCOS-L1 Beacon Certified Open Source tier BCOS-L1 (required for non-doc PRs) BCOS-L2 Beacon Certified Open Source tier BCOS-L2 (required for non-doc PRs) security Security-related change consensus Consensus/RIP-200 related miner Miner client related wallet Wallet/transfer related node Node server related api API endpoint related tests Test suite changes ci size/XL PR: 500+ lines labels Mar 6, 2026
@Scottcjn Scottcjn closed this Mar 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

api API endpoint related BCOS-L1 Beacon Certified Open Source tier BCOS-L1 (required for non-doc PRs) BCOS-L2 Beacon Certified Open Source tier BCOS-L2 (required for non-doc PRs) ci consensus Consensus/RIP-200 related documentation Improvements or additions to documentation miner Miner client related node Node server related security Security-related change size/XL PR: 500+ lines tests Test suite changes wallet Wallet/transfer related

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants