aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/js/bitcoinjs-extensions.js23
-rw-r--r--src/js/index.js14
-rw-r--r--src/js/segwit-parameters.js26
3 files changed, 63 insertions, 0 deletions
diff --git a/src/js/bitcoinjs-extensions.js b/src/js/bitcoinjs-extensions.js
index 2443829..b37f58f 100644
--- a/src/js/bitcoinjs-extensions.js
+++ b/src/js/bitcoinjs-extensions.js
@@ -1615,3 +1615,26 @@ bitcoinjs.bitcoin.networks.deeponion = {
1615 scriptHash: 0x4E, 1615 scriptHash: 0x4E,
1616 wif: 0x9F, 1616 wif: 0x9F,
1617}; 1617};
1618
1619
1620bitcoinjs.bitcoin.networks.cpuchain = {
1621 messagePrefix: 'x18CPUchain Signed Message:\n',
1622 bip32: {
1623 public: 0x0488B21E,
1624 private: 0x0488ADE4,
1625 },
1626 pubKeyHash: 0x1C,
1627 scriptHash: 0x1E,
1628 wif: 0x80,
1629};
1630
1631bitcoinjs.bitcoin.networks.wagerr = {
1632 messagePrefix: 'unused',
1633 bip32: {
1634 public: 0x022d2533,
1635 private: 0x0221312b
1636 },
1637 pubKeyHash: 0x49,
1638 scriptHash: 0x3f,
1639 wif: 0xc7
1640};
diff --git a/src/js/index.js b/src/js/index.js
index bda124c..4fac6f1 100644
--- a/src/js/index.js
+++ b/src/js/index.js
@@ -1908,6 +1908,13 @@
1908 }, 1908 },
1909 }, 1909 },
1910 { 1910 {
1911 name: "CPU - CPUchain",
1912 onSelect: function() {
1913 network = bitcoinjs.bitcoin.networks.cpuchain;
1914 setHdCoin(363);
1915 },
1916 },
1917 {
1911 name: "CRAVE - Crave", 1918 name: "CRAVE - Crave",
1912 onSelect: function() { 1919 onSelect: function() {
1913 network = bitcoinjs.bitcoin.networks.crave; 1920 network = bitcoinjs.bitcoin.networks.crave;
@@ -2754,6 +2761,13 @@
2754 }, 2761 },
2755 }, 2762 },
2756 { 2763 {
2764 name: "WGR - Wagerr",
2765 onSelect: function() {
2766 network = bitcoinjs.bitcoin.networks.wagerr;
2767 setHdCoin(7825266);
2768 },
2769 },
2770 {
2757 name: "WC - Wincoin", 2771 name: "WC - Wincoin",
2758 onSelect: function() { 2772 onSelect: function() {
2759 network = bitcoinjs.bitcoin.networks.wincoin; 2773 network = bitcoinjs.bitcoin.networks.wincoin;
diff --git a/src/js/segwit-parameters.js b/src/js/segwit-parameters.js
index b2c72c2..aab7df0 100644
--- a/src/js/segwit-parameters.js
+++ b/src/js/segwit-parameters.js
@@ -236,4 +236,30 @@ bitcoinjs.bitcoin.networks.nix.p2wpkhInP2sh = {
236 scriptHash: 0x35, 236 scriptHash: 0x35,
237 wif: 0x80, 237 wif: 0x80,
238}; 238};
239
240bitcoinjs.bitcoin.networks.cpuchain.p2wpkh = {
241 baseNetwork: "cpuchain",
242 messagePrefix: '\x1DCPUchain Signed Message:\n',
243 bech32: 'cpu',
244 bip32: {
245 public: 0x04b24746,
246 private: 0x04b2430c
247 },
248 pubKeyHash: 0x1c,
249 scriptHash: 0x1e,
250 wif: 0x80,
251};
252
253bitcoinjs.bitcoin.networks.cpuchain.p2wpkhInP2sh = {
254 baseNetwork: "cpuchain",
255 messagePrefix: '\x1DCPUchain Signed Message:\n',
256 bech32: 'cpu',
257 bip32: {
258 public: 0x049d7cb2,
259 private: 0x049d7878
260 },
261 pubKeyHash: 0x1c,
262 scriptHash: 0x1e,
263 wif: 0x80,
264};
239})(); 265})();