-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathsettings.json.template
More file actions
160 lines (122 loc) · 4.22 KB
/
settings.json.template
File metadata and controls
160 lines (122 loc) · 4.22 KB
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
//
// This file must be valid JSON. But comments are allowed
//
// Please copy this file to settings.json to make your changes.
// Do not modify settings.json.template!
//
{
// NOTE: rpcuser/pass/host/port is pulled from the coin's config file.
// Version
//"version": "x.x.x",
// Runtime environment: 'development' or 'production'
"env": "development",
// The url hosting the app. e.g. example.com (!!! Must match browser URI to satisfy CORS !!!)
"appHost": "localhost",
// The app title, visible in browser window
"appTitle": "Generic-ICO",
// The app slogan
"appSlogan": "A Generic-ICO Website!",
// The app description
"appDescription": "A short description of the Generic-ICO goes here.",
// The copyright for the footer (uncomment to override default)
//"copyRight": "Copyright (c) 2016-2017, The Generic-ICO developers. All rights reserved.",
// Logo
"logo": "/images/Logo.png",
// Icon
"icon": "/images/Icon.png",
// favicon
"favicon": "./public/ico/favicon.ico",
// ICO start / stop / round durations
// Update countdown.js with these timestamps, too.
"icoStart": "Oct 23, 2017 10:00:00",
"icoStop": "Nov 20, 2017 10:00:00",
"icoRoundDurations": [6,24,48,48,48,48,48,48,48,48,48,48], // hours for each round
// BTC public send to addresses (one per round)
"icoBtcAddresses": ["",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
""],
// Ethereum public contract addresses
"icoEthAddress": "",
// Coin name / page heading
"coinName": "GenericToken",
// Coin symbol
"coinSymbol": "GEN",
// Coin addresses start with this character
"coinChar": "G",
// How many decimale places to display for coin fractions
"decimalPlaces": 18,
// Coin has transaction txcomment feature
"txComment": false,
// chRoot allows you to put the app in a "subfolder" of an existing website,
// then use mod_proxy (or equivolent) to proxy requests for /ico to the node.
// e.g. ProxyPass /ico/ https://192.168.1.246:8383/ico/ KeepAlive=On
// ProxyPassReverse /ico/ https://192.168.1.246:8383/ico/
// If your website is Wordpress, you will need to change the .htaccess rule to:
// # ORIGINAL RewriteRule . /index.php [L]
// RewriteRule ./ /index.php [L]
// Set to "" to allow the sub-folder 'ico' to be exposed for proxying.
// Set to "/ico" to chroot the node to /public/ico/ (Normal for stand-alone Generic-ICO).
"chRoot": "/ico",
// Show stats in navigation
"showStats": true,
// History rows per page
"historyRowsPP": 10,
// Minimum transaction fee
"minTxFee": 0.0001,
// Amount to send new users at sign-up
"newUserAmount": 1.0,
// Some control over how much can be sent at one time
"maxSendAmount": 1000.0,
// Run nodejs as ssl server or not
"ssl": false,
// Unsecure port to listen on
"port": 8181,
// Secure port to listen on
"sslPort": 8383,
// SSL certs key
"sslKey": "./sslcert/server.key",
// SSL certs crt
"sslCrt": "./sslcert/server.crt",
// This setting is passed to MongoDB. See README.md for setting up the database.
"mdb": {
"user": "admin",
"password": "password",
"database": "database",
"host": "localhost",
"port": 27017
},
// This setting is used to make RPC calls to the wallet daemon.
"wallet": {
"rpcuser": "rpcuser",
"rpcpassword": "rpcpass",
"rpchost": "127.0.0.1",
"rpcport": 8545,
"ssl": false,
"rejectUnauthorized": false,
"strictSSL": false
},
// Email address to send through mail service.
"appEmail": "info@example.com",
// Master UI login account, and Label to assign to "" wallet accounts.
"masterAccount": "MASTER_ACCOUNT",
// Master email account.
"masterEmail": "webmaster@example.com",
// Master email/account password.
"masterPassword": "SecretPassword",
// Master can encrypt the wallet
"masterCanEncrypt": true,
// Secret used for keyring and cookies
"supersecret": "super secret pass phrase",
// Google reCaptcha private/public keys
"reCaptchaSecret": "",
"reCaptchaKey": ""
}