A simple command-line tool written in Go to generate Ethereum wallet addresses and private keys in bulk. This tool is designed for secure, local generation of wallets, meaning your private keys are generated directly on your machine and are not transmitted over the network.
- Generates a specified number of Ethereum wallets.
- Saves each wallet's address and private key to a separate
.txtfile. - Organizes generated wallet files into a
walletsdirectory.
If you just want to use the EthGen command-line tool without cloning the repository, you can install it directly using go install:
go install github.com/gmh5225/EthGen@latestThis command will download the source code, compile it, and place the EthGen executable in your Go binary path ($GOPATH/bin or $HOME/go/bin). Ensure this directory is in your system's PATH environment variable to run EthGen directly from anywhere in your terminal.
Run the installed executable from your terminal, providing the number of wallets you want to generate as a command-line argument:
EthGen <number_of_wallets>Example:
To generate 5 wallets:
EthGen 5This command will:
- Create a
walletsdirectory if it doesn't exist. - Generate 5 new Ethereum wallets.
- Save each wallet's details into files named
wallets/wallet_1.txt,wallets/wallet_2.txt, ...,wallets/wallet_5.txt. - Print the progress to the console.
Each .txt file will contain:
Address: <0x... Ethereum Address>
Private Key: <your private key in hex>