mirror of
https://github.com/OneKeyHQ/bip39.git
synced 2026-04-18 08:22:16 +00:00
@@ -1,3 +1,7 @@
|
|||||||
|
# 0.3.8s
|
||||||
|
|
||||||
|
* Add Stash network
|
||||||
|
|
||||||
# 0.3.8
|
# 0.3.8
|
||||||
|
|
||||||
* Add p2wpkh for litecoin
|
* Add p2wpkh for litecoin
|
||||||
|
|||||||
@@ -15,7 +15,7 @@
|
|||||||
<div class="container">
|
<div class="container">
|
||||||
|
|
||||||
<h1 class="text-center">Mnemonic Code Converter</h1>
|
<h1 class="text-center">Mnemonic Code Converter</h1>
|
||||||
<p class="version">v0.3.8</p>
|
<p class="version">v0.3.8s</p>
|
||||||
<hr>
|
<hr>
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-md-12">
|
<div class="col-md-12">
|
||||||
|
|||||||
@@ -1045,6 +1045,28 @@ bitcoinjs.bitcoin.networks.solarcoin = {
|
|||||||
wif: 0x92,
|
wif: 0x92,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
bitcoinjs.bitcoin.networks.stash = {
|
||||||
|
messagePrefix: '\x18Stash Signed Message:\n',
|
||||||
|
bip32: {
|
||||||
|
public: 0x0488b21e,
|
||||||
|
private: 0x0488ade4
|
||||||
|
},
|
||||||
|
pubKeyHash: 0x4c,
|
||||||
|
scriptHash: 0x10,
|
||||||
|
wif: 0xcc
|
||||||
|
};
|
||||||
|
|
||||||
|
bitcoinjs.bitcoin.networks.stashtn = {
|
||||||
|
messagePrefix: '\x18Stash Test Signed Message:\n',
|
||||||
|
bip32: {
|
||||||
|
public: 0x043587cf,
|
||||||
|
private: 0x04358394
|
||||||
|
},
|
||||||
|
pubKeyHash: 0x8c,
|
||||||
|
scriptHash: 0x13,
|
||||||
|
wif: 0xef
|
||||||
|
};
|
||||||
|
|
||||||
bitcoinjs.bitcoin.networks.stratis = {
|
bitcoinjs.bitcoin.networks.stratis = {
|
||||||
messagePrefix: '\x18Stratis Signed Message:\n',
|
messagePrefix: '\x18Stratis Signed Message:\n',
|
||||||
bip32: {
|
bip32: {
|
||||||
|
|||||||
@@ -2356,6 +2356,20 @@
|
|||||||
setHdCoin(59);
|
setHdCoin(59);
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
name: "STASH - Stash",
|
||||||
|
onSelect: function() {
|
||||||
|
network = bitcoinjs.bitcoin.networks.stash;
|
||||||
|
setHdCoin(0xC0C0);
|
||||||
|
},
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name: "STASH - Stash Testnet",
|
||||||
|
onSelect: function() {
|
||||||
|
network = bitcoinjs.bitcoin.networks.stashtn;
|
||||||
|
setHdCoin(0xCAFE);
|
||||||
|
},
|
||||||
|
},
|
||||||
{
|
{
|
||||||
name: "STRAT - Stratis",
|
name: "STRAT - Stratis",
|
||||||
onSelect: function() {
|
onSelect: function() {
|
||||||
|
|||||||
@@ -1089,6 +1089,20 @@ it('Allows selection of Solarcoin', function(done) {
|
|||||||
};
|
};
|
||||||
testNetwork(done, params);
|
testNetwork(done, params);
|
||||||
});
|
});
|
||||||
|
it('Allows selection of stash', function(done) {
|
||||||
|
var params = {
|
||||||
|
selectText: "STASH - Stash",
|
||||||
|
firstAddress: "XxwAsWB7REDKmAvHA85SbEZQQtpxeUDxS3",
|
||||||
|
};
|
||||||
|
testNetwork(done, params);
|
||||||
|
});
|
||||||
|
it('Allows selection of stash testnet', function(done) {
|
||||||
|
var params = {
|
||||||
|
selectText: "STASH - Stash Testnet",
|
||||||
|
firstAddress: "YdbhtMuGsPSkE6bPdNTHoFSszQKmK4S5LT",
|
||||||
|
};
|
||||||
|
testNetwork(done, params);
|
||||||
|
});
|
||||||
it('Allows selection of Stratis', function(done) {
|
it('Allows selection of Stratis', function(done) {
|
||||||
var params = {
|
var params = {
|
||||||
selectText: "STRAT - Stratis",
|
selectText: "STRAT - Stratis",
|
||||||
|
|||||||
Reference in New Issue
Block a user