rustywallet-cli 0.1.0

Command-line tool for cryptocurrency wallet operations
rustywallet-cli-0.1.0 is not a library.

rustywallet-cli

Command-line tool for cryptocurrency wallet operations.

Installation

cargo install rustywallet-cli

Usage

Generate Private Key

# Generate hex format

rustywallet generate


# Generate WIF format

rustywallet generate --format wif --network mainnet

Generate Mnemonic

# Generate 12-word mnemonic

rustywallet mnemonic


# Generate 24-word mnemonic with seed

rustywallet mnemonic --words 24 --show-seed


# Validate existing mnemonic

rustywallet mnemonic --validate "word1 word2 ... word12"

Derive Address

# SegWit address (default)

rustywallet address --key <hex>

# Legacy P2PKH address

rustywallet address --key <hex> --type legacy


# Taproot address

rustywallet address --key <hex> --type taproot


# Ethereum address

rustywallet address --key <hex> --type ethereum

HD Wallet Derivation

# Default BIP44 path (m/44'/0'/0'/0/0)

rustywallet hd --mnemonic "word1 word2 ... word12"


# Custom derivation path

rustywallet hd --mnemonic "..." --path "m/44'/60'/0'/0/0" --address-type ethereum


# With passphrase

rustywallet hd --mnemonic "..." --passphrase "secret"

Sign Message

# Bitcoin message signing (BIP-137)

rustywallet sign --key <hex> --message "Hello" --format bitcoin


# Ethereum personal_sign (EIP-191)

rustywallet sign --key <hex> --message "Hello" --format ethereum

Verify Signature

# Verify Bitcoin signature

rustywallet verify --address 1... --message "Hello" --signature <base64> --format bitcoin


# Verify Ethereum signature

rustywallet verify --address 0x... --message "Hello" --signature <hex> --format ethereum

License

MIT