Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MathWallet does not inject itself on document load so it doesn't show up as a provider #92

Open
jessgusclark opened this issue May 25, 2021 · 0 comments
Labels
bug Something isn't working

Comments

@jessgusclark
Copy link
Member

I'm unsure if this is the right place to document this.

consider the following code inside of the sample app:

      console.log('window.ethereum', window.ethereum);
      setTimeout(() => {  console.log("window.ethereum!", window.ethereum); }, 1000);

This would be added right below line 44.

And the console log:

Screen Shot 2021-05-25 at 2 30 29 PM

MathWallet's window.ethereum is not injected on the page at the beginning. This causes rLogin to not see it when it initially sets up its providers.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant