diff options
author | Pawel Cioch <pawel@greenhex.net> | 2018-07-23 08:18:47 -0500 |
---|---|---|
committer | Pawel Cioch <pawel@greenhex.net> | 2018-07-23 08:18:47 -0500 |
commit | 60727c51752cf2cb7af2ae3d64458843270e3ad6 (patch) | |
tree | 4e0bda7e54f3e5a16ada91bda07273edbcc1b23e | |
parent | 0d9c6c5458e89e9fa8317c361f3ae10e0e0a3436 (diff) | |
download | BIP39-60727c51752cf2cb7af2ae3d64458843270e3ad6.tar.gz BIP39-60727c51752cf2cb7af2ae3d64458843270e3ad6.tar.zst BIP39-60727c51752cf2cb7af2ae3d64458843270e3ad6.zip |
Hush coin
-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 8db0f8b..d5c3ff9 100644 --- a/src/js/bitcoinjs-extensions.js +++ b/src/js/bitcoinjs-extensions.js | |||
@@ -1233,6 +1233,17 @@ bitcoinjs.bitcoin.networks.bitcoinz = { | |||
1233 | wif: 0x80, | 1233 | wif: 0x80, |
1234 | }; | 1234 | }; |
1235 | 1235 | ||
1236 | bitcoinjs.bitcoin.networks.hush = { | ||
1237 | messagePrefix: '\x18Hush Signed Message:\n', | ||
1238 | bip32: { | ||
1239 | public: 0x0488B21E, | ||
1240 | private: 0x0488ADE4, | ||
1241 | }, | ||
1242 | pubKeyHash: 0x1CB8, | ||
1243 | scriptHash: 0x1CBD, | ||
1244 | wif: 0x80, | ||
1245 | }; | ||
1246 | |||
1236 | bitcoinjs.bitcoin.networks.zclassic = { | 1247 | bitcoinjs.bitcoin.networks.zclassic = { |
1237 | messagePrefix: '\x18Zcash Signed Message:\n', | 1248 | messagePrefix: '\x18Zcash Signed Message:\n', |
1238 | bip32: { | 1249 | bip32: { |
diff --git a/src/js/index.js b/src/js/index.js index 1b56d6c..cf3d5aa 100644 --- a/src/js/index.js +++ b/src/js/index.js | |||
@@ -1968,6 +1968,13 @@ | |||
1968 | setHdCoin(168); | 1968 | setHdCoin(168); |
1969 | }, | 1969 | }, |
1970 | }, | 1970 | }, |
1971 | { | ||
1972 | name: "HUSH - Hush", | ||
1973 | onSelect: function() { | ||
1974 | network = bitcoinjs.bitcoin.networks.hush; | ||
1975 | setHdCoin(197); | ||
1976 | }, | ||
1977 | }, | ||
1971 | { | 1978 | { |
1972 | name: "INSN - Insane", | 1979 | name: "INSN - Insane", |
1973 | onSelect: function() { | 1980 | onSelect: function() { |