-
Notifications
You must be signed in to change notification settings - Fork 5
/
config.js
64 lines (51 loc) · 1.39 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
/**
* Ripple Client Configuration
*
* Copy this file to config.js and edit to suit your preferences.
*/
var Options = {
server: {
trace : true,
trusted: true,
local_signing: true,
servers: [
{ host: 's_west.ripple.com', port: 443, secure: true },
{ host: 's_east.ripple.com', port: 443, secure: true }
],
connection_offset: 0
},
blobvault : 'https://blobvault.payward.com',
// If set, login will persist across sessions (page reload). This is mostly
// intended for developers, be careful about using this in a real setting.
persistent_auth : false,
// Number of transactions each page has in balance tab notifications
transactions_per_page: 50,
// Configure bridges
bridge: {
out: {
// "bitcoin": "localhost:3000"
// "bitcoin": "https://www.bitstamp.net/ripple/bridge/out/bitcoin/"
}
},
mixpanel: {
"token": '',
// Don't track events by default
"track": false
},
zipzap: {
"requester": "zipzap/request.php"
}
};
// Load client-side overrides
if (store.enabled) {
var settings = JSON.parse(store.get('ripple_settings') || "{}");
if (settings.server && settings.server.servers) {
Options.server.servers = settings.server.servers;
}
if (settings.blobvault) {
Options.blobvault = settings.blobvault;
}
if (settings.mixpanel) {
Options.mixpanel = settings.mixpanel;
}
}