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,
};
\ No newline at end of file
network = bitcoinjs.bitcoin.networks.bitsend;
setHdCoin(91);
},
+ },
+ {
+ name: "BST - BlockStamp",
+ onSelect: function() {
+ network = bitcoinjs.bitcoin.networks.blockstamp;
+ setHdCoin(254);
+ },
},
{
name: "BTA - Bata",
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',
};
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) {