-
-
Save timpark0807/ea26377b716d132f2d8fb9caac348587 to your computer and use it in GitHub Desktop.
Config file for Polygon hardhat deployment
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
require("@nomiclabs/hardhat-ethers"); | |
module.exports = { | |
defaultNetwork: "matic", | |
networks: { | |
hardhat: { | |
}, | |
matic: { | |
url: 'ALCHEMY_URL', | |
accounts: ['PRIVATE_KEY'], | |
} | |
}, | |
solidity: { | |
version: "0.8.0", | |
settings: { | |
optimizer: { | |
enabled: true, | |
runs: 200 | |
} | |
} | |
}, | |
paths: { | |
sources: "./contracts", | |
tests: "./test", | |
cache: "./cache", | |
artifacts: "./artifacts" | |
}, | |
mocha: { | |
timeout: 20000 | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment