Added HUSH3 encoding and kept old as Legacy for users to be able to cross verify

This commit is contained in:
Pawel Cioch
2019-09-10 22:11:28 -05:00
parent e440d504fb
commit 318ec4dc9f
3 changed files with 27 additions and 2 deletions

View File

@@ -1462,6 +1462,17 @@ bitcoinjs.bitcoin.networks.hush = {
wif: 0x80,
};
bitcoinjs.bitcoin.networks.hush3 = {
messagePrefix: '\x18Hush Signed Message:\n',
bip32: {
public: 0x0488B21E,
private: 0x0488ADE4,
},
pubKeyHash: 0x3C,
scriptHash: 0x55,
wif: 0xBC,
};
bitcoinjs.bitcoin.networks.zclassic = {
messagePrefix: '\x18Zcash Signed Message:\n',
bip32: {

View File

@@ -2185,11 +2185,18 @@
},
},
{
name: "HUSH - Hush",
name: "HUSH - Hush (Legacy)",
onSelect: function() {
network = bitcoinjs.bitcoin.networks.hush;
setHdCoin(197);
},
},
{
name: "HUSH - Hush3",
onSelect: function() {
network = bitcoinjs.bitcoin.networks.hush3;
setHdCoin(197);
},
},
{
name: "INSN - Insane",