-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathconfig.js
38 lines (37 loc) · 1.2 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
"use strict";
var global = typeof window !== 'undefined' ? window : self;
global.config = {
nodeList: [
"http://node.dynexcoin.org:18333/"
],
nodeUrl: "",
mainnetExplorerUrl: "https://explorer.dynexcoin.org/",
mainnetExplorerUrlHash: "https://explorer.dynexcoin.org/show_transaction?tx={ID}",
mainnetExplorerUrlBlock: "https://explorer.dynexcoin.org/show_transaction?tx={ID}",
testnetExplorerUrl: "",
testnetExplorerUrlHash: "",
testnetExplorerUrlBlock: "",
testnet: false,
coinUnitPlaces: 9,
coinDisplayUnitPlaces: 2,
txMinConfirms: 9,
txCoinbaseMinConfirms: 10,
addressPrefix: 185,
integratedAddressPrefix: 29,
addressPrefixTestnet: 111,
integratedAddressPrefixTestnet: 112,
subAddressPrefix: 52,
subAddressPrefixTestnet: 0,
coinFee: new JSBigInt('1000000'),
dustThreshold: new JSBigInt('100000'),
defaultMixin: 0,
syncBlockCount: 1000,
coinSymbol: 'DNX',
openAliasPrefix: "dnx",
coinName: 'Dynex',
coinUriPrefix: 'Dynex:',
avgBlockTime: 120,
maxBlockNumber: 500000000,
};
var randInt = Math.floor(Math.random() * Math.floor(config.nodeList.length));
config.nodeUrl = config.nodeList[randInt];