mirror of
https://github.com/OneKeyHQ/bip39.git
synced 2026-04-05 18:43:47 +00:00
Add Argoneum (v1.4.1 or above)
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
* Add Argoneum
|
||||
|
||||
# 0.4.2
|
||||
|
||||
* Fix ethereum private key format
|
||||
|
||||
@@ -1751,3 +1751,14 @@ libs.bitcoin.networks.regtest = {
|
||||
scriptHash: 0xc4,
|
||||
wif: 0xef,
|
||||
};
|
||||
|
||||
libs.bitcoin.networks.argoneum = {
|
||||
messagePrefix: 'unused',
|
||||
bip32: {
|
||||
public: 0x0488b21e,
|
||||
private: 0x0488ade4
|
||||
},
|
||||
pubKeyHash: 0x32,
|
||||
scriptHash: 0x61,
|
||||
wif: 0xbf
|
||||
};
|
||||
|
||||
@@ -2030,6 +2030,13 @@
|
||||
setHdCoin(161);
|
||||
},
|
||||
},
|
||||
{
|
||||
name: "AGM - Argoneum",
|
||||
onSelect: function() {
|
||||
network = libs.bitcoin.networks.argoneum;
|
||||
setHdCoin(421);
|
||||
},
|
||||
},
|
||||
{
|
||||
name: "ARYA - Aryacoin",
|
||||
onSelect: function() {
|
||||
|
||||
@@ -2216,6 +2216,16 @@ it('Allows selection of tRBTC - RSK Testnet', function(done) {
|
||||
};
|
||||
testNetwork(done, params);
|
||||
});
|
||||
it('Allows selection of Argoneum', function(done) {
|
||||
var params = {
|
||||
selectText: "AGM - Argoneum",
|
||||
phrase: "abandon abandon ability",
|
||||
firstAddress: "MWgLPvJkaJwH6hrXFs1MimAC4FwC1kYRhe",
|
||||
firstPubKey: "0348e5252045fee1d3b1e5bce25dbc16284d5b6c3bfff9c305d4ffa6078c16f3f8",
|
||||
firstPrivKey: "VJXpuMEFnK8USLyo5tgF7M4cBXU44U8MUor1KRTQ6t9DVno9AAgg",
|
||||
};
|
||||
testNetwork(done, params);
|
||||
});
|
||||
|
||||
// BIP39 seed is set from phrase
|
||||
it('Sets the bip39 seed from the prhase', function(done) {
|
||||
|
||||
Reference in New Issue
Block a user