-
Notifications
You must be signed in to change notification settings - Fork 0
/
helper-hardhat-config.ts
65 lines (63 loc) · 2.09 KB
/
helper-hardhat-config.ts
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
const networkConfig: any = {
default: {
name: "hardhat",
fee: "100000000000000000",
keyHash:
"0x6c3699283bda56ad74f6b855546325b68d482e983852a7a82979cc4807b641f4",
jobId: "29fa9aa13bf1468788b7cc4a500a45b8",
fundAmount: "1000000000000000000",
},
31337: {
name: "localhost",
fee: "100000000000000000",
keyHash:
"0x6c3699283bda56ad74f6b855546325b68d482e983852a7a82979cc4807b641f4",
jobId: "29fa9aa13bf1468788b7cc4a500a45b8",
fundAmount: "1000000000000000000",
},
42: {
name: "kovan",
linkToken: "0xa36085F69e2889c224210F603D836748e7dC0088",
ethUsdPriceFeed: "0x9326BFA02ADD2366b30bacB125260Af641031331",
keyHash:
"0x6c3699283bda56ad74f6b855546325b68d482e983852a7a82979cc4807b641f4",
vrfCoordinator: "0xdD3782915140c8f3b190B5D67eAc6dc5760C46E9",
oracle: "0x2f90A6D021db21e1B2A077c5a37B3C7E75D15b7e",
jobId: "29fa9aa13bf1468788b7cc4a500a45b8",
fee: "100000000000000000",
fundAmount: "1000000000000000000",
},
137: {
name: "polygon",
linkToken: "0xb0897686c545045aFc77CF20eC7A532E3120E0F1",
keyHash:
"0xf86195cf7690c55907b2b611ebb7343a6f649bff128701cc542f0569e2c549da",
vrfCoordinator: "0x3d2341ADb2D31f1c5530cDC622016af293177AE0",
fee: "100000000000000",
fundAmount: "200000000000000",
},
4: {
name: "rinkeby",
linkToken: "0x01be23585060835e02b77ef475b0cc51aa1e0709",
ethUsdPriceFeed: "0x8A753747A1Fa494EC906cE90E9f37563A8AF630e",
keyHash:
"0x2ed0feb3e7fd2022120aa84fab1945545a9f2ffc9076fd6156fa96eaff4c1311",
vrfCoordinator: "0xb3dCcb4Cf7a26f6cf6B120Cf5A73875B7BBc655B",
oracle: "0x7AFe1118Ea78C1eae84ca8feE5C65Bc76CcF879e",
jobId: "6d1bfe27e7034b1d87b5270556b17277",
fee: "100000000000000000",
fundAmount: "1000000000000000000",
},
1: {
name: "mainnet",
linkToken: "0x514910771af9ca656af840dff83e8264ecf986ca",
fundAmount: "0",
},
5: {
name: "goerli",
linkToken: "0x326c977e6efc84e512bb9c30f76e30c160ed06fb",
fundAmount: "0",
},
};
const developmentChains = ["hardhat", "localhost"];
export { networkConfig, developmentChains };