
A modern web application for generating custom Solana addresses with specific patterns. Built with Next.js and TypeScript, this tool allows you to create vanity addresses that start with, end with, or contain specific characters. "used this tool to create bytegen.sol wallet address -> BYTEjknDKYUxmteFND2K1abSBJj1Ke65MQnwwZHQUYQA
- Pattern Matching: Generate addresses that start with, end with, or contain specific patterns
- Real-time Difficulty Estimation: See the probability and expected attempts before generating
- Client-side Generation: All processing happens in your browser for privacy and speed
- Modern UI: Beautiful, responsive interface with gradient backgrounds
- Copy to Clipboard: Easy copying of generated public and private keys
- Configurable Limits: Set maximum attempts and time limits
- Frontend: Next.js 14 with TypeScript
- Styling: Custom CSS with modern design
- Cryptography: Solana Web3.js for keypair generation
- Encoding: bs58 for Base58 encoding
- Deployment: Vercel-ready
- Clone the repository:
git clone <your-repo-url>
cd vanity-address-generator
- Install dependencies:
npm install
- Run the development server:
npm run dev
- Open http://localhost:3000 in your browser.
-
Enter your desired pattern:
- Starts With: Address begins with specific characters (e.g., "ABC")
- Ends With: Address ends with specific characters (e.g., "XYZ")
- Contains: Address contains specific characters anywhere (e.g., "SOL")
-
Set limits:
- Max Attempts: Maximum number of attempts (default: 1,000,000)
- Max Time: Maximum time in seconds (default: 30)
-
Generate: Click "Generate Vanity Address" and wait for results
Pattern | Expected Attempts | Time Estimate |
---|---|---|
Starts with "A" | ~58 | < 1 second |
Starts with "AB" | ~3,364 | ~1-5 seconds |
Starts with "ABC" | ~195,112 | ~30-60 seconds |
Contains "SOL" | ~195,112 | ~30-60 seconds |
No environment variables are required for basic functionality. All processing happens client-side.
You can modify the generation logic in lib/vanity-generator.ts
:
// Example: Add custom pattern matching
private matchesCustomPattern(publicKey: string): boolean {
// Add your custom logic here
return publicKey.includes('CUSTOM');
}
- Push your code to GitHub
- Connect your repository to Vercel
- Deploy automatically
npm run build
npm start
- Client-side Processing: All keypair generation happens in your browser
- No Server Storage: Private keys are never sent to or stored on servers
- Local Generation: Your private keys stay on your device
- Optimized Generation: Uses efficient algorithms for pattern matching
- Non-blocking UI: Generation runs in background without freezing the interface
- Memory Efficient: Minimal memory footprint during generation
- Fork the repository
- Create a feature branch (
git checkout -b feature/amazing-feature
) - Commit your changes (
git commit -m 'Add amazing feature'
) - Push to the branch (
git push origin feature/amazing-feature
) - Open a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.
- Educational Purpose: This tool is for educational and legitimate use only
- No Guarantees: Generation time varies based on pattern complexity
- Security: Always verify generated addresses before using them for transactions
- Backup: Keep your private keys secure and backed up
- Generation takes too long: Try simpler patterns or increase time limits
- App doesn't load: Check if all dependencies are installed
- Copy doesn't work: Ensure you're using a modern browser with clipboard API support
- Use shorter patterns for faster generation
- Avoid very complex patterns that might take hours
- Consider using "Contains" instead of "Starts With" for better performance
If you encounter any issues or have questions:
- Check the troubleshooting section above
- Open an issue on GitHub
- Review the code comments for implementation details
Happy Vanity Address Generation! 🎉