-
Notifications
You must be signed in to change notification settings - Fork 0
/
helper-hardhat-config.ts
39 lines (36 loc) · 1.12 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
import { parseEther } from "ethers";
interface NetworkConfig {
[key: number]: {
name: string;
vrfCoordinatorV2?: string;
entranceFee: bigint;
gasLane: string;
subscriptionId?: string;
callbackGasLimit: string;
interval: string;
};
}
export const networkConfig: NetworkConfig = {
11155111: {
name: "sepolia",
vrfCoordinatorV2: "0x8103B0A8A00be2DDC778e6e7eaa21791Cd364625",
entranceFee: parseEther("0.01"),
gasLane:
"0x474e34a077df58807dbe9c96d3c009b23b3c6d0cce433e59bbf5b34f823bc56c",
subscriptionId:
"85269588487918832052074615743894198111578906957693653135143052591365758095129",
callbackGasLimit: "500000",
interval: "30",
},
31337: {
name: "hardhat",
entranceFee: parseEther("0.01"),
gasLane:
"0x474e34a077df58807dbe9c96d3c009b23b3c6d0cce433e59bbf5b34f823bc56c",
callbackGasLimit: "500000",
interval: "30",
},
};
export const developmentChains = [31337];
export const DECIMALS = 8;
export const INITIAL_ANSWER = 200000000000;