This commit is contained in:
Kevin van der Poll
2018-10-11 15:10:24 -04:00
parent 37f237239a
commit 455886617d
3 changed files with 25 additions and 0 deletions

View File

@@ -1375,3 +1375,14 @@ bitcoinjs.bitcoin.networks.artax = {
scriptHash: 0x1CBD,
wif: 0x97,
};
bitcoinjs.bitcoin.networks.anon = {
messagePrefix: '\x18ANON Signed Message:\n',
bip32: {
public: 0x0488b21e,
private: 0x0488ade4
},
pubKeyHash: 0x0582,
scriptHash: 0x5389,
wif: 0x80
};

View File

@@ -1659,6 +1659,13 @@
network = bitcoinjs.bitcoin.networks.axe;
setHdCoin(4242);
},
},
{
name: "ANON - ANON",
onSelect: function() {
network = bitcoinjs.bitcoin.networks.anon;
setHdCoin(220);
},
},
{
name: "BCA - Bitcoin Atom",

View File

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