-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathhelper-hardhat-config.js
More file actions
34 lines (30 loc) · 1.21 KB
/
Copy pathhelper-hardhat-config.js
File metadata and controls
34 lines (30 loc) · 1.21 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
const { ethers } = require("hardhat")
require("dotenv").config()
const networkConfig = {
4: {
name: "rinkeby",
tokenSupply: "1000000000000000000000000", //1000000 * 10e18,
initTokenLiquidity: "1000000000000000000000", // 1000 * 10e18,
initEthLiquidity: "100000000000000000", //0.1 * 10e18,
},
5: {
name: "goerli",
tokenSupply: "1000000000000000000000000", //1000000 * 10e18,
initTokenLiquidity: "1000000000000000000000", // 1000 * 10e18,
initEthLiquidity: "100000000000000000", //0.1 * 10e18,
},
31337: {
name: "hardhat",
tokenSupply: ethers.utils.parseEther("1000000"), // 1000000 * 10e18,
initTokenLiquidity: ethers.utils.parseEther("1000"), //1000 * 10e18,
initEthLiquidity: ethers.utils.parseEther("1"), //1 * 10e18,
},
}
const developmentChains = ["hardhat", "localhost"]
// const INITIAL_TOKEN_SUPPLY = ethers.utils.parseEther("10000") // "10000000000000000000000" // 10000 *10**18
// const INITIAL_TOKEN_LIQUIDITY = ethers.utils.parseEther("1000")
// const INITIAL_ETH_LIQUIDITY = ethers.utils.parseEther("1") //"1000000000000000000" // 1 *10**18
module.exports = {
networkConfig,
developmentChains,
}