-
Notifications
You must be signed in to change notification settings - Fork 1
/
hardhat.config.ts
49 lines (46 loc) · 1.01 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
46
47
48
49
// Plugins
import '@nomiclabs/hardhat-waffle';
import 'hardhat-contract-sizer';
import 'solidity-coverage';
import 'hardhat-gas-reporter';
import 'hardhat-tracer';
import '@nomiclabs/hardhat-solhint';
import 'hardhat-prettier';
import 'hardhat-docgen';
import 'hardhat-deploy';
import '@nomiclabs/hardhat-etherscan';
import { HardhatUserConfig } from 'hardhat/config';
/**
* @type import('hardhat/config').HardhatUserConfig
*/
module.exports = {
solidity: {
version: '0.7.6',
settings: {
optimizer: {
enabled: true,
runs: 200
}
}
},
networks: {
kovan: {
url: process.env.KOVAN_ETHEREUM_RPC_URL,
chainId: 42,
from: process.env.KOVAN_DEPLOYER_ACCOUNT,
gas: 'auto',
gasPrice: 'auto',
accounts: {
mnemonic: process.env.KOVAN_DEPLOYER_ACCOUNT_MNEMONIC,
},
live: true,
saveDeployments: true,
tags: ['test']
}
},
docgen: {
path: './docs',
clear: true,
runOnCompile: true,
}
} as HardhatUserConfig;