Metamask and Ether.js API

I am trying to use the ether.js API with Metamask (with Ganache GUI i.e. localhost 7545) via the Chrome console. I am getting an error saying that ethers is not defined. > let currentProvider = new web3.providers.HttpProvider(‘http://localhost:7545’); inpage.js:1 < MetaMask: web3 will be deprecated in the near future in favor of the ethereumProvider https://medium.com/metamask/4a899ad6e59e get…

Details

Metamask and Ether.js API

I am trying to use the ether.js API with Metamask (with Ganache GUI i.e. localhost 7545) via the Chrome console. I am getting an error saying that ethers is not defined. > let currentProvider = new web3.providers.HttpProvider(‘http://localhost:7545’); inpage.js:1 < MetaMask: web3 will be deprecated in the near future in favor of the ethereumProvider https://medium.com/metamask/4a899ad6e59e get…

Details