aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/js/bitcoinjs-extensions.js11
-rw-r--r--src/js/index.js7
-rw-r--r--src/js/segwit-parameters.js27
3 files changed, 45 insertions, 0 deletions
diff --git a/src/js/bitcoinjs-extensions.js b/src/js/bitcoinjs-extensions.js
index 4cd92c5..c2f2782 100644
--- a/src/js/bitcoinjs-extensions.js
+++ b/src/js/bitcoinjs-extensions.js
@@ -1485,4 +1485,15 @@ bitcoinjs.bitcoin.networks.litecoinz = {
1485 pubKeyHash: 0x0AB3, 1485 pubKeyHash: 0x0AB3,
1486 scriptHash: 0x0AB8, 1486 scriptHash: 0x0AB8,
1487 wif: 0x80, 1487 wif: 0x80,
1488};
1489
1490bitcoinjs.bitcoin.networks.blockstamp = {
1491 messagePrefix: '\x18BlockStamp Signed Message:\n',
1492 bip32: {
1493 public: 0x0488B21E,
1494 private: 0x0488ADE4,
1495 },
1496 pubKeyHash: 0x00,
1497 scriptHash: 0x05,
1498 wif: 0x80,
1488}; \ No newline at end of file 1499}; \ No newline at end of file
diff --git a/src/js/index.js b/src/js/index.js
index cbe0255..affcc61 100644
--- a/src/js/index.js
+++ b/src/js/index.js
@@ -1730,6 +1730,13 @@
1730 setHdCoin(91); 1730 setHdCoin(91);
1731 }, 1731 },
1732 }, 1732 },
1733 {
1734 name: "BST - BlockStamp",
1735 onSelect: function() {
1736 network = bitcoinjs.bitcoin.networks.blockstamp;
1737 setHdCoin(254);
1738 },
1739 },
1733 { 1740 {
1734 name: "BTA - Bata", 1741 name: "BTA - Bata",
1735 onSelect: function() { 1742 onSelect: function() {
diff --git a/src/js/segwit-parameters.js b/src/js/segwit-parameters.js
index 8a3557e..f935c5d 100644
--- a/src/js/segwit-parameters.js
+++ b/src/js/segwit-parameters.js
@@ -184,6 +184,33 @@ bitcoinjs.bitcoin.networks.digibyte.p2wpkhInP2sh = {
184 scriptHash: 0x3f, 184 scriptHash: 0x3f,
185 wif: 0x80 185 wif: 0x80
186}; 186};
187
188bitcoinjs.bitcoin.networks.blockstamp.p2wpkh = {
189 baseNetwork: "blockstamp",
190 messagePrefix: '\x18BlockStamp Signed Message:\n',
191 bech32: 'bc',
192 bip32: {
193 public: 0x0488B21E,
194 private: 0x0488ADE4,
195 },
196 pubKeyHash: 0x00,
197 scriptHash: 0x05,
198 wif: 0x80,
199};
200
201bitcoinjs.bitcoin.networks.blockstamp.p2wpkhInP2sh = {
202 baseNetwork: "blockstamp",
203 messagePrefix: '\x18BlockStamp Signed Message:\n',
204 bech32: 'bc',
205 bip32: {
206 public: 0x0488B21E,
207 private: 0x0488ADE4,
208 },
209 pubKeyHash: 0x00,
210 scriptHash: 0x05,
211 wif: 0x80,
212};
213
187 bitcoinjs.bitcoin.networks.deimos.p2wpkh = { 214 bitcoinjs.bitcoin.networks.deimos.p2wpkh = {
188 baseNetwork: "deimos", 215 baseNetwork: "deimos",
189 messagePrefix: '\x18Deimos Signed Message:\n', 216 messagePrefix: '\x18Deimos Signed Message:\n',