mirror of
https://github.com/OneKeyHQ/bip39.git
synced 2026-04-19 00:42:17 +00:00
@@ -1375,3 +1375,14 @@ bitcoinjs.bitcoin.networks.artax = {
|
|||||||
scriptHash: 0x1CBD,
|
scriptHash: 0x1CBD,
|
||||||
wif: 0x97,
|
wif: 0x97,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
bitcoinjs.bitcoin.networks.anon = {
|
||||||
|
messagePrefix: '\x18ANON Signed Message:\n',
|
||||||
|
bip32: {
|
||||||
|
public: 0x0488b21e,
|
||||||
|
private: 0x0488ade4
|
||||||
|
},
|
||||||
|
pubKeyHash: 0x0582,
|
||||||
|
scriptHash: 0x5389,
|
||||||
|
wif: 0x80
|
||||||
|
};
|
||||||
@@ -1660,6 +1660,13 @@
|
|||||||
setHdCoin(4242);
|
setHdCoin(4242);
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
name: "ANON - ANON",
|
||||||
|
onSelect: function() {
|
||||||
|
network = bitcoinjs.bitcoin.networks.anon;
|
||||||
|
setHdCoin(220);
|
||||||
|
},
|
||||||
|
},
|
||||||
{
|
{
|
||||||
name: "BCA - Bitcoin Atom",
|
name: "BCA - Bitcoin Atom",
|
||||||
onSelect: function() {
|
onSelect: function() {
|
||||||
|
|||||||
@@ -1319,6 +1319,13 @@ it('Allows selection of Artax', function(done) {
|
|||||||
};
|
};
|
||||||
testNetwork(done, params);
|
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
|
// BIP39 seed is set from phrase
|
||||||
|
|||||||
Reference in New Issue
Block a user