You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
openmonero/html/js/config.js

30 lines
1.2 KiB

7 years ago
var config = {
apiUrl: "http://127.0.0.1:1984/",
mainnetExplorerUrl: "https://moneroexplorer.com/",
testnetExplorerUrl: "http://139.162.32.245:8082/",
testnet: true,
7 years ago
coinUnitPlaces: 12,
txMinConfirms: 10, // corresponds to CRYPTONOTE_DEFAULT_TX_SPENDABLE_AGE in Monero
txCoinbaseMinConfirms: 60, // corresponds to CRYPTONOTE_MINED_MONEY_UNLOCK_WINDOW in Monero
7 years ago
coinSymbol: 'XMR',
openAliasPrefix: "xmr",
coinName: 'Monero',
coinUriPrefix: 'monero:',
addressPrefix: 18,
integratedAddressPrefix: 19,
subAddressPrefix: 42,
7 years ago
addressPrefixTestnet: 53,
integratedAddressPrefixTestnet: 54,
subAddressPrefixTestnet: 63,
feePerKB: new JSBigInt('2000000000'),//20^10 - for testnet its not used, as fee is dynamic.
7 years ago
dustThreshold: new JSBigInt('1000000000'),//10^10 used for choosing outputs/change - we decompose all the way down if the receiver wants now regardless of threshold
txChargeRatio: 0.5,
defaultMixin: 4, // minimum mixin for hardfork v5
7 years ago
txChargeAddress: '',
idleTimeout: 30,
7 years ago
idleWarningDuration: 20,
maxBlockNumber: 500000000,
avgBlockTime: 120,
7 years ago
debugMode: false
};