-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathhardhat.config.js
98 lines (97 loc) · 2.13 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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
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: [],
},
amoy: {
url: "https://rpc-amoy.polygon.technology",
accounts: [],
},
kroma: {
url: "https://1rpc.io/kroma",
accounts: [],
},
zetachain: {
url: "https://zetachain-mainnet-archive.allthatnode.com:8545",
accounts: [],
},
base: {
url: "https://base.llamarpc.com",
accounts: [],
},
telosEVM: {
url: "https://rpc.telos.net",
accounts: [],
},
},
etherscan: {
apiKey: { sepolia: "" },
apiKey: { zetachain: "ZETA DOESNT SUPPORT VERIFYING FROM HARDHAT" },
apiKey: { base: "" },
apiKey: { kroma: "" },
apiKey: { amoy: "" },
customChains: [
{
network: "kroma",
chainId: 255,
urls: {
apiURL: "https://api.kromascan.com/api",
browserURL: "https://kromascan.com/",
},
},
{
network: "amoy",
chainId: 80002,
urls: {
apiURL: "https://api-amoy.polygonscan.com/api",
browserURL: "https://amoy.polygonscan.com/",
},
},
{
network: "sepolia",
chainId: 11155111,
urls: {
apiURL: "https://api-sepolia.etherscan.io/api",
browserURL: "https://sepolia.etherscan.io/",
},
},
],
},
paths: {
sources: "./contracts",
tests: "./test",
cache: "./cache",
artifacts: "./artifacts",
},
mocha: {
timeout: 40000,
},
};