this is a nodejs tool that generates crypto wallets. it's basically an hd wallet factory. it generates a random 12-word mnemonic, makes a seed from it, and then spits out 5 different ethereum addresses (and their private keys) by incrementing the derivation path index.
make sure you have dependencies installed:
npm installthen just run:
npm start(or npx tsx src/index.ts if you want to run the file directly)
you can restore an old wallet by passing the mnemonic flag:
npx tsx src/index.ts --mnemonic="your twelve words here..."here is the flow:
graph TD
A[start] --> B[generate random mnemonic]
B --> C[convert to binary seed]
C --> D{loop 5 times}
D --> E[derive private key at m/44'/60'/0'/0/i]
E --> F[convert to eth address]
F --> G[print row]
G --> D
D --> H[done]
it looks like this in the terminal:
src/core: mnemonic stuff using bip39src/utils: wallet derivation using bip32 and etherssrc/config: just the path stringsrc/index.ts: tying it all together
built with typescript because types are good.

