DEV Community

Discussion on: Building a Web3 dApp authentication with React, Web3.js and Metamask

Collapse
 
germavinsmoke profile image
GermaVinsmoke

In detectCurrentProvider function, why are we overriding the value given by window.ethereum with window.web3.currentProvider?