This script generates Solana wallet addresses along with their Base58 PrivateKey, PrivateKey, and Mnemonic.
- Generate multiple Solana wallet addresses at once
- Option to generate wallets with or without mnemonic phrases
- Save wallet information to a text file with timestamp
- Input validation to prevent errors
- Error handling for robust operation
- Make sure you have Node.js installed on your system.
- Clone this repository:
git clone https://github.com/soccersd/solwalletgenerator.git cd solwalletgenerator
- Install dependencies:
npm install
Run the script:
# Using npm
npm start
# Using node directly
node index.js
# Using the batch file (Windows)
run.bat
The script will prompt you to:
- Enter the number of wallet addresses you want to generate
- Choose whether to generate with mnemonic phrases
- Choose whether to save the results to a text file
For each wallet, the script will display:
- Wallet Address
- Base58 PrivateKey
- PrivateKey (as hex)
- Mnemonic phrase
If you choose to save to a file, the results will be saved in a file named solana_wallets_TIMESTAMP.txt
in the same directory.
- The generated wallet information is sensitive and should be kept secure
- If saved to a file, the file includes a warning message about security
- Consider using hardware wallets or other secure storage methods for production use
This project is licensed under the MIT License - see the LICENSE file for details.