-
Notifications
You must be signed in to change notification settings - Fork 0
/
hardhat.config.js
59 lines (58 loc) · 1.21 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
54
55
56
57
58
59
require("@nomicfoundation/hardhat-toolbox");
require("@openzeppelin/hardhat-upgrades");
require("dotenv").config();
module.exports = {
solidity: {
compilers: [
{
version: "0.8.21",
},
{
version: "0.8.18",
},
],
},
networks: {
goerli: {
url: "https://rpc.ankr.com/eth_goerli",
accounts: {
mnemonic: "test test test test test test test test test test test junk",
path: "m/44'/60'/0'/0",
initialIndex: 0,
count: 20,
passphrase: "",
},
},
mumbai: {
url: "https://rpc.ankr.com/polygon_mumbai",
accounts: [],
},
sepolia: {
url: "https://ethereum-sepolia-rpc.publicnode.com ",
accounts: [],
},
zetachain: {
url: "https://zetachain-mainnet-archive.allthatnode.com:8545",
accounts: [],
},
},
etherscan: {
apiKey: {
goerli: "",
},
apiKey: {
polygonMumbai: "",
},
apiKey: { sepolia: "API_KEY" },
apiKey: { zetachain: "ZETA DOESNT SUPPORT VERIFYING FROM HARDHAT" },
},
paths: {
sources: "./contracts",
tests: "./test",
cache: "./cache",
artifacts: "./artifacts",
},
mocha: {
timeout: 40000,
},
};