Browse Source

spv xmy, zcl

pkg_automation_electrum
pbca26 7 years ago
parent
commit
1fc059de1c
  1. 24
      routes/electrumjs/electrumServers.js
  2. 24
      routes/electrumjs/electrumjs.networks.js
  3. 4
      routes/shepherd/electrum/network.js

24
routes/electrumjs/electrumServers.js

@ -289,7 +289,7 @@ let electrumServers = {
'94.130.224.11:10052'
],
},
blk: { // can't decode tx!
blk: { // pos
address: 'electrum1.cipig.net',
port: 10054,
proto: 'tcp',
@ -366,6 +366,28 @@ let electrumServers = {
'136.243.45.140:50013'
],
},
xmy: {
address: 'cetus.cryptap.us',
port: 50004,
proto: 'ssl',
txfee: 5000,
abbr: 'XMY',
serverList: [
'cetus.cryptap.us:50004',
'kraken.cryptap.us:50004'
],
},
zcl: {
address: 'electrum1.cipig.net',
port: 50055,
proto: 'tcp',
txfee: 1000,
abbr: 'ZCL',
serverList: [
'electrum1.cipig.net:10055',
'electrum2.cipig.net:10055'
],
},
};
electrumServers.crw = electrumServers.crown;

24
routes/electrumjs/electrumjs.networks.js

@ -265,6 +265,30 @@ networks.hush = {
dustThreshold: 1000,
};
networks.zcl = {
messagePrefix: '\Zclassic Signed Message:\n',
bip32: {
public: 0x0488b21e,
private: 0x0488ade4,
},
pubKeyHash: 0x1cb8,
scriptHash: 0x1cbd,
wif: 0x80,
dustThreshold: 1000,
};
networks.xmy = {
messagePrefix: '\Myriad Signed Message:\n',
bip32: {
public: 0x0488b21e,
private: 0x0488ade4,
},
pubKeyHash: 0x32,
scriptHash: 0x9,
wif: 0xB2,
dustThreshold: 1000,
};
networks.btc = networks.bitcoin;
networks.crw = networks.crown;
networks.dgb = networks.digibyte;

4
routes/shepherd/electrum/network.js

@ -11,7 +11,9 @@ module.exports = (shepherd) => {
network === 'zcash' ||
network === 'ZCASH' ||
network === 'HUSH' ||
network === 'hush') {
network === 'hush' ||
network === 'ZCL' ||
network === 'zcl') {
return true;
}
};

Loading…
Cancel
Save