-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathhelper-hardhat-config.js
More file actions
32 lines (30 loc) · 1.14 KB
/
helper-hardhat-config.js
File metadata and controls
32 lines (30 loc) · 1.14 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
const networkConfig = {
31337: {
name: "localhost",
ethUsdPriceFeed: "0x9326BFA02ADD2366b30bacB125260Af641031331",
gasLane: "0xd89b2bf150e3b9e13446986e571fb9cab24b13cea0a43ea20a6049a85cc807cc", // 30 gwei
mintFee: "10000000000000000", // 0.01 ETH
callbackGasLimit: "500000", // 500,000 gas
},
// Price Feed Address, values can be obtained at https://docs.chain.link/docs/reference-contracts
// Default one is ETH/USD contract on Kovan
4: {
name: "rinkeby",
ethUsdPriceFeed: "0x8A753747A1Fa494EC906cE90E9f37563A8AF630e",
vrfCoordinatorV2: "0x6168499c0cFfCaCD319c818142124B7A15E857ab",
gasLane: "0xd89b2bf150e3b9e13446986e571fb9cab24b13cea0a43ea20a6049a85cc807cc",
callbackGasLimit: "500000", // 500,000 gas
mintFee: "10000000000000000", // 0.01 ETH
subscriptionId: "7821", // add your ID here!
keepersUpdateInterval: "30",
},
}
const DECIMALS = "18"
const INITIAL_PRICE = "200000000000000000000"
const developmentChains = ["hardhat", "localhost"]
module.exports = {
networkConfig,
developmentChains,
DECIMALS,
INITIAL_PRICE,
}