forked from monkins1010/Verusbridgekeeper
-
Notifications
You must be signed in to change notification settings - Fork 14
/
setup.js
80 lines (73 loc) · 1.92 KB
/
setup.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
73
74
75
76
77
78
79
80
const util = require('./utils.js');
exports.coin = {
VRSC: {
darwin: "/Komodo/VRSC",
linux: "/.komodo/VRSC",
win32: "/Komodo/VRSC"
},
VRSCTEST: {
darwin: "/Komodo/vrsctest",
linux: "/.komodo/vrsctest",
win32: "/Komodo/vrsctest"
},
};
exports.verusConfFile = {
VRSCTEST: "/vrsctest.conf",
VRSC: "/VRSC.conf"
};
exports.pbaas = {
"000b090bec6c9ff28586eb7ed24e77562f0c4667": {
darwin: "/pbaas/000b090bec6c9ff28586eb7ed24e77562f0c4667",
linux: "/pbaas/000b090bec6c9ff28586eb7ed24e77562f0c4667",
win32: "/pbaas/000b090bec6c9ff28586eb7ed24e77562f0c4667"
},
"52c7a71ed15802d33778235e7988d61339b84c45": {
darwin: "/pbaas/52c7a71ed15802d33778235e7988d61339b84c45",
linux: "/pbaas/52c7a71ed15802d33778235e7988d61339b84c45",
win32: "/pbaas/52c7a71ed15802d33778235e7988d61339b84c45"
},
};
exports.pbaasRoot = {
VRSCTEST: {
darwin: "/VerusTest",
linux: "/.verustest",
win32: "/VerusTest"
},
VRSC: {
darwin: "/Verus",
linux: "/.verus",
win32: "/Verus"
},
};
const rndDetails = util.randomPassAndUser();
exports.RPCDefault = {
VRSCTEST: {
rpcuser: rndDetails.user,
rpcpassword: rndDetails.password,
rpcport: 8000,
delegatorcontractaddress: "empty",
privatekey: "empty",
ethnode: "empty",
rpcallowip: "127.0.0.1"
},
VRSC: {
rpcuser: rndDetails.user,
rpcpassword: rndDetails.password,
rpcport: 8002,
delegatorcontractaddress: "empty",
privatekey: "empty",
ethnode: "wss://rinkeby.infura.io/ws/v3/........",
rpcallowip: "127.0.0.1"
}
}
exports.INIKeys = {
rpcuser: '',
rpcpassword: '',
rpcport: '',
rpchost: '',
delegatorcontractaddress: '',
privatekey: '',
ethnode: '',
rpcallowip: '',
nowitnesssubmissions: ''
};