Open thisbejim opened 7 years ago
Were you able to find any help regarding this? I am currently looking for some help implementing lightwallet using provider-engine too
Not the answer to your question, but if you want to use ethjs-provider-signer instead of hooked-web3-provider, creating the provider to work with this wallet goes like this:
let provider = new SignerProvider('http://127.0.0.1:8545', {
signTransaction: this.keystore.signTransaction.bind(this.keystore),
accounts: (cb) => cb(null, this.keystore.getAddresses().map((a) => '0x' + a))
})
Nice and simple :)
I had seen this issue a while ago, here you see a setup: https://gist.github.com/BennyM/3566b593f04b5ffa42d776d088965224
With hooked-web3-provider deprecated it would be awesome to have the examples updated to use provider-engine.