-
Notifications
You must be signed in to change notification settings - Fork 0
/
hardhat.config.js
52 lines (51 loc) · 1.26 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
require("@nomicfoundation/hardhat-toolbox");
require("@nomicfoundation/hardhat-chai-matchers");
require("@nomicfoundation/hardhat-verify");
/** @type import('hardhat/config').HardhatUserConfig */
module.exports = {
solidity: {
compilers: [{ version: "0.8.18" }, { version: "0.8.20" }],
},
settings:
{
optimizer: {
enabled: true,
runs: 200
}
},
networks: {
snowtrace: {
url: 'https://api.avax-test.network/ext/bc/C/rpc'
},
blast: {
url: 'https://lingering-indulgent-replica.blast-mainnet.quiknode.pro/6667a8f4be701cb6549b415d567bc706fb2f13a8/'
},
},
etherscan: {
apiKey: {
snowtrace: "snowtrace", // apiKey is not required, just set a placeholder
blast: "blast"
},
customChains: [
{
network: "snowtrace",
chainId: 43113,
urls: {
apiURL: "https://api.routescan.io/v2/network/testnet/evm/43113/etherscan",
browserURL: "https://testnet.snowtrace.io"
}
},
{
network: "blast",
chainId: 81457,
urls: {
apiURL: "https://api.routescan.io/v2/network/mainnet/evm/81457/etherscan",
browserURL: "https://81457.routescan.io"
}
}
]
},
sourcify: {
enabled: false
}
};