-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathhelper-hardhat-config.js
34 lines (31 loc) · 982 Bytes
/
helper-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
const { ethers } = require("ethers")
const networkConfig = {
4: {
name: "rinkeby",
vrfCoordinatorV2: "0x6168499c0cFfCaCD319c818142124B7A15E857ab",
entranceFee: ethers.utils.parseEther("0.01"),
gasLane: "0xd89b2bf150e3b9e13446986e571fb9cab24b13cea0a43ea20a6049a85cc807cc",
subscriptionId: "10529",
callbackGasLimit: "500000",
interval: "30",
},
5: {
name: "goerli",
entranceFee: ethers.utils.parseEther("0.01"),
subscriptionId: "10529",
callbackGasLimit: 500000,
interval: "30",
},
31337: {
name: "hardhat",
entranceFee: ethers.utils.parseEther("0.01"),
gasLane: "0xd89b2bf150e3b9e13446986e571fb9cab24b13cea0a43ea20a6049a85cc807cc", // not really necessary
callbackGasLimit: "500000",
interval: "30",
},
}
const developmentChains = ["hardhat", "localhost"]
module.exports = {
networkConfig,
developmentChains,
}