Browse Source

Merge pull request #265 from SuperNETorg/dnr

Dnr
v0.25
pbca26 7 years ago
committed by GitHub
parent
commit
8e2f38ac8e
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 11
      routes/electrumjs/electrumServers.js
  2. 13
      routes/electrumjs/electrumjs.networks.js
  3. 4
      routes/shepherd/electrum/network.js

11
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,

13
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: {

4
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;
}
};

Loading…
Cancel
Save