Military-grade wallet security with simple bot integration - secure password handling, encrypted keystores, and full Solana operations support.
δΈζ | English | Website | Telegram | Discord
- β¨ Features
- π Quick Start
- π¦ Installation
- π Feature Guide
- π Documentation
- π Security
- π¬ Contact
Installation β β Unlock Wallet β Check Balance
- 1. Create Plaintext Key - Generate unencrypted keypair (testing only)
- 2. Create Encrypted Key - Encrypt and save to keystore
- 3. Decrypt Key - Decrypt keystore and reveal private key
- U. Unlock Wallet - Unlock wallet for Solana operations
- 4. Setup 2FA - Configure two-factor authentication
- 5. Generate Triple-Factor Wallet - Create 3FA wallet
- 6. Unlock Triple-Factor Wallet - Decrypt 3FA encrypted wallet
- 7. Check Balance - Query SOL balance
- 8. Transfer SOL - Send SOL
- 9. Create WSOL ATA - Create WSOL ATA
- 10. Wrap SOL - SOL β WSOL
- 11. Unwrap WSOL - WSOL β SOL
- 12. Close WSOL ATA - Close WSOL ATA
- 13. Transfer SPL Token - Send SPL tokens
- 14. Create Nonce Account - Create durable nonce
- 15. Pump.fun Sell - Sell on Pump.fun DEX
- 16. PumpSwap Sell - Sell on PumpSwap DEX
- 17. Pump.fun Cashback - View/claim pump.fun cashback (SOL)
- 18. PumpSwap Cashback - View/claim PumpSwap cashback (WSOL)
The latest stable release is available on crates.io:
# Install with all features enabled
cargo install sol-safekey --features full
# Verify installation
sol-safekey --version
# Start interactive menu
sol-safekey startThis installs the complete CLI with all features:
- π Core encryption - AES-256 password-based encryption
- π 2FA/TOTP - Two-factor authentication support
- π Solana operations - Full Solana transaction support
- π± DEX operations - Pump.fun & PumpSwap trading
- π° Cashback - Claim trading cashback rewards
# Clone repository
git clone https://github.com/0xfnzero/sol-safekey.git
cd sol-safekey
# Build and install
cargo install --path . --features full- Rust: 1.70+ (install from rustup.rs)
- Operating System: Linux, macOS, or Windows
- Network: Internet connection for Solana RPC calls
full- Enable all features (default for CLI)cli- Command-line interface with colored output2fa- Two-factor authentication (TOTP) supportsolana-ops- Solana blockchain operationssol-trade-sdk- Trading operations (Pump.fun, PumpSwap)
π [View Complete Interactive Menu Guide β INTERACTIVE_TUTORIAL.md]
Comprehensive step-by-step guide for all interactive menu operations, including detailed instructions, use cases, and example outputs for each of the 18 menu options.
- Bot Integration Guide - How to integrate sol-safekey into your bot
- User Guide - Complete usage instructions and examples
- β Password Security: stdin pipe only (never in environment variables)
- β Encryption: AES-256 with PBKDF2 key derivation
- β Memory Safety: Immediate password cleanup after use
- β Hardware Fingerprint: Device-based security layer
- β 2FA Support: Optional two-factor authentication for enhanced security
- Create Wallet - Generate new encrypted wallet with AES-256
- Import Wallet - Import existing wallet from private key or seed phrase
- Export Wallet - Export wallet to encrypted JSON format
- View Address - Display wallet public address
- Query Balance - Check SOL balance in your wallet
- Transfer SOL - Send SOL to other addresses
- Wrap SOL - Convert SOL to WSOL (Wrapped SOL)
- Unwrap WSOL - Convert WSOL back to SOL
- Close WSOL ATA - Close WSOL ATA account
- Transfer SPL Token - Send SPL tokens to other addresses
- Query Token Balance - Check token balances
- π₯ Pump.fun Sell - Interactive token selling on Pump.fun DEX (internal market only)
- π PumpSwap Sell - Sell tokens on PumpSwap DEX
- Pump.fun Cashback - View and claim pump.fun cashback (native SOL)
- PumpSwap Cashback - View and claim PumpSwap cashback (WSOL)
- Durable Nonce Accounts - Create and manage nonce accounts for offline signing
- 2FA Support - Optional two-factor authentication for enhanced security
- Check Transaction Status - Query transaction status on Solana
See examples/bot_example.rs for a complete bot integration example.
Contributions welcome! Please ensure security best practices are followed. Use English for commit and PR descriptions.
MIT License - See LICENSE file for details