Nethereum.Flappy icon indicating copy to clipboard operation
Nethereum.Flappy copied to clipboard

"web3.setProvider is not a function"

Open vindicatorr opened this issue 2 years ago • 1 comments

Uncaught TypeError: web3.setProvider is not a function
    at checkMetamask ((index):26:10)
    at (index):21:9

web3.setProvider(window.ethereum); https://docs.metamask.io/guide/provider-migration.html#replacing-window-web3

vindicatorr avatar Mar 11 '22 10:03 vindicatorr

The metamask interop in this repo is outdated check https://github.com/Nethereum/Nethereum.Unity.Webgl for a webgl example targeted to metamask integration

juanfranblanco avatar Mar 11 '22 12:03 juanfranblanco