| Crates.io | sunrays_seedy |
| lib.rs | sunrays_seedy |
| version | 0.1.0 |
| created_at | 2025-03-02 22:07:01.12116+00 |
| updated_at | 2025-03-02 22:07:01.12116+00 |
| description | An experimental CLI for a local wallet, with an embedded Tor client for Solana RPC calls. |
| homepage | |
| repository | |
| max_upload_size | |
| id | 1574920 |
| size | 294,011 |
A Rust CLI tool that automatically launches an embedded Tor client and then routes all Solana RPC calls through Tor. It also creates and manages an Argon2-encrypted Solana wallet (wallet.enc) with a simple command-line interface.
Disclaimer: This is an experimental demo/reference project. Use at your own risk. Always exercise caution when storing private keys and sending cryptocurrency!
127.0.0.1:9050.wallet.enc are protected with Argon2id + AES-256-GCM.generate creates a new walletaddress shows public addressbalance queries your current SOL balancesend <RECIPIENT> <AMOUNT> sends SOLmonitor polls your balance every 30 seconds/tmp/my_tor_data.127.0.0.1:9050.balance or send, the tool will:
wallet.enc via Argon2id (64MB memory, 3 passes) + AES-256-GCMgit clone https://github.com/youruser/sunrays_seedy.git
cd sunrays_seedy
cargo build --release
./target/release/sunrays_seedy help
or simply:
cargo run -- help
# Generate a new wallet (encrypted in `wallet.enc`)
./target/release/sunrays_seedy generate
# Show the address (public key)
./target/release/sunrays_seedy address
# Check balance
./target/release/sunrays_seedy balance
# Send funds
./target/release/sunrays_seedy send <RECIPIENT_PUBKEY> <AMOUNT_SOL>
# Example:
./target/release/sunrays_seedy send Fg6PaFpoGXkYsidMpWTKhtTwrSdgnkXpese2Zu2R7EVk 0.01
# Monitor balance (poll every 30s)
./target/release/sunrays_seedy/sunrays_seedy monitor
wallet.enc file depends entirely on the passphrase you choose. Pick something lengthy and random if you’re storing real funds./tmp/my_tor_data (mode 0700). It does not remove or clear it on exit. If you need ephemeral usage, you can modify the code to remove it afterwards.https://api.mainnet-beta.solana.com. If you need devnet or testnet, you must adjust the code or add a CLI parameter.127.0.0.1:9050. If you already have Tor or something else bound to that port, the program will fail to start. Edit the code or free the port to fix this.derive_key_from_passphrase() if you want a lighter or heavier cost.generate.It probably will not work, and has not been tested.