| 1 | require("@nomiclabs/hardhat-waffle"); |
| 2 | require("@nomiclabs/hardhat-ethers"); |
| 3 | |
| 4 | module.exports = { |
| 5 | solidity: { |
| 6 | version: "0.8.20", |
| 7 | settings: { |
| 8 | optimizer: { |
| 9 | enabled: true, |
| 10 | runs: 200 |
| 11 | } |
| 12 | } |
| 13 | }, |
| 14 | networks: { |
| 15 | hardhat: { |
| 16 | chainId: 31337 |
| 17 | }, |
| 18 | localhost: { |
| 19 | url: "http://127.0.0.1:8545" |
| 20 | } |
| 21 | }, |
| 22 | paths: { |
| 23 | sources: "./contracts", |
| 24 | tests: "./test", |
| 25 | cache: "./cache", |
| 26 | artifacts: "./artifacts" |
| 27 | } |
| 28 | }; |