mirror of
https://github.com/OneKeyHQ/bip39.git
synced 2026-05-22 16:44:48 +00:00
Add Bolivarcoin (BOLI)
This commit is contained in:
@@ -260,6 +260,16 @@ bitcoinjs.bitcoin.networks.myriadcoin = {
|
|||||||
wif: 0xb2
|
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 = {
|
bitcoinjs.bitcoin.networks.onixcoin = {
|
||||||
messagePrefix: 'ONIX Signed Message:\n',
|
messagePrefix: 'ONIX Signed Message:\n',
|
||||||
|
|||||||
@@ -1689,6 +1689,13 @@
|
|||||||
setHdCoin(220);
|
setHdCoin(220);
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
name: "BOLI - Bolivarcoin",
|
||||||
|
onSelect: function() {
|
||||||
|
network = bitcoinjs.bitcoin.networks.bolivarcoin;
|
||||||
|
setHdCoin(278);
|
||||||
|
},
|
||||||
|
},
|
||||||
{
|
{
|
||||||
name: "BCA - Bitcoin Atom",
|
name: "BCA - Bitcoin Atom",
|
||||||
onSelect: function() {
|
onSelect: function() {
|
||||||
|
|||||||
@@ -535,6 +535,13 @@ it('Allows selection of lkrcoin', function(done) {
|
|||||||
};
|
};
|
||||||
testNetwork(done, params);
|
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) {
|
it('Allows selection of peercoin', function(done) {
|
||||||
var params = {
|
var params = {
|
||||||
selectText: "PPC - Peercoin",
|
selectText: "PPC - Peercoin",
|
||||||
|
|||||||
Reference in New Issue
Block a user