Last active
August 10, 2022 22:18
-
-
Save dabit3/9c4af9adeb3384e9ae3271181bce0f96 to your computer and use it in GitHub Desktop.
Initial hardhat configuration - Polygon tutorial
This file contains 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
/* 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