-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathhelper-hardhat-config.js
More file actions
38 lines (35 loc) · 1.27 KB
/
helper-hardhat-config.js
File metadata and controls
38 lines (35 loc) · 1.27 KB
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
const { ethers, hardhatArguments } = require("hardhat")
const networkConfig = {
default: {
name: "hardhat",
},
5: {
name: "goerli",
vrfCoordinatorV2: "0x2Ca8E0C643bDe4C2E08ab1fA0da3401AdAD7734D",
lobbyEntranceFee: "100000000000000000", //0.1 ETH
gasLane: "0x79d3d8832d904592c0bf9818b621522c988bb8b0c05cdc3b15aea1b6e8db0c15", //30 gwei
subscriptionId: "6052", // this needs to be changed
callbackGasLimit: "3000000", //3,000,000 gas
},
31337: {
name: "localhost",
subscriptionId: "1",
gasLane: "0x79d3d8832d904592c0bf9818b621522c988bb8b0c05cdc3b15aea1b6e8db0c15", // 30 gwei
lobbyEntranceFee: "100000000000000000", //0.1 ETH
callbackGasLimit: "30000000", //3,000,000 gas
},
43113: {
name: "fuji",
vrfCoordinatorV2: "0x2eD832Ba664535e5886b75D64C46EB9a228C2610",
lobbyEntranceFee: "100000000000000000",
url: "https://api.avax-test.network/ext/bc/C/rpc",
gasLane: "0x354d2f95da55398f44b7cff77da56283d9c6c829a4bdf1bbcaf2ad6a4d081f61",
subscriptionId: "488",
callbackGasLimit: "3000000", //500,000 gas
},
}
const developmentChains = ["hardhat", "localhost"]
module.exports = {
networkConfig,
developmentChains,
}