Skip to content

feat: RustChain Wallet CLI (Bounty #39)#581

Closed
sososonia-cyber wants to merge 2 commits into
Scottcjn:mainfrom
sososonia-cyber:feature/rustchain-wallet-cli
Closed

feat: RustChain Wallet CLI (Bounty #39)#581
sososonia-cyber wants to merge 2 commits into
Scottcjn:mainfrom
sososonia-cyber:feature/rustchain-wallet-cli

Conversation

@sososonia-cyber
Copy link
Copy Markdown
Contributor

Summary

Added a command-line wallet tool for managing RTC tokens.

Bounty

This completes Bounty #39: RustChain Wallet CLI

Features

  • create: Generate new wallet with Ed25519 keys and mnemonic
  • list/ls: List all stored wallets
  • balance: Check wallet balance via API
  • import: Import wallet from mnemonic phrase
  • export: Export wallet info
  • Uses rustchain_sdk for API calls

Usage

rustchain-wallet create --name mywallet
rustchain-wallet list
rustchain-wallet balance RTCxxxxxxxxxxxx

Testing

  • CLI help works correctly
  • All commands implemented

Files Changed

  • sdk/wallet-cli/README.md
  • sdk/wallet-cli/setup.py
  • sdk/wallet-cli/requirements.txt
  • sdk/wallet-cli/rustchain_wallet/init.py
  • sdk/wallet-cli/rustchain_wallet/cli.py

sososonia-cyber added 2 commits March 6, 2026 00:07
- Added pip-installable Python SDK
- Supports all node API endpoints: health, miners, balance, epoch, eligibility, attestation, transfer
- Async support with aiohttp
- Type hints throughout
- SSL verification toggle (handles self-signed certs)
- Retry logic with exponential backoff
- CLI tool included

Closes Scottcjn#36
- Command-line wallet management tool
- create: Generate new wallet with Ed25519 keys
- list: List all stored wallets
- balance: Check wallet balance via API
- import: Import from mnemonic phrase
- export: Export wallet info
- Uses rustchain_sdk for API calls

Closes Scottcjn#39
@Scottcjn
Copy link
Copy Markdown
Owner

Scottcjn commented Mar 5, 2026

Hey @sososonia-cyber, welcome to RustChain! Closing this one because bounty #39 (Wallet CLI) was merged as PR #569 by @createkr earlier today.

Don't worry — there's plenty of open work! Here's how to get started and earn RTC:

Unclaimed bounties (still open):

Tips for success:

  1. Check if a bounty is already taken — look at merged PRs before starting
  2. One focused PR per bounty — easier to review and merge
  3. Star our repos + follow @Scottcjn — earn 2.5 RTC per star (up to 50 RTC) while you work on code bounties

Your PRs #580 (Python SDK), #582 (Prometheus), #583 (OpenAPI), and #584 (Attestation Export) are still open for review. For #583 (OpenAPI), note there's a competing PR #578 by @edisonlv with CI passing — you may want to focus on the others.

Looking forward to your contributions!

@Scottcjn Scottcjn closed this Mar 5, 2026
@FlintLeng
Copy link
Copy Markdown
Contributor

Review PR #581 - Bounty #2782

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants