diff options
author | Cryptarchist <cryptarchist@gmail.com> | 2019-07-05 18:54:47 +0100 |
---|---|---|
committer | Cryptarchist <cryptarchist@gmail.com> | 2019-07-16 13:31:54 +0100 |
commit | 67f18e2a637a072bd4fc67f25ce59cff1bd2e3db (patch) | |
tree | 45e20656b4e7d3e78214a3f0af5c748b5b172144 /src | |
parent | 6aa2c1d26d5d6b9e7156ff2be029efb26c861251 (diff) | |
download | BIP39-67f18e2a637a072bd4fc67f25ce59cff1bd2e3db.tar.gz BIP39-67f18e2a637a072bd4fc67f25ce59cff1bd2e3db.tar.zst BIP39-67f18e2a637a072bd4fc67f25ce59cff1bd2e3db.zip |
Add support for Wagerr
Diffstat (limited to 'src')
-rw-r--r-- | src/js/bitcoinjs-extensions.js | 11 | ||||
-rw-r--r-- | src/js/index.js | 7 |
2 files changed, 18 insertions, 0 deletions
diff --git a/src/js/bitcoinjs-extensions.js b/src/js/bitcoinjs-extensions.js index 2443829..3d0c6bd 100644 --- a/src/js/bitcoinjs-extensions.js +++ b/src/js/bitcoinjs-extensions.js | |||
@@ -1615,3 +1615,14 @@ bitcoinjs.bitcoin.networks.deeponion = { | |||
1615 | scriptHash: 0x4E, | 1615 | scriptHash: 0x4E, |
1616 | wif: 0x9F, | 1616 | wif: 0x9F, |
1617 | }; | 1617 | }; |
1618 | |||
1619 | bitcoinjs.bitcoin.networks.wagerr = { | ||
1620 | messagePrefix: 'unused', | ||
1621 | bip32: { | ||
1622 | public: 0x022d2533, | ||
1623 | private: 0x0221312b | ||
1624 | }, | ||
1625 | pubKeyHash: 0x49, | ||
1626 | scriptHash: 0x3f, | ||
1627 | wif: 0xc7 | ||
1628 | }; | ||
diff --git a/src/js/index.js b/src/js/index.js index 9578146..19c9b84 100644 --- a/src/js/index.js +++ b/src/js/index.js | |||
@@ -2734,6 +2734,13 @@ | |||
2734 | }, | 2734 | }, |
2735 | }, | 2735 | }, |
2736 | { | 2736 | { |
2737 | name: "WGR - Wagerr", | ||
2738 | onSelect: function() { | ||
2739 | network = bitcoinjs.bitcoin.networks.wagerr; | ||
2740 | setHdCoin(7825266); | ||
2741 | }, | ||
2742 | }, | ||
2743 | { | ||
2737 | name: "WC - Wincoin", | 2744 | name: "WC - Wincoin", |
2738 | onSelect: function() { | 2745 | onSelect: function() { |
2739 | network = bitcoinjs.bitcoin.networks.wincoin; | 2746 | network = bitcoinjs.bitcoin.networks.wincoin; |