Skip to content

Instantly share code, notes, and snippets.

@petejkim
Created July 14, 2020 20:57
Show Gist options
  • Save petejkim/4849843905aed41319dff42c2aae8967 to your computer and use it in GitHub Desktop.
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
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