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

Unable to read or write without readOnlyUrl in config (if user is connected) #788

Open
gsteenkamp89 opened this issue Jun 1, 2022 · 0 comments

Comments

@gsteenkamp89
Copy link
Contributor

gsteenkamp89 commented Jun 1, 2022

Expected bahavior:

We can use user's injected provider for reads & writes once connected. without the need for a readOnlyUrl inside config.

Current behaviour:

Now it seems we must provide readOnlyUrls to the config otherwise we are unable to read or write.
If we don't provide a readOnlyUrl but user's wallet is connected:

  • useEtherBalance also always returns undefined
  • making transactions throws errors

Shouldn't we be able to use the user's provider for reads & writes?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants