Skip to content

JSONRPC - "Unknown account" error? #2631

Answered by ricmoo
BE-CH asked this question in Q&A
Discussion options

You must be logged in to vote

I'm not sure where newProvider is coming from, but you need to get the Signer from the provider that controls the Signer; you likely want newProvider = new ethers.providers.Web3Provider(window.ethereum) to get the Signer from.

Let me know if that works. :)

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@BE-CH
Comment options

Answer selected by BE-CH
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #2626 on February 01, 2022 19:09.