mirror of
https://github.com/OneKeyHQ/bip39.git
synced 2026-04-22 18:32:16 +00:00
Adding TWINS coin support
This commit is contained in:
@@ -990,7 +990,7 @@
|
||||
pubkey = eosUtil.bufferToPublic(keyPair.getPublicKeyBuffer());
|
||||
privkey = eosUtil.bufferToPrivate(keyPair.d.toBuffer(32));
|
||||
}
|
||||
|
||||
|
||||
addAddressToList(indexText, address, pubkey, privkey);
|
||||
if (isLast) {
|
||||
hidePending();
|
||||
@@ -2636,6 +2636,20 @@
|
||||
setHdCoin(159);
|
||||
},
|
||||
},
|
||||
{
|
||||
name: "TWINS - TWINS",
|
||||
onSelect: function() {
|
||||
network = bitcoinjs.bitcoin.networks.twins;
|
||||
setHdCoin(970);
|
||||
},
|
||||
},
|
||||
{
|
||||
name: "TWINS - TWINS Testnet",
|
||||
onSelect: function() {
|
||||
network = bitcoinjs.bitcoin.networks.twinstestnet;
|
||||
setHdCoin(1);
|
||||
},
|
||||
},
|
||||
{
|
||||
name: "USC - Ultimatesecurecash",
|
||||
onSelect: function() {
|
||||
|
||||
Reference in New Issue
Block a user