Skip to content

Instantly share code, notes, and snippets.

@dabit3
Last active August 10, 2022 22:18
Show Gist options
  • Star 4 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dabit3/9c4af9adeb3384e9ae3271181bce0f96 to your computer and use it in GitHub Desktop.
Save dabit3/9c4af9adeb3384e9ae3271181bce0f96 to your computer and use it in GitHub Desktop.
Initial hardhat configuration - Polygon tutorial
/* hardhat.config.js */
require("@nomiclabs/hardhat-waffle")
module.exports = {
defaultNetwork: "hardhat",
networks: {
hardhat: {
chainId: 1337
},
// mumbai: {
// url: "https://rpc-mumbai.maticvigil.com",
// accounts: [process.env.privateKey]
// }
},
solidity: {
version: "0.8.4",
settings: {
optimizer: {
enabled: true,
runs: 200
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment