diff options
-rw-r--r-- | src/js/bitcoinjs-extensions.js | 10 | ||||
-rw-r--r-- | src/js/index.js | 7 | ||||
-rw-r--r-- | tests/spec/tests.js | 7 |
3 files changed, 24 insertions, 0 deletions
diff --git a/src/js/bitcoinjs-extensions.js b/src/js/bitcoinjs-extensions.js index e4eef0c..d0151db 100644 --- a/src/js/bitcoinjs-extensions.js +++ b/src/js/bitcoinjs-extensions.js | |||
@@ -260,6 +260,16 @@ bitcoinjs.bitcoin.networks.myriadcoin = { | |||
260 | wif: 0xb2 | 260 | wif: 0xb2 |
261 | }; | 261 | }; |
262 | 262 | ||
263 | bitcoinjs.bitcoin.networks.bolivarcoin = { | ||
264 | messagePrefix: 'Bolivarcoin Signed Message:\n', | ||
265 | bip32: { | ||
266 | public: 0x0488b21e, | ||
267 | private: 0x0488ade4 | ||
268 | }, | ||
269 | pubKeyHash: 0x55, | ||
270 | scriptHash: 0x05, | ||
271 | wif: 0xD5 | ||
272 | }; | ||
263 | 273 | ||
264 | bitcoinjs.bitcoin.networks.onixcoin = { | 274 | bitcoinjs.bitcoin.networks.onixcoin = { |
265 | messagePrefix: 'ONIX Signed Message:\n', | 275 | messagePrefix: 'ONIX Signed Message:\n', |
diff --git a/src/js/index.js b/src/js/index.js index 8dd553d..6085f1b 100644 --- a/src/js/index.js +++ b/src/js/index.js | |||
@@ -1693,6 +1693,13 @@ | |||
1693 | }, | 1693 | }, |
1694 | }, | 1694 | }, |
1695 | { | 1695 | { |
1696 | name: "BOLI - Bolivarcoin", | ||
1697 | onSelect: function() { | ||
1698 | network = bitcoinjs.bitcoin.networks.bolivarcoin; | ||
1699 | setHdCoin(278); | ||
1700 | }, | ||
1701 | }, | ||
1702 | { | ||
1696 | name: "BCA - Bitcoin Atom", | 1703 | name: "BCA - Bitcoin Atom", |
1697 | onSelect: function() { | 1704 | onSelect: function() { |
1698 | network = bitcoinjs.bitcoin.networks.atom; | 1705 | network = bitcoinjs.bitcoin.networks.atom; |
diff --git a/tests/spec/tests.js b/tests/spec/tests.js index 88c91a3..f24b4ac 100644 --- a/tests/spec/tests.js +++ b/tests/spec/tests.js | |||
@@ -535,6 +535,13 @@ it('Allows selection of lkrcoin', function(done) { | |||
535 | }; | 535 | }; |
536 | testNetwork(done, params); | 536 | testNetwork(done, params); |
537 | }); | 537 | }); |
538 | it('Allows selection of bolivarcoin', function(done) { | ||
539 | var params = { | ||
540 | selectText: "BOLI - Bolivarcoin", | ||
541 | firstAddress: "bc378wfZiuPpnXuUnhhwpXnLHqiGDQspju", | ||
542 | }; | ||
543 | testNetwork(done, params); | ||
544 | }); | ||
538 | it('Allows selection of peercoin', function(done) { | 545 | it('Allows selection of peercoin', function(done) { |
539 | var params = { | 546 | var params = { |
540 | selectText: "PPC - Peercoin", | 547 | selectText: "PPC - Peercoin", |