diff options
author | Oleg Semyonov <osnwt@github.com> | 2020-04-18 14:52:13 +0300 |
---|---|---|
committer | Oleg Semyonov <osnwt@github.com> | 2020-04-25 14:26:06 +0300 |
commit | 46054e445ed10b12f8a373bbb8f6dbcc81db3e1d (patch) | |
tree | 863d7c2dba59959ce188570146274815474c8112 /src/js | |
parent | 54600393af3293dc9e0f222b24ebd07b63824330 (diff) | |
download | BIP39-46054e445ed10b12f8a373bbb8f6dbcc81db3e1d.tar.gz BIP39-46054e445ed10b12f8a373bbb8f6dbcc81db3e1d.tar.zst BIP39-46054e445ed10b12f8a373bbb8f6dbcc81db3e1d.zip |
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 17475b1..1ef2aa4 100644 --- a/src/js/bitcoinjs-extensions.js +++ b/src/js/bitcoinjs-extensions.js | |||
@@ -1751,3 +1751,14 @@ libs.bitcoin.networks.regtest = { | |||
1751 | scriptHash: 0xc4, | 1751 | scriptHash: 0xc4, |
1752 | wif: 0xef, | 1752 | wif: 0xef, |
1753 | }; | 1753 | }; |
1754 | |||
1755 | libs.bitcoin.networks.argoneum = { | ||
1756 | messagePrefix: 'unused', | ||
1757 | bip32: { | ||
1758 | public: 0x0488b21e, | ||
1759 | private: 0x0488ade4 | ||
1760 | }, | ||
1761 | pubKeyHash: 0x32, | ||
1762 | scriptHash: 0x61, | ||
1763 | wif: 0xbf | ||
1764 | }; | ||
diff --git a/src/js/index.js b/src/js/index.js index c2d34a7..f711818 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; |