Random, Upkeep, Mock Ready
This commit is contained in:
@@ -5,13 +5,18 @@ const networkConfig = {
|
||||
name: "hardhat",
|
||||
keepersUpdateInterval: "30",
|
||||
},
|
||||
1: {
|
||||
name: "mainnet",
|
||||
keepersUpdateInterval: "30",
|
||||
},
|
||||
31337: {
|
||||
name: "localhost",
|
||||
subscriptionId: "588",
|
||||
gasLane: "0x474e34a077df58807dbe9c96d3c009b23b3c6d0cce433e59bbf5b34f823bc56c", // 30 gwei
|
||||
gasLane: "0x474e34a077df58807dbe9c96d3c009b23b3c6d0cce433e59bbf5b34f823bc56c", // Not using
|
||||
keepersUpdateInterval: "30",
|
||||
raffleEntranceFee: ethers.utils.parseEther("0.01"), // 0.01 ETH
|
||||
callbackGasLimit: "500000", // 500,000 gas
|
||||
// vrfCoordinatorV2 generated from Mock when deploy it,
|
||||
},
|
||||
11155111: {
|
||||
name: "sepolia",
|
||||
@@ -22,13 +27,9 @@ const networkConfig = {
|
||||
callbackGasLimit: "500000", // 500,000 gas
|
||||
vrfCoordinatorV2: "0x8103B0A8A00be2DDC778e6e7eaa21791Cd364625",
|
||||
},
|
||||
1: {
|
||||
name: "mainnet",
|
||||
keepersUpdateInterval: "30",
|
||||
},
|
||||
};
|
||||
|
||||
const developmentChains = ["hardhat", "localhost"];
|
||||
const developmentChains = ["hardhat", "localhost"]; // Alternative can check via chainId
|
||||
const VERIFICATION_BLOCK_CONFIRMATIONS = 6;
|
||||
const frontEndContractsFile =
|
||||
"../nextjs-smartcontract-lottery-fcc/constants/contractAddresses.json";
|
||||
|
||||
Reference in New Issue
Block a user