mirror of
https://github.com/OneKeyHQ/bip39.git
synced 2026-04-05 18:43:47 +00:00
@@ -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
|
||||
};
|
||||
@@ -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",
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user