forked from izumiFinance/iZiSwap-periphery
-
Notifications
You must be signed in to change notification settings - Fork 0
/
hardhat.config.js
53 lines (51 loc) 路 1.06 KB
/
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
require("@nomiclabs/hardhat-waffle");
require('hardhat-contract-sizer');
require('@nomiclabs/hardhat-etherscan');
require("@cronos-labs/hardhat-cronoscan");
const secret = require('./.secret.js');
const sk = secret.sk;
const apiKey = secret.apiKey;
/**
* @type import('hardhat/config').HardhatUserConfig
*/
module.exports = {
solidity: {
compilers: [
{
version: "0.8.4",
settings: {
optimizer: {
enabled: true,
runs: 100
},
outputSelection: {
"*": {
"*": [
"abi",
"evm.bytecode",
"evm.deployedBytecode",
"evm.methodIdentifiers",
"metadata"
],
}
}
}
},
]
},
networks: {
hardhat: {
allowUnlimitedContractSize: true,
},
rollux: {
url: 'https://rpc-tanenbaum.rollux.com/',
gasPrice: "auto",
hardfork: "london",
chainId: 57000,
accounts: [sk]
}
},
etherscan: {
apiKey: apiKey,
}
};