mirror of
https://github.com/OneKeyHQ/bip39.git
synced 2026-04-05 18:43:47 +00:00
@@ -139,6 +139,17 @@ libs.bitcoin.networks.axe = {
|
|||||||
wif: 0xcc
|
wif: 0xcc
|
||||||
};
|
};
|
||||||
|
|
||||||
|
libs.bitcoin.networks.scribe = {
|
||||||
|
messagePrefix: 'unused',
|
||||||
|
bip32: {
|
||||||
|
public: 0x0488B21E,
|
||||||
|
private: 0x0488ADE4
|
||||||
|
},
|
||||||
|
pubKeyHash: 0x3c,
|
||||||
|
scriptHash: 0x7d,
|
||||||
|
wif: 0x6e
|
||||||
|
};
|
||||||
|
|
||||||
libs.bitcoin.networks.slimcoin = {
|
libs.bitcoin.networks.slimcoin = {
|
||||||
messagePrefix: 'unused',
|
messagePrefix: 'unused',
|
||||||
bip32: {
|
bip32: {
|
||||||
|
|||||||
@@ -3088,6 +3088,13 @@
|
|||||||
setHdCoin(19165);
|
setHdCoin(19165);
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
name: "SCRIBE - Scribe",
|
||||||
|
onSelect: function() {
|
||||||
|
network = libs.bitcoin.networks.scribe;
|
||||||
|
setHdCoin(545);
|
||||||
|
},
|
||||||
|
},
|
||||||
{
|
{
|
||||||
name: "SLS - Salus",
|
name: "SLS - Salus",
|
||||||
onSelect: function() {
|
onSelect: function() {
|
||||||
|
|||||||
@@ -2265,6 +2265,16 @@ it('Allows selection of CranePay', function(done) {
|
|||||||
};
|
};
|
||||||
testNetwork(done, params);
|
testNetwork(done, params);
|
||||||
});
|
});
|
||||||
|
it('Allows selection of Scribe', function(done) {
|
||||||
|
var params = {
|
||||||
|
selectText: "SCRIBE - Scribe",
|
||||||
|
phrase: "abandon abandon ability",
|
||||||
|
firstAddress: "RYAnPeBLD8veZ9Tw8xugeTC2f9PeZonLHM",
|
||||||
|
firstPubKey: "02c912bc4759c8a209475502fb5352ff5be8a8f13eb72f1732ee25125cd53edc1e",
|
||||||
|
firstPrivKey: "HLZWvNCEUv4ghygjH9A2EYCa9HNRcxe5CS42kzUTmoxJYp3z96QE",
|
||||||
|
};
|
||||||
|
testNetwork(done, params);
|
||||||
|
});
|
||||||
|
|
||||||
// BIP39 seed is set from phrase
|
// BIP39 seed is set from phrase
|
||||||
it('Sets the bip39 seed from the prhase', function(done) {
|
it('Sets the bip39 seed from the prhase', function(done) {
|
||||||
|
|||||||
Reference in New Issue
Block a user