From a07cb4633c2352ded9ebd5ff72c4213be72f01e8 Mon Sep 17 00:00:00 2001 From: carsenk Date: Fri, 12 Apr 2019 13:41:05 -0600 Subject: [PATCH 1/3] Add Denarius (D) support --- app/marketmaker/supported-currencies.js | 23 +++++++++++++++++++++++ app/renderer/block-explorer.js | 1 + 2 files changed, 24 insertions(+) diff --git a/app/marketmaker/supported-currencies.js b/app/marketmaker/supported-currencies.js index 7d06ead785..d9d6b363b9 100644 --- a/app/marketmaker/supported-currencies.js +++ b/app/marketmaker/supported-currencies.js @@ -546,6 +546,29 @@ const supportedCurrencies = [ etomic: '0x89d24A6b4CcB1B6fAA2625fE562bDD9a23260359', rpcport: 80, }, + { + coin: 'D', + name: 'Denarius', + rpcport: 32369, + pubtype: 30, + p2shtype: 90, + wiftype: 158, + txfee: 10000, + electrumServers: [ + { + host: 'electrumx1.denarius.pro', + port: 50001, + }, + { + host: 'electrumx2.denarius.pro', + port: 50001, + }, + { + host: '51.158.98.28', + port: 50001, + }, + ], + }, { coin: 'DASH', rpcport: 9998, diff --git a/app/renderer/block-explorer.js b/app/renderer/block-explorer.js index a9623b41a3..7f7da6ddc0 100644 --- a/app/renderer/block-explorer.js +++ b/app/renderer/block-explorer.js @@ -44,6 +44,7 @@ const explorers = new Map(Object.entries({ CREA: 'https://chainz.cryptoid.info/crea/tx.dws?{txid}', CRW: 'https://chainz.cryptoid.info/crw/tx.dws?{txid}', CRYPTO: 'https://crypto.kmdexplorer.io/tx/{txid}', + D: 'https://chainz.cryptoid.info/d/tx.dws?{txid}', DASH: 'https://chainz.cryptoid.info/dash/tx.dws?{txid}', DEX: 'https://dex.kmdexplorer.io/tx/{txid}', DGB: 'https://digiexplorer.info/tx/{txid}', From 6c32488a0e29106ac6ec8f5ab15108ee1abb7101 Mon Sep 17 00:00:00 2001 From: carsenk Date: Fri, 12 Apr 2019 14:14:40 -0600 Subject: [PATCH 2/3] Formatting Fix --- app/marketmaker/supported-currencies.js | 40 ++++++++++++------------- 1 file changed, 20 insertions(+), 20 deletions(-) diff --git a/app/marketmaker/supported-currencies.js b/app/marketmaker/supported-currencies.js index d9d6b363b9..e746bb96a4 100644 --- a/app/marketmaker/supported-currencies.js +++ b/app/marketmaker/supported-currencies.js @@ -547,27 +547,27 @@ const supportedCurrencies = [ rpcport: 80, }, { - coin: 'D', + coin: 'D', name: 'Denarius', - rpcport: 32369, - pubtype: 30, - p2shtype: 90, - wiftype: 158, - txfee: 10000, - electrumServers: [ - { - host: 'electrumx1.denarius.pro', - port: 50001, - }, - { - host: 'electrumx2.denarius.pro', - port: 50001, - }, - { - host: '51.158.98.28', - port: 50001, - }, - ], + rpcport: 32369, + pubtype: 30, + p2shtype: 90, + wiftype: 158, + txfee: 10000, + electrumServers: [ + { + host: 'electrumx1.denarius.pro', + port: 50001, + }, + { + host: 'electrumx2.denarius.pro', + port: 50001, + }, + { + host: '51.158.98.28', + port: 50001, + }, + ], }, { coin: 'DASH', From 9e15ebd418a66f2af37ca2c1767e0c80f4e0d81e Mon Sep 17 00:00:00 2001 From: carsenk Date: Tue, 16 Apr 2019 16:42:43 -0600 Subject: [PATCH 3/3] Update D electrum domains --- app/marketmaker/supported-currencies.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/app/marketmaker/supported-currencies.js b/app/marketmaker/supported-currencies.js index e746bb96a4..9fb1e69744 100644 --- a/app/marketmaker/supported-currencies.js +++ b/app/marketmaker/supported-currencies.js @@ -564,7 +564,11 @@ const supportedCurrencies = [ port: 50001, }, { - host: '51.158.98.28', + host: 'electrum.denariuspool.info', + port: 50001, + }, + { + host: 'electrum.denarius.vip', port: 50001, }, ],