Created
April 14, 2021 08:45
-
-
Save miohtama/bc2faeca695e6fc6c00dd6897732e525 to your computer and use it in GitHub Desktop.
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