forked from suprnurd/ciquidus
-
Notifications
You must be signed in to change notification settings - Fork 0
/
settings.json
170 lines (143 loc) · 4.85 KB
/
settings.json
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
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
/*
This file must be valid JSON. But comments are allowed
Please edit settings.json, not settings.json.template
*/
{
// name your instance!
"title": "Kabberry Block Explorer",
"address": "78.141.221.106",
// coin name
"coin": "Kabberry",
// coin symbol
"symbol": "KKC",
// logo
"logo": "/images/chain_dark-128x128.png",
// favicon
"favicon": "public/favicon.ico",
// Uses bootswatch themes (http://bootswatch.com/)
// Valid options:
// Cerulean, Cosmo, Cyborg, Darkly, Flatly, Journal, Lumen, Paper,
// Readable, Sandstone, Simplex, Slate, Spacelab, Superhero, United, Yeti
// theme (see /public/themes for available themes)
"theme": "Cerulean",
// port to listen for requests on.
"port" : 3001,
// database settings (MongoDB)
"dbsettings": {
"user": "wpwp",
"password": "wpwp",
"database": "explorerdb",
"address": "localhost",
"port": 27017
},
//update script settings
"update_timeout": 10,
"check_timeout": 250,
// wallet settings
"wallet": {
"host": "localhost",
"port": 34126,
"user": "kabberryrpc",
"pass": "12345678"
},
// confirmations
"confirmations": 30,
// language settings
"locale": "locale/en.json",
// menu settings
"display": {
"api": true,
"markets": true,
"richlist": true,
"twitter": true,
"facebook": true,
"googleplus": false,
"bitcointalk": true,
"website": true,
"slack": false,
"github": true,
"search": true,
"movement": true,
"network": true
},
// index page (valid options for difficulty are POW, POS or Hybrid)
"index": {
"show_hashrate": true,
"difficulty": "POS",
"last_txs": 100
},
// ensure links on API page are valid
"api": {
"blockindex": 53,
"blockhash": "0000003337060b35cc838e55b1bed0c7edcc6bebe30a7b1b27f0cb1b5fe8694d",
"txhash": "e22f835ab86ddcae614df0309aa8bc7603a621167161945916dd79231d4df730",
"address": "PepMgJ4FdGq7TpmoEn5DRQdgZ3A2cRScg5"
},
// market settings
//supported markets: bittrex, poloniex, yobit, empoex, bleutrade, cryptopia, ccex, coinexchange
//default market is loaded by default and determines last price in header
"markets": {
"coin": "KKC",
"exchange": "BTC",
"enabled": ["crex"],
"cryptopia_id": "2186",
"ccex_key" : "Get-Your-Own-Key",
"coinexchange_id": "18",
"default": "crex"
},
// richlist/top100 settings
"richlist": {
"distribution": true,
"received": true,
"balance": true
},
// movement page settings
// min amount: show transactions greater than this value
// low flag: greater than this value flagged yellow
// high flag: greater than this value flagged red
"movement": {
"min_amount": 100,
"low_flag": 1000,
"high_flag": 5000
},
// twitter, facebook, googleplus, bitcointalk, github, slack, website
"twitter": "KABBERRY",
"facebook": "kabberry2",
"googleplus": "yourgooglepluspage",
"bitcointalk": "yourbitcointalktopicvalue",
"github": "KABBERRY",
"slack": "yourfullslackinviteurl",
"website": "https://kabberry.com",
//genesis
"genesis_tx": "50c1eda15daf3fb9c6f0a08ab64906d302abc01d57300cf8194c4b2a544bec12",
"genesis_block": "00000fe79c10addf7e023042d3ef98ce24d36262ae7c05c46c085c1ee14434d1",
//heavy (enable/disable additional heavy features)
"heavy": false,
//amount of txs to index per address (stores latest n txs)
"txcount": 100,
//show total sent & received on address page (set false if PoS)
"show_sent_received": false,
// how to calculate current coin supply
// COINBASE : total sent from coinbase (PoW)
// GETINFO : retreive from getinfo api call (PoS)
// HEAVY: retreive from heavys getsupply api call
// BALANCES : total of all address balances
// TXOUTSET : retreive from gettxoutsetinfo api call
"supply": "BALANCES",
// how to acquire network hashrate
// getnetworkhashps: uses getnetworkhashps api call, returns in GH/s
// netmhashps: uses getmininginfo.netmhashpsm returns in MH/s
"nethash": "getnetworkhashps",
// nethash unitd: sets nethash API return units
// valid options: "P" (PH/s), "T" (TH/s), "G" (GH/s), "M" (MH/s), "K" (KH/s)
"nethash_units": "T",
// Address labels
// example : "CGTta3M4t3yXu8uRgkKvaWd2d8DQvDPnpL": {"label": "This is a burn address", "type":"danger", "url":"http://example.com"}
// label (required) = test to display
// type (optional) = class of label, valid types: default, primary, warning, danger, success
// url (optional) = url to link to for more information
"labels": {
// "CLkWg5YSLod772uLzsFRxHgHiWVGAJSezm": {"label": "Donation Address", "type":"primary", "url":"http://example.com"},
// "CaxX1HVWzbQ516w61XbtHR63vNmp2mvLMZ": {"label": "Max Lee War Chest"}
}
}