Open in19farkt opened 3 years ago
Metamask no longer inject Web3 into the global https://docs.metamask.io/guide/provider-migration.html#replacing-window-web3. This leads to an error when trying to connect Metamask on the contract/operations page.
(function(d, script) { script = d.createElement('script'); script.type = 'text/javascript'; script.async = true; script.src = 'https://unpkg.com/@metamask/legacy-web3@latest/dist/metamask.web3.min.js'; d.getElementsByTagName('head')[0].appendChild(script); }(document));
Metamask no longer inject Web3 into the global https://docs.metamask.io/guide/provider-migration.html#replacing-window-web3. This leads to an error when trying to connect Metamask on the contract/operations page.
Workaround: