Merge pull request #123 from alkley/master

Add nubits
This commit is contained in:
iancoleman
2017-10-10 11:48:33 +11:00
committed by GitHub
2 changed files with 19 additions and 0 deletions
+11
View File
@@ -239,3 +239,14 @@ bitcoinjs.bitcoin.networks.fujicoin = {
scriptHash: 0x10, scriptHash: 0x10,
wif: 0xa4 wif: 0xa4
}; };
bitcoinjs.bitcoin.networks.nubits = {
messagePrefix: '\x18Nu Signed Message:\n',
bip32: {
public: 0x0488b21e,
private: 0x0488ade4
},
pubKeyHash: 0x19,
scriptHash: 0x1a,
wif: 0x96,
};
+8
View File
@@ -1386,6 +1386,14 @@
setHdCoin(111); setHdCoin(111);
}, },
}, },
{
name: "USNBT - NuBits",
p2wpkhNestedInP2shAvailable: false,
onSelect: function() {
network = bitcoinjs.bitcoin.networks.nubits;
setHdCoin(12);
},
},
{ {
name: "VIA - Viacoin", name: "VIA - Viacoin",
p2wpkhNestedInP2shAvailable: false, p2wpkhNestedInP2shAvailable: false,