mirror of
https://github.com/OneKeyHQ/bip39.git
synced 2026-04-18 16:32:18 +00:00
[ADD] KMD - Komodo
This commit is contained in:
@@ -294,3 +294,14 @@ bitcoinjs.bitcoin.networks.litecoinXprv = {
|
|||||||
scriptHash: 0x32,
|
scriptHash: 0x32,
|
||||||
wif: 0xb0
|
wif: 0xb0
|
||||||
};
|
};
|
||||||
|
|
||||||
|
bitcoinjs.bitcoin.networks.komodo = {
|
||||||
|
messagePrefix: '\x18Komodo Signed Message:\n',
|
||||||
|
bip32: {
|
||||||
|
public: 0x0488B21E,
|
||||||
|
private: 0x0488ADE4
|
||||||
|
},
|
||||||
|
pubKeyHash: 0x3c,
|
||||||
|
scriptHash: 0x55,
|
||||||
|
wif: 0xbc
|
||||||
|
};
|
||||||
|
|||||||
@@ -1480,6 +1480,14 @@
|
|||||||
setHdCoin(26);
|
setHdCoin(26);
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
name: "KMD - Komodo",
|
||||||
|
bip49available: false,
|
||||||
|
onSelect: function() {
|
||||||
|
network = bitcoinjs.bitcoin.networks.komodo;
|
||||||
|
setHdCoin(141);
|
||||||
|
},
|
||||||
|
},
|
||||||
{
|
{
|
||||||
name: "LTC - Litecoin",
|
name: "LTC - Litecoin",
|
||||||
segwitAvailable: true,
|
segwitAvailable: true,
|
||||||
|
|||||||
@@ -492,6 +492,13 @@ it('Allows selection of game', function(done) {
|
|||||||
};
|
};
|
||||||
testNetwork(done, params);
|
testNetwork(done, params);
|
||||||
});
|
});
|
||||||
|
it('Allows selection of game', function(done) {
|
||||||
|
var params = {
|
||||||
|
selectText: "KMD - Komodo",
|
||||||
|
firstAddress: "RJL777dmaB3PYqHEJGMJKWWkLPdu1ypGi4",
|
||||||
|
};
|
||||||
|
testNetwork(done, params);
|
||||||
|
});
|
||||||
it('Allows selection of namecoin', function(done) {
|
it('Allows selection of namecoin', function(done) {
|
||||||
var params = {
|
var params = {
|
||||||
selectText: "NMC - Namecoin",
|
selectText: "NMC - Namecoin",
|
||||||
|
|||||||
Reference in New Issue
Block a user