Add nubits

This commit is contained in:
alkley
2017-10-09 15:34:39 +02:00
parent 4b1e5c340f
commit 8dd28f2cff
2 changed files with 19 additions and 0 deletions

View File

@@ -239,3 +239,14 @@ bitcoinjs.bitcoin.networks.fujicoin = {
scriptHash: 0x10,
wif: 0xa4
};
bitcoinjs.bitcoin.networks.nubits = {
messagePrefix: '\x18Nu Signed Message:\n',
bip32: {
public: 0x0488b21e,
private: 0x0488ade4
},
pubKeyHash: 0x19,
scriptHash: 0x1a,
wif: 0x96,
};

View File

@@ -1386,6 +1386,14 @@
setHdCoin(111);
},
},
{
name: "USNBT - NuBits",
p2wpkhNestedInP2shAvailable: false,
onSelect: function() {
network = bitcoinjs.bitcoin.networks.nubits;
setHdCoin(12);
},
},
{
name: "VIA - Viacoin",
p2wpkhNestedInP2shAvailable: false,