Skip to content

Instantly share code, notes, and snippets.

  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save miohtama/bc2faeca695e6fc6c00dd6897732e525 to your computer and use it in GitHub Desktop.
Generating Ethereum addresses from mnemonic seed words
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