A high-performance, multi-threaded Solana vanity address generator that can search for custom patterns in wallet addresses.
CRITICAL SECURITY NOTICES:
- Keep private keys secure: Never share your private keys with anyone
- Verify addresses: Always verify generated addresses before sending funds
- Phishing protection: Vanity addresses can be used for phishing - always verify you're interacting with legitimate services
- This tool is for educational/personal use only
- You are responsible for the security of your generated wallets
- 🔥 Ultra-fast generation with multi-threading support
- 🎯 Multiple search terms - search for several patterns simultaneously
- ⚡ Max speed mode for maximum performance
- 📊 Real-time statistics and progress tracking
- 💾 Auto-save results to JSON file
- 🔧 Configurable workers and batch sizes
- 📝 Quality scoring for matched addresses
- Node.js 14+
- npm or yarn
npm install @solana/web3.js bs58git clone https://github.com/Genius740Code/Solana-vanity.git
cd fast-solana-vanity-generator
npm install# Search for addresses containing "moon"
node vanity.js moon
# Search for multiple terms
node vanity.js moon doge pump
# Case sensitive search
node vanity.js Moon --case
# Maximum speed mode (uses more CPU)
node vanity.js moon --max-speed# Custom worker count
node vanity.js moon --workers=8
# Custom batch size (higher = more memory, potentially faster)
node vanity.js moon --batch=100000
# Limit results (stop after finding N addresses)
node vanity.js moon --limit=5
# Custom output file
node vanity.js moon --output=my-addresses.jsonnode vanity.js sol pump moon --max-speed --workers=12 --limit=10 --output=my-vanity.json| Option | Description | Default |
|---|---|---|
--case |
Case sensitive search | false |
--max-speed |
Maximum performance mode | false |
--workers=N |
Number of worker threads | CPU cores |
--batch=N |
Addresses per batch | 50,000 (100,000 in max-speed) |
--limit=N |
Stop after N results | ∞ |
--output=file |
Output filename | vanity-{timestamp}.json |
- Standard mode: ~50,000-200,000 addresses/second
- Max speed mode: ~100,000-500,000 addresses/second
- Performance varies by: CPU cores, search term difficulty, system resources
- Use
--max-speedfor maximum performance - Increase
--workersfor more CPU cores - Increase
--batchsize for better throughput (uses more RAM) - Shorter search terms = faster results
- Case-insensitive search is faster
Results are saved to JSON file:
{
"searchTerms": ["moon"],
"startTime": "2024-01-01T12:00:00.000Z",
"results": [
{
"id": 1,
"publicKey": "MoonXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX",
"privateKey": "[PRIVATE_KEY_BASE58]",
"matchedTerm": "moon",
"quality": 30,
"timestamp": "2024-01-01T12:05:30.000Z",
"attempts": 1234567
}
],
"stats": {
"found": 1,
"attempts": 1234567,
"rate": 125000
}
}- Never share private keys - They control your wallet completely
- Store keys securely - Use hardware wallets or encrypted storage
- Verify addresses - Always double-check before sending funds
- Use offline - Run on air-gapped systems for maximum security
- Delete when done - Remove private keys from the system after use
- Audit before use - Review the code for any security issues
- Secure entropy - Uses crypto.randomBytes() for cryptographic randomness
- No network calls - Fully offline operation
- Memory handling - Private keys are not unnecessarily duplicated
- Vanity addresses are NOT more secure - They have the same security as regular addresses
- Beware of phishing - Scammers may create similar-looking addresses
- Computational cost - Longer/more specific patterns take exponentially longer
- No guarantee - Some patterns may take years to find
- Resource intensive - Will use significant CPU and electricity
Rough estimates for finding patterns:
- 3 characters: ~1-10 minutes
- 4 characters: ~1-6 hours
- 5 characters: ~1-7 days
- 6 characters: ~2-12 months
- 7+ characters: Years to decades
Estimates vary greatly based on pattern, hardware, and luck
- ✅ Uses cryptographically secure random number generation
- ✅ No network communication (fully offline)
- ✅ No hardcoded secrets or backdoors
- ✅ Standard Solana key generation process
- ✅ Private keys properly encoded with bs58
- ✅ No logging of private keys to console (except results)
- ✅ Graceful shutdown handling
- Fork the repository
- Create a feature branch
- Make your changes
- Add tests if applicable
- Submit a pull request
MIT License - see LICENSE file for details.
This software is provided "as is" without warranty of any kind. Use at your own risk.
- Not responsible for lost funds or security breaches
- Cryptocurrency investments carry inherent risks
- Always verify addresses and transactions
- Keep private keys secure and private
- This tool is for educational and personal use only
- Open an issue for bugs or feature requests
- Check existing issues before creating new ones
- Provide system info and error details for bug reports