From cfc0c4d743b1b768888cdd7c1cf25e6c23243a94 Mon Sep 17 00:00:00 2001 From: -k Date: Sat, 6 Jan 2018 23:57:11 -0500 Subject: AXE support --- src/js/bitcoinjs-extensions.js | 11 +++++++++++ src/js/index.js | 8 ++++++++ 2 files changed, 19 insertions(+) (limited to 'src/js') diff --git a/src/js/bitcoinjs-extensions.js b/src/js/bitcoinjs-extensions.js index d788b02..c5dce23 100644 --- a/src/js/bitcoinjs-extensions.js +++ b/src/js/bitcoinjs-extensions.js @@ -108,6 +108,17 @@ bitcoinjs.bitcoin.networks.peercoin = { wif: 0xb7 }; +bitcoinjs.bitcoin.networks.axe = { + messagePrefix: 'unused', + bip32: { + public: 0x0488b21e, + private: 0x0488ade4 + }, + pubKeyHash: 0x4B, + scriptHash: 0xCB, // TODO set this correctly + wif: 0x37 +}; + bitcoinjs.bitcoin.networks.slimcoin = { messagePrefix: 'unused', bip32: { diff --git a/src/js/index.js b/src/js/index.js index 01543f9..ec73628 100644 --- a/src/js/index.js +++ b/src/js/index.js @@ -1452,6 +1452,14 @@ } var networks = [ + { + name: "AXE - Axe", + segwitAvailable: false, + onSelect: function() { + network = bitcoinjs.bitcoin.networks.axe; + setHdCoin(0); + }, + }, { name: "BCH - Bitcoin Cash", segwitAvailable: false, -- cgit v1.2.3