forked from TrustyFund/notifier
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.sample.js
49 lines (49 loc) · 1.58 KB
/
config.sample.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
module.exports = {
emailTransport: {
host: 'email host', port: 587, secure: false, auth: { user: 'user', pass: 'password' }
},
// For push purposes
fcmAuthPath: '',
fcmDatabaseUrl: '',
serviceUserBrainkey: 'your service user brainkey',
defaultAssets: ['BTS', 'OPEN.EOS', 'USD', 'OPEN.OMG', 'CNY',
'OPEN.LTC', 'TRFND', 'OPEN.BTC'],
deliveryMethods: ['email'],
deliveryIdentification: ['@'],
unsubscribeDevider: [' '],
// Subscription asset and amount
assetToSubscribe: '1.3.0',
amountToSubscribe: 0,
bitsharesNodes: [
'wss://bitshares.openledger.info/ws',
'wss://eu.openledger.info/ws',
'wss://bit.btsabc.org/ws',
'wss://bts.ai.la/ws',
'wss://bitshares.apasia.tech/ws',
'wss://japan.bitshares.apasia.tech/ws',
'wss://bitshares.dacplay.org/ws',
'wss://bitshares-api.wancloud.io/ws',
'wss://openledger.hk/ws',
'wss://bitshares.crypto.fans/ws',
'wss://ws.gdex.top',
'wss://dex.rnglab.org',
'wss://dexnode.net/ws',
'wss://kc-us-dex.xeldal.com/ws',
'wss://btsza.co.za:8091/ws',
'wss://api.bts.blckchnd.com',
'wss://eu.nodes.bitshares.ws',
'wss://us.nodes.bitshares.ws',
'wss://sg.nodes.bitshares.ws',
'wss://ws.winex.pro'
],
templates: {
transfer: {
subject: 'Bitshares transfer',
body: (from, to, value, symbol) => `${from} sent ${value} ${symbol} to ${to}`
},
fill_order: {
subject: 'Fill order',
body: (user, action, amount, symbol, price, baseSymbol, quoteSymbol) => `${user} ${action} ${amount} ${symbol} at ${price} ${baseSymbol}/${quoteSymbol}`
}
}
};