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

Console Message: Uncaught TypeError: Cannot read property 'currentProvider' of undefined #2

Open
KubyWong opened this issue Apr 6, 2023 · 0 comments

Comments

@KubyWong
Copy link

KubyWong commented Apr 6, 2023

When I config rpc like this.
String rpc = "https://goerli.infura.io/v3/";
int chainId = 5;

It can't get currentProvider.And show this log.
--> Console Message: Uncaught TypeError: Cannot read property 'currentProvider' of undefined
How to soluve?

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

No branches or pull requests

1 participant