rustywallet-batch
High-performance batch key generation for cryptocurrency wallets.
Features
- Batch Generation: Generate millions of keys efficiently
- Parallel Processing: Utilize all CPU cores with rayon
- Memory Streaming: Process unlimited keys without memory exhaustion
- Incremental Scanning: Scan key ranges using EC point addition
- Configurable: Flexible configuration for different use cases
Quick Start
use *;
// Generate 1000 keys in parallel
let keys = new
.count
.parallel
.generate_vec
.unwrap;
println!;
Streaming Large Batches
use *;
// Stream keys without storing all in memory
let stream = new
.count
.generate
.unwrap;
for key in stream.take
Incremental Key Scanning
use *;
use PrivateKey;
// Scan from a base key
let base = from_hex.unwrap;
let scanner = new
.direction;
for key in scanner.scan_range
Configuration Presets
use *;
// Fast mode - maximum speed
let config = fast;
// Balanced mode - good speed with reasonable memory
let config = balanced;
// Memory efficient - minimal memory usage
let config = memory_efficient;
Performance
Target performance: 1M+ keys per second with parallel processing enabled.
License
MIT