-
Notifications
You must be signed in to change notification settings - Fork 3
/
config.js
72 lines (56 loc) · 1.57 KB
/
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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
const configServer = {
port: process.env.PORT || 3000,
host: process.env.HOST || "127.0.0.1",
mongoConfig: {
uri: "mongodb://ether:ether@ds255347.mlab.com:55347/ether"
},
mongoOptions: {
},
web3Config: {
localUrl: "http://0.0.0.0:8000",
infuraRopstenUrl: "https://ropsten.infura.io/Jy5YYgH6Xcj9sCLegGbH",
infuraRinkebyUrl: "https://rinkeby.infura.io/Jy5YYgH6Xcj9sCLegGbH",
infureMainUrl: "https://mainnet.infura.io/Jy5YYgH6Xcj9sCLegGbH",
},
kueConfig: {
redis: {
host: "127.0.0.1",
port: "6379",
},
},
redisConfig: {
host: "127.0.0.1",
port: "6379",
},
accounts: {
transaferAccountPublicKey: '',
transferAccountPrivateKey: '',
coldAccountPublicKey: '',
},
utils: {
walletSalt: "6296661279",
etherDataDirectory: "/home/mcd-50/Personal/Important/private-chain/data",
bugSnagApiKey: "b8f93f422a233a482ac6e549e325c9f1",
etherScanApiKey: "M81XFGHSD359SKMC917D5YM467NRM6QAE6",
etherScanUrl: "http://api.etherscan.io/api?module=account&action=txlist&sort=asc&apikey=M81XFGHSD359SKMC917D5YM467NRM6QAE6",
withdrawBackoff: 20000,
depositBackoff: 20000,
balanceFactor: 1.18,
failFactor: 0.02,
gasFactor: 1.12,
chainId: 12,
depositConfirmation: 40,
depositAttempt: 3,
withdrawAttempt: 3,
sweepAttempt: 5,
notifyAttempt: 10,
transferAccountBalanceLimit: 50,
depositDiscoverInterval: '30 */2 * * * *',
depositConfirmationInterval: '* * * * *',
withdrawDiscoverInterval: '30 */3 * * * *',
apiPrefix: '/api/ether',
depositFreezed: 'deposit_freezed',
withdrawFreezed: 'withdraw_freezed'
},
};
export default configServer;