window.ethereum.enable() is working properly, the window pops up from MetaMask and I allow access like normal. I am also able to send transactions between two of my accounts on the test network through web3.eth.sendTransaction() and once again the window pops up and I accept the transaction. But when I try and use web3.eth.sign() this method does not work and I get the following error:

MetaMask - RPC Error: Error: WalletMiddleware - Invalid "from" address.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.