Node.js script that generates a specified number of Solana addresses and private keys and saves them to a file.
To use this script, you will need to have Node.js installed on your system. Once you have Node.js installed, clone this repository and navigate to the project directory. Then, run the following command to install the required dependencies:
npm install
This script requires the Node.js modules. You can install these modules by running the following command in your terminal:
npm install coinkey crypto fs readline @solana/web3.js
To generate wallets, run the script using the following command:
node app.js
The script will prompt you for the number of wallets you want to generate. Enter the desired number and press enter. The script will then generate the specified number of wallets and save them to a file called generated.txt in the project directory.
Each generated wallet will have a private key and a public address. The private key should be kept secret as it allows access to the funds in the wallet. The public address can be shared and is used to receive funds.
Support my work:
- BTC: bc1q7wth254atug2p4v9j3krk9kauc0ehys2u8tgg3
- ETH & BNB: 0x68B6D33Ad1A3e0aFaDA60d6ADf8594601BE492F0
- Buy me a coffee: https://www.buymeacoffee.com/CorvusCodex
The code within this repository comes with no guarantee, the use of this code is your responsibility. I take NO responsibility and/or liability for how you choose to use any of the source code available here. By using any of the files available in this repository, you understand that you are AGREEING TO USE AT YOUR OWN RISK. Once again, ALL files available here are for EDUCATION and/or RESEARCH purposes ONLY. The chances of finding a match are extremely low and it is not recommended to use this script for any illegal or unethical activities.
MIT License
Copyright (c) 2023 CorvusCodex
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.