So I am trying to create a signature of a string, but I cannot do that, as I always get error stating MetaMask - RPC Error: Error: WalletMiddleware - Invalid "from" address. (code: -32603). I am creating a message with window.web3.eth.sign(hash, userAddress) function, where user address is response of window.ethereum.enable() function.

error in chrome console

  • And you didn't find a way to paste it here as plain text? – goodvibration Feb 26 at 21:48
  • Sorry, what exactly you need to paste here? The full error? code: -32603 message: "Error: WalletMiddleware - Invalid "from" address.↵ at l (chrome-extension://nkbihfbeogaeaoehlefnkodbefgpgknn/background.js:1:1085123)" – Jiří Čechal Feb 26 at 21:59

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.