diff options
author | iancoleman <1281387+iancoleman@users.noreply.github.com> | 2019-08-01 10:00:06 +1000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-08-01 10:00:06 +1000 |
commit | e5c4aa40984d427444ff21db93d32be85af95f28 (patch) | |
tree | c7b86bcc5fbe53cae79dcd49ad75251486fece6d /src | |
parent | c4f4208b95cf6fb85a8d669c0c8dcdb8b12bb2e7 (diff) | |
parent | 67f18e2a637a072bd4fc67f25ce59cff1bd2e3db (diff) | |
download | BIP39-e5c4aa40984d427444ff21db93d32be85af95f28.tar.gz BIP39-e5c4aa40984d427444ff21db93d32be85af95f28.tar.zst BIP39-e5c4aa40984d427444ff21db93d32be85af95f28.zip |
Merge pull request #341 from Cryptarchist/support_wagerr
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 52b0db5..544e67d 100644 --- a/src/js/index.js +++ b/src/js/index.js | |||
@@ -2742,6 +2742,13 @@ | |||
2742 | }, | 2742 | }, |
2743 | }, | 2743 | }, |
2744 | { | 2744 | { |
2745 | name: "WGR - Wagerr", | ||
2746 | onSelect: function() { | ||
2747 | network = bitcoinjs.bitcoin.networks.wagerr; | ||
2748 | setHdCoin(7825266); | ||
2749 | }, | ||
2750 | }, | ||
2751 | { | ||
2745 | name: "WC - Wincoin", | 2752 | name: "WC - Wincoin", |
2746 | onSelect: function() { | 2753 | onSelect: function() { |
2747 | network = bitcoinjs.bitcoin.networks.wincoin; | 2754 | network = bitcoinjs.bitcoin.networks.wincoin; |