trufflesuite / truffle-hdwallet-provider

HD Wallet-enabled Web3 provider
MIT License
401 stars 167 forks source link

I have loose MetaMask accounts I'd like to use with this package, but unable #16

Open elie222 opened 6 years ago

elie222 commented 6 years ago

Because loose accounts aren't generated by your MetaMask mnemonic, I'm not able to use loose accounts imported into MetaMask. Any suggestions as to how to get around this?

orbmis commented 6 years ago

You can use this tool:

https://coinomi.com/recovery-phrase-tool.html

Choose Ethereum as your coin, 12 words, use a BIP32 Derivation Path and set it to: m/44'/60'/0'/0

Use the 12 words that are generated with your HDWalletProvider and import the same account into MeteaMask using the private key fro the first generated account in the list at the bottom of the page.