mirror of
https://github.com/OneKeyHQ/bip39.git
synced 2026-04-21 18:02:17 +00:00
libs: add handshake support
This commit is contained in:
@@ -1140,6 +1140,11 @@
|
||||
}
|
||||
}
|
||||
|
||||
// Handshake values are different
|
||||
if (networks[DOM.network.val()].name == "HNS - Handshake") {
|
||||
var ring = libs.handshake.KeyRing.fromPublic(keyPair.getPublicKeyBuffer())
|
||||
address = ring.getAddress().toString();
|
||||
}
|
||||
// Stellar is different
|
||||
if (networks[DOM.network.val()].name == "XLM - Stellar") {
|
||||
var purpose = parseIntNoNaN(DOM.bip44purpose.val(), 44);
|
||||
@@ -2570,6 +2575,12 @@
|
||||
setHdCoin(1);
|
||||
},
|
||||
},
|
||||
{
|
||||
name: "HNS - Handshake",
|
||||
onSelect: function() {
|
||||
setHdCoin(5353);
|
||||
},
|
||||
},
|
||||
{
|
||||
name: "HNC - Helleniccoin",
|
||||
onSelect: function() {
|
||||
|
||||
Reference in New Issue
Block a user