-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathhelper-hardhat-config.js
46 lines (43 loc) · 1.43 KB
/
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
35
36
37
38
39
40
41
42
43
44
45
46
const { ethers } = require("hardhat")
const networkConfig = {
5: {
name: "goerli",
vrfCoordinatorV2: "0x2Ca8E0C643bDe4C2E08ab1fA0da3401AdAD7734D",
gasLane: "0x79d3d8832d904592c0bf9818b621522c988bb8b0c05cdc3b15aea1b6e8db0c15",
entranceFee: ethers.utils.parseEther("0.01"),
subscriptionId: "1305",
callbackGasLimit: "500000",
interval: "30", //seconds
mintFee: "10000000000000000", // 0.01
ethUsdPriceFeedAddress: "0xD4a33860578De61DBAbDc8BFdb98FD742fA7028e",
},
11155111: {
name: "sepolia",
vrfCoordinatorV2: "0x8103B0A8A00be2DDC778e6e7eaa21791Cd364625",
gasLane: "0x474e34a077df58807dbe9c96d3c009b23b3c6d0cce433e59bbf5b34f823bc56c",
entranceFee: ethers.utils.parseEther("0.01"),
subscriptionId: "2138",
callbackGasLimit: "500000",
interval: "30", //seconds
mintFee: "10000000000000000", // 0.01
ethUsdPriceFeedAddress: "0x694AA1769357215DE4FAC081bf1f309aDC325306",
},
31337: {
name: "hardhat",
subscriptionId: "1305",
entranceFee: ethers.utils.parseEther("0.01"),
gasLane: "0x79d3d8832d904592c0bf9818b621522c988bb8b0c05cdc3b15aea1b6e8db0c15",
callbackGasLimit: "500000",
interval: "30", //seconds
mintFee: "10000000000000000", // 0.01
},
}
const developmentChains = ["hardhat", "localhost"]
const DECIMALS = "18"
const INITIAL_PRICE = "200000000000000000000"
module.exports = {
networkConfig,
developmentChains,
DECIMALS,
INITIAL_PRICE,
}