forked from ZumZoom/ovm-hardhat-etherscan-example
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathhardhat.config.js
39 lines (38 loc) · 876 Bytes
/
hardhat.config.js
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
require('@eth-optimism/hardhat-ovm');
require('@nomiclabs/hardhat-etherscan');
require('dotenv').config();
require('hardhat-deploy');
module.exports = {
ovm: {
solcVersion: '0.7.6+commit.3b061308',
},
paths: {
artifacts: './artifacts-ovm',
},
etherscan: {
apiKey: process.env.ETHERSCAN_KEY,
},
solidity: {
settings: {
optimizer: {
enabled: true,
runs: 1000000,
},
},
version: '0.7.6',
},
namedAccounts: {
deployer: {
default: 0,
},
},
networks: {
'kovan-optimistic': {
url: process.env.KOVAN_OPTIMISTIC_RPC_URL,
chainId: 69,
gasPrice: 15000000,
accounts: [process.env.KOVAN_OPTIMISTIC_PRIVATE_KEY],
ovm: true,
},
},
};