Skip to content

Instantly share code, notes, and snippets.

@grampabacon
Last active September 28, 2021 16:57
Show Gist options
  • Save grampabacon/47cad57ca39db9e5f639ce11d6082b27 to your computer and use it in GitHub Desktop.
Save grampabacon/47cad57ca39db9e5f639ce11d6082b27 to your computer and use it in GitHub Desktop.
const config: HardhatUserConfig = {
defaultNetwork: "hardhat",
solidity: {
compilers: [{ version: "0.8.0", settings: {} }],
},
networks: {
hardhat: {},
localhost: {},
rinkeby: {
url: `https://rinkeby.infura.io/v3/${INFURA_API_KEY}`,
accounts: [RINKEBY_PRIVATE_KEY],
},
coverage: {
url: "http://127.0.0.1:8555", // Coverage launches its own ganache-cli client
},
},
etherscan: {
// Your API key for Etherscan
// Obtain one at https://etherscan.io/
apiKey: ETHERSCAN_API_KEY,
},
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment