-
Notifications
You must be signed in to change notification settings - Fork 17
/
hardhat.config.ts
45 lines (42 loc) · 1.11 KB
/
hardhat.config.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
import "@nomiclabs/hardhat-ethers";
import type { HardhatUserConfig } from "hardhat/types";
import "@openzeppelin/hardhat-upgrades";
import "hardhat-gas-reporter";
import "hardhat-prettier";
import "./tasks/superblock-cli";
const config: HardhatUserConfig = {
networks: {
hardhat: {
// TODO: lower this a bit?
blockGasLimit: 4000000000,
},
development: {
url: "http://127.0.0.1:8545",
},
integrationDogeMain: {
url: "http://127.0.0.1:8545",
},
integrationDogeRegtest: {
url: "http://127.0.0.1:8545",
},
integrationDogeScrypt: {
url: "http://127.0.0.1:8545",
},
ropsten: {
url: "http://127.0.0.1:8545",
chainId: 3,
},
rinkeby: {
url: "http://127.0.0.1:8545",
chainId: 4,
},
},
solidity: {
version: "0.7.6",
settings: { optimizer: { enabled: true, runs: 200 } },
},
gasReporter: {
enabled: process.env.REPORT_GAS ? true : false,
},
};
export default config;