diff options
author | iancoleman <1281387+iancoleman@users.noreply.github.com> | 2020-04-28 09:25:55 +1000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-28 09:25:55 +1000 |
commit | d359fe64b2f43f59714815d7ec5e1c82de50afd0 (patch) | |
tree | f3b9d09e8703940290f715a65f6d2d48e7c1c8fb /src/js | |
parent | 1bf76fe32df9c374c6262e47dacb1ff331438198 (diff) | |
parent | 46054e445ed10b12f8a373bbb8f6dbcc81db3e1d (diff) | |
download | BIP39-d359fe64b2f43f59714815d7ec5e1c82de50afd0.tar.gz BIP39-d359fe64b2f43f59714815d7ec5e1c82de50afd0.tar.zst BIP39-d359fe64b2f43f59714815d7ec5e1c82de50afd0.zip |
Merge pull request #416 from Argoneum/argoneum
Add Argoneum (v1.4.1 or above)
Diffstat (limited to 'src/js')
-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 7446bd7..e331c24 100644 --- a/src/js/bitcoinjs-extensions.js +++ b/src/js/bitcoinjs-extensions.js | |||
@@ -1762,3 +1762,14 @@ libs.bitcoin.networks.regtest = { | |||
1762 | scriptHash: 0xc4, | 1762 | scriptHash: 0xc4, |
1763 | wif: 0xef, | 1763 | wif: 0xef, |
1764 | }; | 1764 | }; |
1765 | |||
1766 | libs.bitcoin.networks.argoneum = { | ||
1767 | messagePrefix: 'unused', | ||
1768 | bip32: { | ||
1769 | public: 0x0488b21e, | ||
1770 | private: 0x0488ade4 | ||
1771 | }, | ||
1772 | pubKeyHash: 0x32, | ||
1773 | scriptHash: 0x61, | ||
1774 | wif: 0xbf | ||
1775 | }; | ||
diff --git a/src/js/index.js b/src/js/index.js index 841a27f..0471e86 100644 --- a/src/js/index.js +++ b/src/js/index.js | |||
@@ -2031,6 +2031,13 @@ | |||
2031 | }, | 2031 | }, |
2032 | }, | 2032 | }, |
2033 | { | 2033 | { |
2034 | name: "AGM - Argoneum", | ||
2035 | onSelect: function() { | ||
2036 | network = libs.bitcoin.networks.argoneum; | ||
2037 | setHdCoin(421); | ||
2038 | }, | ||
2039 | }, | ||
2040 | { | ||
2034 | name: "ARYA - Aryacoin", | 2041 | name: "ARYA - Aryacoin", |
2035 | onSelect: function() { | 2042 | onSelect: function() { |
2036 | network = libs.bitcoin.networks.aryacoin; | 2043 | network = libs.bitcoin.networks.aryacoin; |