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

Change web3 connection method #7

Open
andytudhope opened this issue Jan 18, 2021 · 0 comments
Open

Change web3 connection method #7

andytudhope opened this issue Jan 18, 2021 · 0 comments

Comments

@andytudhope
Copy link
Collaborator

While we are removing unnecessary libraries and generally cleaning up how we use Embark, let's make sure we migrate to the latest use of web3 to avoid this error message in the web console:

MetaMask no longer injects web3. For details, see: https://docs.metamask.io/guide/provider-migration.html#replacing-window-web3

It seems that MM also prefer the web3_getAccounts method over ethereum.enable() - this is worth looking further into (and can be seen in the console when you submit a DApp and are asked to connect your wallet).

Screenshot from 2021-01-18 14-55-50

cc @richard-ramos @RyRy79261

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