mirror of
https://github.com/OneKeyHQ/bip39.git
synced 2026-04-05 18:43:47 +00:00
Added BST - BlockStamp
This commit is contained in:
@@ -1485,4 +1485,15 @@ bitcoinjs.bitcoin.networks.litecoinz = {
|
||||
pubKeyHash: 0x0AB3,
|
||||
scriptHash: 0x0AB8,
|
||||
wif: 0x80,
|
||||
};
|
||||
|
||||
bitcoinjs.bitcoin.networks.blockstamp = {
|
||||
messagePrefix: '\x18BlockStamp Signed Message:\n',
|
||||
bip32: {
|
||||
public: 0x0488B21E,
|
||||
private: 0x0488ADE4,
|
||||
},
|
||||
pubKeyHash: 0x00,
|
||||
scriptHash: 0x05,
|
||||
wif: 0x80,
|
||||
};
|
||||
@@ -1729,6 +1729,13 @@
|
||||
network = bitcoinjs.bitcoin.networks.bitsend;
|
||||
setHdCoin(91);
|
||||
},
|
||||
},
|
||||
{
|
||||
name: "BST - BlockStamp",
|
||||
onSelect: function() {
|
||||
network = bitcoinjs.bitcoin.networks.blockstamp;
|
||||
setHdCoin(254);
|
||||
},
|
||||
},
|
||||
{
|
||||
name: "BTA - Bata",
|
||||
|
||||
@@ -184,6 +184,33 @@ bitcoinjs.bitcoin.networks.digibyte.p2wpkhInP2sh = {
|
||||
scriptHash: 0x3f,
|
||||
wif: 0x80
|
||||
};
|
||||
|
||||
bitcoinjs.bitcoin.networks.blockstamp.p2wpkh = {
|
||||
baseNetwork: "blockstamp",
|
||||
messagePrefix: '\x18BlockStamp Signed Message:\n',
|
||||
bech32: 'bc',
|
||||
bip32: {
|
||||
public: 0x0488B21E,
|
||||
private: 0x0488ADE4,
|
||||
},
|
||||
pubKeyHash: 0x00,
|
||||
scriptHash: 0x05,
|
||||
wif: 0x80,
|
||||
};
|
||||
|
||||
bitcoinjs.bitcoin.networks.blockstamp.p2wpkhInP2sh = {
|
||||
baseNetwork: "blockstamp",
|
||||
messagePrefix: '\x18BlockStamp Signed Message:\n',
|
||||
bech32: 'bc',
|
||||
bip32: {
|
||||
public: 0x0488B21E,
|
||||
private: 0x0488ADE4,
|
||||
},
|
||||
pubKeyHash: 0x00,
|
||||
scriptHash: 0x05,
|
||||
wif: 0x80,
|
||||
};
|
||||
|
||||
// bitcoinjs.bitcoin.networks.deimos.p2wpkh = {
|
||||
// baseNetwork: "deimos",
|
||||
// messagePrefix: '\x18Deimos Signed Message:\n',
|
||||
|
||||
@@ -1390,6 +1390,13 @@ it('Allows selection of LitecoinZ', function(done) {
|
||||
};
|
||||
testNetwork(done, params);
|
||||
});
|
||||
it('Allows selection of BlockStamp', function(done) {
|
||||
var params = {
|
||||
selectText: "BST - BlockStamp",
|
||||
firstAddress: "15gypKtim4cVTj137ApfryG17RkvSbPazZ",
|
||||
};
|
||||
testNetwork(done, params);
|
||||
});
|
||||
|
||||
// BIP39 seed is set from phrase
|
||||
it('Sets the bip39 seed from the prhase', function(done) {
|
||||
|
||||
Reference in New Issue
Block a user