A collection of Rust CLI tools for batch SOL/SPL token operations on Solana.
| Crate | Description |
|---|---|
batch-transfer |
Distribute SOL to multiple addresses with USD-denominated mode and dry-run support |
bulk-transfer |
High-throughput parallel SOL transfers using rayon, with CSV logging |
balance-aggregator |
Sweep SOL from multiple wallets to a single destination |
token-airdrop |
NFT-proportional token distribution engine with progress tracking |
batch-balance |
Query balances for thousands of addresses in chunked batches |
- Multi-format keypair support: Base58, hex, 32-byte and 64-byte formats
- Parallel execution: rayon + tokio for maximum throughput
- CSV logging: Transaction results with timestamps and fees
- USD mode: Specify airdrop amounts in USD with SOL price conversion
- Dry-run: Preview operations before committing on-chain
- Rate limiting: Configurable delays between RPC calls
# Build all tools
cargo build --release
# Example: batch transfer
cargo run -p batch-transfer -- --keypair sender.json --recipients addresses.txt --amount-sol 0.01
# Example: sweep wallets
cargo run -p balance-aggregator -- --keys wallets.txt --destination <PUBKEY>
# Example: query balances
cargo run -p batch-balance -- --addresses addresses.txt --output balances.csv- Rust + Tokio + Rayon
- solana-sdk / solana-client
- clap (CLI argument parsing)
- indicatif (progress bars)
- csv (structured logging)
MIT