Created
April 14, 2021 08:45
Star
You must be signed in to star a gist
Generating Ethereum addresses from mnemonic seed words
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const HDWallet = require('ethereum-hdwallet') | |
const mnemonic = 'your seed prhase goes here' | |
const hdwallet = HDWallet.fromMnemonic(mnemonic) | |
for(let i=0; i<1000; i++) { | |
console.log(`0x${hdwallet.derive(`m/44'/60'/0'/0/${i}`).getAddress().toString('hex')}, 3.33`) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment