Skip to content

Commit

Permalink
AXE support
Browse files Browse the repository at this point in the history
  • Loading branch information
charlesrocket committed Jan 7, 2018
1 parent de8e5bc commit cfc0c4d
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
11 changes: 11 additions & 0 deletions src/js/bitcoinjs-extensions.js
Original file line number Diff line number Diff line change
Expand Up @@ -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: {
Expand Down
8 changes: 8 additions & 0 deletions src/js/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit cfc0c4d

Please sign in to comment.