-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathhardhat.config.js
46 lines (45 loc) · 1.12 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("dotenv").config();
/** @type import('hardhat/config').HardhatUserConfig */
module.exports = {
solidity: "0.8.19",
networks: {
hardhat: {
},
titan: {
url: `${process.env.ETH_NODE_URI_TITAN}`,
accounts: [`${process.env.PRIVATE_KEY}`],
chainId: 55004
},
titangoerli: {
url: `${process.env.ETH_NODE_URI_TITAN_GOERLI}`,
accounts: [`${process.env.PRIVATE_KEY}`],
chainId: 5050
}
},
etherscan: {
apiKey: {
titan: "abc",
titangoerli: "abc"
} ,
customChains: [
{
network: "titan",
chainId: 55004,
urls: {
apiURL: "https://explorer.titan.tokamak.network/api",
browserURL: "https://explorer.titan.tokamak.network"
}
},
{
network: "titangoerli",
chainId: 5050,
urls: {
//https://tokamak-network.slack.com/archives/C01L9JLECLW/p1691027406871039
apiURL: "https://goerli.explorer.tokamak.network/api",
browserURL: "https://goerli.explorer.tokamak.network"
}
}
]
}
};