mirror of
https://github.com/OneKeyHQ/bip39.git
synced 2026-04-18 08:22:16 +00:00
Add support for Wagerr
This commit is contained in:
@@ -1615,3 +1615,14 @@ bitcoinjs.bitcoin.networks.deeponion = {
|
|||||||
scriptHash: 0x4E,
|
scriptHash: 0x4E,
|
||||||
wif: 0x9F,
|
wif: 0x9F,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
bitcoinjs.bitcoin.networks.wagerr = {
|
||||||
|
messagePrefix: 'unused',
|
||||||
|
bip32: {
|
||||||
|
public: 0x022d2533,
|
||||||
|
private: 0x0221312b
|
||||||
|
},
|
||||||
|
pubKeyHash: 0x49,
|
||||||
|
scriptHash: 0x3f,
|
||||||
|
wif: 0xc7
|
||||||
|
};
|
||||||
|
|||||||
@@ -2733,6 +2733,13 @@
|
|||||||
setHdCoin(28);
|
setHdCoin(28);
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
name: "WGR - Wagerr",
|
||||||
|
onSelect: function() {
|
||||||
|
network = bitcoinjs.bitcoin.networks.wagerr;
|
||||||
|
setHdCoin(7825266);
|
||||||
|
},
|
||||||
|
},
|
||||||
{
|
{
|
||||||
name: "WC - Wincoin",
|
name: "WC - Wincoin",
|
||||||
onSelect: function() {
|
onSelect: function() {
|
||||||
|
|||||||
@@ -1529,6 +1529,13 @@ it('Allows selection of Stellar', function(done) {
|
|||||||
};
|
};
|
||||||
testNetwork(done, params);
|
testNetwork(done, params);
|
||||||
});
|
});
|
||||||
|
it('Allows selection of Wagerr', function(done) {
|
||||||
|
var params = {
|
||||||
|
selectText: "WGR - Wagerr",
|
||||||
|
firstAddress: "WYiVgQU39VcQxcnacoCiaZHZZLjDCJoS95",
|
||||||
|
};
|
||||||
|
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