Merge pull request #163 from janko33bd/blackcoin

Add Blackcoin please
This commit is contained in:
iancoleman
2018-03-12 09:23:17 +11:00
committed by GitHub
2 changed files with 19 additions and 0 deletions

View File

@@ -328,3 +328,14 @@ bitcoinjs.bitcoin.networks.komodo = {
scriptHash: 0x55,
wif: 0xbc
};
bitcoinjs.bitcoin.networks.blackcoin = {
messagePrefix: '\x18BlackCoin Signed Message:\n',
bip32: {
public: 0x02CFBEDE,
private: 0x02CFBF60
},
pubKeyHash: 0x19,
scriptHash: 0x55,
wif: 0x99
};

View File

@@ -1734,6 +1734,14 @@
network = bitcoinjs.bitcoin.networks.bitcoin;
setHdCoin(144);
},
},
{
name: "BLK - BlackCoin",
segwitAvailable: false,
onSelect: function() {
network = bitcoinjs.bitcoin.networks.blackcoin;
setHdCoin(10);
},
}
]