mirror of
https://github.com/OneKeyHQ/bip39.git
synced 2026-04-23 10:50:41 +00:00
Merge pull request #339 from NewCapital/master
Adding support for TWINS and FIX coins
This commit is contained in:
+29
-1
@@ -1003,7 +1003,7 @@
|
||||
pubkey = eosUtil.bufferToPublic(keyPair.getPublicKeyBuffer());
|
||||
privkey = eosUtil.bufferToPrivate(keyPair.d.toBuffer(32));
|
||||
}
|
||||
|
||||
|
||||
addAddressToList(indexText, address, pubkey, privkey);
|
||||
if (isLast) {
|
||||
hidePending();
|
||||
@@ -2087,6 +2087,20 @@
|
||||
setHdCoin(40);
|
||||
},
|
||||
},
|
||||
{
|
||||
name: "FIX - FIX",
|
||||
onSelect: function() {
|
||||
network = bitcoinjs.bitcoin.networks.fix;
|
||||
setHdCoin(336);
|
||||
},
|
||||
},
|
||||
{
|
||||
name: "FIX - FIX Testnet",
|
||||
onSelect: function() {
|
||||
network = bitcoinjs.bitcoin.networks.fixtestnet;
|
||||
setHdCoin(1);
|
||||
},
|
||||
},
|
||||
{
|
||||
name: "FJC - Fujicoin",
|
||||
onSelect: function() {
|
||||
@@ -2649,6 +2663,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