A command-line tool for Ethereum validator operations with secure key management.
✅ Implemented:
- Generate 24-word BIP-39 mnemonic phrases
- Multiple output formats (plain text, JSON)
- Future-proof subcommand architecture
🛠 In Development:
- Validator wallet creation (BLS key generation)
- Keystore file generation (EIP-2335)
- Deposit data generation
cargo install --path .
# Generate mnemonic (default plain text)
stake-knife mnemonic
# Generate mnemonic in JSON format
stake-knife mnemonic --format json
# Generate validator wallet files
stake-knife wallet --output-dir ./keys
Current Version: 0.1.0
Next Milestone: Wallet generation (ETA v0.2.0)
# Run all tests
cargo test
# Run integration tests
cargo test -- --ignored
# Test specific component
cargo test test_mnemonic_generation
src/
├── main.rs # CLI interface and command routing
├── mnemonic.rs # BIP-39 mnemonic implementation
└── wallet.rs # Validator wallet functionality (in progress)
Pull requests welcome! Please:
- Open an issue first to discuss changes
- Follow existing code style
- Include tests for new features
MIT © 2025