aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoriancoleman <1281387+iancoleman@users.noreply.github.com>2018-05-10 08:14:18 +1000
committerGitHub <noreply@github.com>2018-05-10 08:14:18 +1000
commit95edc769859d9cf5ca1f24c4058695b2c42d973e (patch)
treee9dc4a8b1e8c82081e325fe56b4fe5f0e8ed675c
parentccdd300af33169e3f11d2bb5faad7cb55e596fbf (diff)
parent24355c461b17837bcbe97d7e53ac4a46df6d80fd (diff)
downloadBIP39-95edc769859d9cf5ca1f24c4058695b2c42d973e.tar.gz
BIP39-95edc769859d9cf5ca1f24c4058695b2c42d973e.tar.zst
BIP39-95edc769859d9cf5ca1f24c4058695b2c42d973e.zip
Merge pull request #214 from XUEZ/add_xuez
Add xuez coin to coinlist
-rw-r--r--src/js/bitcoinjs-extensions.js11
-rw-r--r--src/js/index.js8
2 files changed, 19 insertions, 0 deletions
diff --git a/src/js/bitcoinjs-extensions.js b/src/js/bitcoinjs-extensions.js
index 8fc2d14..079e36a 100644
--- a/src/js/bitcoinjs-extensions.js
+++ b/src/js/bitcoinjs-extensions.js
@@ -1199,3 +1199,14 @@ bitcoinjs.bitcoin.networks.zcash = {
1199 scriptHash: 0x1CBD, 1199 scriptHash: 0x1CBD,
1200 wif: 0x80, 1200 wif: 0x80,
1201}; 1201};
1202
1203bitcoinjs.bitcoin.networks.xuez = {
1204 messagePrefix: 'unused',
1205 bip32: {
1206 public: 0x022d2533,
1207 private: 0x0221312b
1208 },
1209 pubKeyHash: 0x4b,
1210 scriptHash: 0x12,
1211 wif: 0xd4
1212};
diff --git a/src/js/index.js b/src/js/index.js
index 375f7f9..483a694 100644
--- a/src/js/index.js
+++ b/src/js/index.js
@@ -2431,6 +2431,14 @@
2431 setHdCoin(133); 2431 setHdCoin(133);
2432 }, 2432 },
2433 }, 2433 },
2434 {
2435 name: "XUEZ - Xuez",
2436 segwitAvailable: false,
2437 onSelect: function() {
2438 network = bitcoinjs.bitcoin.networks.xuez;
2439 setHdCoin(225);
2440 },
2441 },
2434 ] 2442 ]
2435 2443
2436 var clients = [ 2444 var clients = [