Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
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