You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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:
This prevented me from having to refactor to use the new ethereum provider.
The text was updated successfully, but these errors were encountered: