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

web3 no longer supported by Metamask #37

Open
jasonnalewak opened this issue Oct 26, 2022 · 1 comment
Open

web3 no longer supported by Metamask #37

jasonnalewak opened this issue Oct 26, 2022 · 1 comment

Comments

@jasonnalewak
Copy link

I got the existing app.js file as is to work with Metamask by using the following script lines inserted after the meta tags in the html header section:

    <!-- The legacy-web3 script must run BEFORE your other scripts. -->
    <script src="https://unpkg.com/@metamask/legacy-web3@latest/dist/metamask.web3.min.js"></script>
    <!-- Or: -->
    <script src="https://unpkg.com/@metamask/legacy-web3@latest/dist/metamask.web3.js"></script>

This prevented me from having to refactor to use the new ethereum provider.

@ALWISH007
Copy link

So we no longer require a javascript code to indentify the web3 provider(node provider)???

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

2 participants