-
Notifications
You must be signed in to change notification settings - Fork 6
/
hardhat.config.js
46 lines (45 loc) · 1.03 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
require("@nomicfoundation/hardhat-toolbox");
require("@nomicfoundation/hardhat-foundry");
require('hardhat-contract-sizer');
require('dotenv').config();
module.exports = {
solidity: {
version: "0.8.25",
settings: {
optimizer: {
enabled: true,
runs: 20,
},
viaIR: true,
},
},
networks: {
hardhat: {},
thanos: {
url: process.env.THANOS_SEPOLIA_RPC_URL,
accounts: [process.env.PRIVATE_KEY]
},
sepolia: {
url: process.env.SEPOLIA_RPC_URL,
accounts: [process.env.PRIVATE_KEY],
chainId: 11155111, // Sepolia testnet chain ID
}
},
etherscan: {
apiKey: {
sepolia: process.env.ETHERSCAN_API_KEY,
thanos_sepolia: "abcd",
bscTestnet: "abcd",
},
customChains: [
{
network: "thanos_sepolia",
chainId: 111551119090,
urls: {
apiURL: "https://explorer.thanos-sepolia.tokamak.network/api",
browserURL: "https://explorer.thanos-sepolia.tokamak.network/",
},
}
]
}
};