dappuniversity/eth-todo-list

web3 no longer supported by Metamask

Opened this issue · 1 comments

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.

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