Follow the setup below to generate a new erc20 wallet address with private key and mnemonic seed phrase.
Follow this instruction to install Git version control based on your operating system if you don't already have it installed.
Using a terminal of your choice; clone the Github repository into your local machine.
git clone https://github.com/samuelogu/wallet-generator.git
cd wallet-generator
npm i
touch .envUpdate the .env file with your chose of encryption password. The ENCRYPTED_PRIVATE_KEY and ENCRYPTED_MNEMONIC are for decrypting back to original values.
PASSWORD="encryption_password"
ENCRYPTED_PRIVATE_KEY=
ENCRYPTED_MNEMONIC=Generate a new wallet address by running npm run generate in the project terminal.
To decrypt your encrypted private key and mnemonic seed phase; update the .env file with values of the ENCRYPTED_PRIVATE_KEY and ENCRYPTED_MNEMONIC. Ensure that you use the same PASSWORD that was used for the encryption and run the command npm run decrypt
Disclaimer: This repository is for educational purposes. Do not use without doing your own research