Skip to content

Commit

Permalink
Merge pull request iancoleman#154 from AXErunners/master
Browse files Browse the repository at this point in the history
Add AXE
  • Loading branch information
iancoleman committed Jan 15, 2018
2 parents de8e5bc + 47debf0 commit 28e1cd4
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: 0xCB
};

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 28e1cd4

Please sign in to comment.