A tool for generating custom Solana wallet addresses with specified prefixes and/or suffixes.
- Generate Solana addresses with custom prefixes
- Generate Solana addresses with custom suffixes
- Combine both prefix and suffix conditions
- Automatic key pair saving
- Progress tracking
- Save generated keys in Base64 format
- Node.js (version 14 or higher)
- npm (Node Package Manager)
-
Install Node.js:
- Download from official website
- Verify installation:
node --version npm --version
-
Clone and setup:
git clone https://github.com/spam5041/solana-vanity-address-generator.git cd solana-vanity-address-generator npm install
-
Run the generator:
npm start # or node vanity.js
-
When prompted, enter:
- Desired address prefix (press Enter to skip)
- Desired address suffix (press Enter to skip)
-
Input examples:
- Prefix only: enter "sol" then press Enter twice
- Suffix only: press Enter, then enter "end"
- Both: enter "sol", then "end"
-
The program will:
- Show search parameters
- Display progress every 1000 attempts
- Save results when found
- All generated addresses are saved in
vanity_keys
directory - Each file contains:
- Public address
- Private key (Base64 format)
- Console displays:
- Found address
- Number of attempts
- File save location
- Keep your private keys secure
- Never share private keys
- Back up the
vanity_keys
directory safely - Use generated addresses only on trusted networks
Generation time depends on:
- Length of desired prefix/suffix
- Complexity of combination
- Computer processing power
Longer combinations will require more time to generate.
Common issues and solutions:
-
Module not found error:
npm install
-
Permission denied:
- Run terminal as administrator
- Check folder permissions
-
No output directory:
- Program will create it automatically
- Ensure write permissions
- Fork the repository
- Create your feature branch
- Commit your changes
- Push to the branch
- Create a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.
- Built with Solana Web3.js
- Inspired by cryptocurrency vanity address generators
- If you want to leave a tip, you can send it to the following address:
QLnkmkBW6mrVAN7mpdZb4hbXM8mSpHtCTJBGTnPpimp