forked from CrocSwap/CrocSwap-protocol
-
Notifications
You must be signed in to change notification settings - Fork 1
/
hardhat.config.ts
81 lines (73 loc) · 2.04 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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
/**
* @type import('hardhat/config').HardhatUserConfig
*/
import "hardhat-typechain";
import "@nomiclabs/hardhat-ethers";
import "hardhat-contract-sizer"
import "@nomicfoundation/hardhat-verify";
require("hardhat-storage-layout");
require('solidity-coverage')
module.exports = {
solidity: {
compilers: [{
version: "0.8.19",
settings: {
optimizer: {
enabled: true,
runs: 14900
},
viaIR: true,
outputSelection: {
"*": {
"*": ["storageLayout"],
},
},
}
}],
overrides: {
},
},
networks: {
hardhat: {
blockGasLimit: 500000000,
// allowUnlimitedContractSize: true
},
local: {
url: 'http://127.0.0.1:8545',
chainId: 31337
},
canto_mainnet: {
url: 'https://mainnode.plexnode.org:8545',
chainId: 7700,
accounts: [""]
},
ropsten: {
url: 'https://ropsten.infura.io/v3/cf3bc905d88d4f248c6be347adc8a1d8',
chainId: 3,
accounts: ["0x7c5e2cfbba7b00ba95e5ed7cd80566021da709442e147ad3e08f23f5044a3d5a"]
},
rinkeby: {
url: 'https://rinkeby.infura.io/v3/cf3bc905d88d4f248c6be347adc8a1d8',
chainId: 4,
accounts: ["0x7c5e2cfbba7b00ba95e5ed7cd80566021da709442e147ad3e08f23f5044a3d5a"]
},
kovan: {
url: 'https://kovan.infura.io/v3/cf3bc905d88d4f248c6be347adc8a1d8',
chainId: 42,
accounts: ["0x7c5e2cfbba7b00ba95e5ed7cd80566021da709442e147ad3e08f23f5044a3d5a"]
},
goerli: {
url: 'https://goerli.infura.io/v3/cf3bc905d88d4f248c6be347adc8a1d8',
chainId: 5,
accounts: ["0x7c5e2cfbba7b00ba95e5ed7cd80566021da709442e147ad3e08f23f5044a3d5a"]
},
mainnet: {
url: 'https://mainnet.infura.io/v3/360ea5fda45b4a22883de8522ebd639e',
chainId: 1
},
fuji: {
url: "https://api.avax-test.network/ext/bc/C/rpc",
chainId: 43113,
},
}
};