From: iancoleman <1281387+iancoleman@users.noreply.github.com> Date: Wed, 9 May 2018 22:41:16 +0000 (+1000) Subject: Merge pull request #213 from charlesrocket/upd-axe X-Git-Url: https://git.immae.eu/?a=commitdiff_plain;ds=inline;h=f62138da711d22d9267892cb2a9f63862ee61b5b;hp=-c;p=perso%2FImmae%2FProjets%2FCryptomonnaies%2FBIP39.git Merge pull request #213 from charlesrocket/upd-axe update AXE network --- f62138da711d22d9267892cb2a9f63862ee61b5b diff --combined src/js/bitcoinjs-extensions.js index 079e36a,bc5ef01..9047874 --- a/src/js/bitcoinjs-extensions.js +++ b/src/js/bitcoinjs-extensions.js @@@ -114,9 -114,9 +114,9 @@@ bitcoinjs.bitcoin.networks.axe = public: 0x0488b21e, private: 0x0488ade4 }, - pubKeyHash: 0x4B, - scriptHash: 0xCB, // TODO set this correctly - wif: 0xCB + pubKeyHash: 0x37, + scriptHash: 0x10, // TODO set this correctly + wif: 0xcc }; bitcoinjs.bitcoin.networks.slimcoin = { @@@ -1199,14 -1199,3 +1199,14 @@@ bitcoinjs.bitcoin.networks.zcash = scriptHash: 0x1CBD, wif: 0x80, }; + +bitcoinjs.bitcoin.networks.xuez = { + messagePrefix: 'unused', + bip32: { + public: 0x022d2533, + private: 0x0221312b + }, + pubKeyHash: 0x4b, + scriptHash: 0x12, + wif: 0xd4 +}; diff --combined src/js/index.js index 483a694,535cac6..9d34563 --- a/src/js/index.js +++ b/src/js/index.js @@@ -1563,7 -1563,7 +1563,7 @@@ segwitAvailable: false, onSelect: function() { network = bitcoinjs.bitcoin.networks.axe; - setHdCoin(0); + setHdCoin(4242); }, }, { @@@ -2431,14 -2431,6 +2431,14 @@@ setHdCoin(133); }, }, + { + name: "XUEZ - Xuez", + segwitAvailable: false, + onSelect: function() { + network = bitcoinjs.bitcoin.networks.xuez; + setHdCoin(225); + }, + }, ] var clients = [