trufflesuite / truffle-hdwallet-provider

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

HDWalletProvider breaks with ethereumjs-wallet 0.6.1 #53

Open rawadrifai opened 6 years ago

rawadrifai commented 6 years ago

It's broken unless you change your import to something like this: var hdkey = require('ethereumjs-wallet/dist/hdkey');

then it works.

I think ethereumjs-wallet is not backward compatible starting 0.6.1

cgewecke commented 6 years ago

Thanks @rawadrifai. For the moment we've pinned ethereumjs-wallet at 0.6.0 and will upgrade after making the fix you've suggested here.

rawadrifai commented 5 years ago

@cgewecke was this fixed?