Added BST - BlockStamp

This commit is contained in:
Pawel Cioch
2019-02-20 10:41:11 -06:00
parent 497fcf0e48
commit f22f7677a6
4 changed files with 52 additions and 0 deletions

View File

@@ -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,
};

View File

@@ -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",

View File

@@ -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',

View File

@@ -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) {