Created
April 2, 2020 14:25
-
-
Save alexroan/619aeddfa841640ac79df30dbb0308e4 to your computer and use it in GitHub Desktop.
loadWeb3.js
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const Web3 = require("web3"); | |
window.web3 = new Web3(window.ethereum); | |
window.ethereum.enable(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment