diff --git a/routes/electrumjs/electrumServers.js b/routes/electrumjs/electrumServers.js index 9674e78..9270a3d 100644 --- a/routes/electrumjs/electrumServers.js +++ b/routes/electrumjs/electrumServers.js @@ -65,6 +65,17 @@ let electrumServers = { 'electrum2.cipig.net:10008' ], }, + dnr: { // !estimatefee + address: 'denarius.tech', + port: 50001, + proto: 'tcp', + txfee: 10000, + abbr: 'DNR', + serverList: [ + '173.254.244.119:50001', + '173.254.244.122:50001' + ], + }, hodl: { // !estimatefee address: 'electrum1.cipig.net', port: 10009, diff --git a/routes/electrumjs/electrumjs.networks.js b/routes/electrumjs/electrumjs.networks.js index 0686d85..54272d4 100644 --- a/routes/electrumjs/electrumjs.networks.js +++ b/routes/electrumjs/electrumjs.networks.js @@ -18,6 +18,19 @@ networks.litecoin = { dustThreshold: 0 // https://github.com/litecoin-project/litecoin/blob/v0.8.7.2/src/main.cpp#L360-L365 }; +networks.dnr = { + messagePrefix: '\x19Denarius Signed Message:\n', + bip32: { + public: 0x0488b21e, + private: 0x0488ade4, + }, + pubKeyHash: 0x1e, + scriptHash: 0x5a, + wif: 0x9e, + dustThreshold: 1000, + isPoS: true, +}; + networks.dogecoin = { messagePrefix: '\x19Dogecoin Signed Message:\n', bip32: { diff --git a/routes/shepherd/electrum/network.js b/routes/shepherd/electrum/network.js index b493c77..9e53853 100644 --- a/routes/shepherd/electrum/network.js +++ b/routes/shepherd/electrum/network.js @@ -22,7 +22,9 @@ module.exports = (shepherd) => { shepherd.isPos = (network) => { if (network === 'BLK' || - network === 'blk') { + network === 'blk' || + network === 'DNR' || + network === 'dnr') { return true; } };