-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathhardhat.config.js
46 lines (43 loc) · 1.06 KB
/
hardhat.config.js
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
40
41
42
43
44
45
46
const { BigNumber } = require("ethers");
require("@nomiclabs/hardhat-waffle");
require("./tasks/flatter");
/**
* @type import('hardhat/config').HardhatUserConfig
* */
module.exports = {
solidity: {
version: "0.7.6",
settings: {
optimizer: {
enabled: true,
runs: 200,
},
},
},
networks: {
elastosmainnet: {
url: "https://api.elastos.io/esc",
accounts: [],
},
elastostestnet: {
url: "https://api-testnet.elastos.io/eth",
accounts: [],
},
},
parameters: {
deployment: {
LastTokenId: 0, // Last TokenId of Node Registry Contract
PlatformAddress: '', // Platform Address of the Node Registry Contract
PlatformFee: BigNumber.from('0'), // Platform Fee of the Node Registry Contract
},
script: {
ContractAddress: '', // Deployed proxy contract address of the Node Registry Contract
PlatformAddress: '',
PlatformFee: BigNumber.from('0'),
NodeEntry: '',
testAddress1: '',
testAddress2: '',
testAddress3: '',
},
}
};