irongit
defi_property/hardhat.config.js
28 lines466 BJavaScript
1require("@nomiclabs/hardhat-waffle");
2require("@nomiclabs/hardhat-ethers");
3
4module.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};