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