Created
July 14, 2020 20:57
-
-
Save petejkim/4849843905aed41319dff42c2aae8967 to your computer and use it in GitHub Desktop.
Introduction to Building on DeFi with Ethereum and USDC - Part 1 - provider.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 ethers = require("ethers"); | |
const provider = ethers.getDefaultProvider("ropsten", { | |
// Replace the following with your own INFURA API key | |
infura: "0123456789abcdef0123456789abcdef", | |
}); | |
module.exports = provider; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment