Merge pull request #324 from jestevez/master

Add Bolivarcoin (BOLI)
This commit is contained in:
iancoleman
2019-04-30 11:08:13 +10:00
committed by GitHub
3 changed files with 24 additions and 0 deletions

View File

@@ -260,6 +260,16 @@ bitcoinjs.bitcoin.networks.myriadcoin = {
wif: 0xb2
};
bitcoinjs.bitcoin.networks.bolivarcoin = {
messagePrefix: 'Bolivarcoin Signed Message:\n',
bip32: {
public: 0x0488b21e,
private: 0x0488ade4
},
pubKeyHash: 0x55,
scriptHash: 0x05,
wif: 0xD5
};
bitcoinjs.bitcoin.networks.onixcoin = {
messagePrefix: 'ONIX Signed Message:\n',

View File

@@ -1692,6 +1692,13 @@
setHdCoin(220);
},
},
{
name: "BOLI - Bolivarcoin",
onSelect: function() {
network = bitcoinjs.bitcoin.networks.bolivarcoin;
setHdCoin(278);
},
},
{
name: "BCA - Bitcoin Atom",
onSelect: function() {

View File

@@ -535,6 +535,13 @@ it('Allows selection of lkrcoin', function(done) {
};
testNetwork(done, params);
});
it('Allows selection of bolivarcoin', function(done) {
var params = {
selectText: "BOLI - Bolivarcoin",
firstAddress: "bc378wfZiuPpnXuUnhhwpXnLHqiGDQspju",
};
testNetwork(done, params);
});
it('Allows selection of peercoin', function(done) {
var params = {
selectText: "PPC - Peercoin",