mirror of
https://github.com/OneKeyHQ/bip39.git
synced 2026-04-20 09:22:16 +00:00
Add EOSIO (EOS)
This commit is contained in:
@@ -984,6 +984,11 @@
|
||||
if ((networks[DOM.network.val()].name == "CRW - Crown")) {
|
||||
address = bitcoinjs.bitcoin.networks.crown.toNewAddress(address);
|
||||
}
|
||||
if (networks[DOM.network.val()].name == "EOS - EOSIO") {
|
||||
address = ""
|
||||
pubkey = eosUtil.bufferToPublic(keyPair.getPublicKeyBuffer());
|
||||
privkey = eosUtil.bufferToPrivate(keyPair.d.toBuffer(32));
|
||||
}
|
||||
|
||||
addAddressToList(indexText, address, pubkey, privkey);
|
||||
if (isLast) {
|
||||
@@ -2009,6 +2014,13 @@
|
||||
setHdCoin(151);
|
||||
},
|
||||
},
|
||||
{
|
||||
name: "EOS - EOSIO",
|
||||
onSelect: function() {
|
||||
network = bitcoinjs.bitcoin.networks.bitcoin;
|
||||
setHdCoin(194);
|
||||
},
|
||||
},
|
||||
{
|
||||
name: "ESN - Ethersocial Network",
|
||||
segwitAvailable: false,
|
||||
|
||||
Reference in New Issue
Block a user