This commit is contained in:
Pawel Cioch
2018-09-13 23:19:00 -05:00
parent 376ea8c46d
commit 2575538b25
3 changed files with 25 additions and 0 deletions

View File

@@ -1342,3 +1342,14 @@ bitcoinjs.bitcoin.networks.exchangecoin = {
scriptHash: 0x34AF, scriptHash: 0x34AF,
wif: 0x80, wif: 0x80,
}; };
bitcoinjs.bitcoin.networks.artax = {
messagePrefix: '\x18Artax Signed Message:\n',
bip32: {
public: 0x0488B21E,
private: 0x0488ADE4,
},
pubKeyHash: 0x17,
scriptHash: 0x1CBD,
wif: 0x97,
};

View File

@@ -2488,6 +2488,13 @@
network = bitcoinjs.bitcoin.networks.wincoin; network = bitcoinjs.bitcoin.networks.wincoin;
setHdCoin(181); setHdCoin(181);
}, },
},
{
name: "XAX - Artax",
onSelect: function() {
network = bitcoinjs.bitcoin.networks.artax;
setHdCoin(219);
},
}, },
{ {
name: "XBC - Bitcoinplus", name: "XBC - Bitcoinplus",

View File

@@ -1297,6 +1297,13 @@ it('Allows selection of ExchangeCoin', function(done) {
}; };
testNetwork(done, params); testNetwork(done, params);
}); });
it('Allows selection of Artax', function(done) {
var params = {
selectText: "XAX - Artax",
firstAddress: "AYxaQPY7XLidG31V7F3yNzwxPYpYzRqG4q",
};
testNetwork(done, params);
});
// BIP39 seed is set from phrase // BIP39 seed is set from phrase