Emurgo / yoroi-frontend

Yoroi Wallet - Cardano ADA Wallet - Your gateway to the financial world (extension frontend)
https://yoroi-wallet.com/
MIT License
338 stars 100 forks source link

[Feature Request] Yoroi Desktop Extension - Import wallet from Public Key #2240

Open amirseni opened 3 years ago

amirseni commented 3 years ago

Is there the possibility of the desktop browser extensions to only use the public key?

The Yoroi mobile allows to import the public key from the desktop extension effectively turning it into a watching wallet.

Can the option be added to Yoroi Desktop extensions or the option to selectively delete the private key or just import the public key.

This would be a feature in which to monitor the wallet from a not so secure pc.

I know that you can effectively do this if you have a hardware wallet, as transactions are authorized via the hardware key, but for various reasons not feasible to acquire one.

So i plan on using a bootable encrypted and secure (hopefully) usb linux installation for the transactions.

Is there a way in which the browser extensions uses only the public key without the private key present?

vsubhuman commented 3 years ago

Thank you, @amirseni! This is a feature we would really like to add, just might take some time to get it into the priorities, so far cannot promise anything other than "within this year" scope, but we will try to push it up in case everything goes well with the Alonzo hardfork and top-priority things like that :)

Can the option be added to Yoroi Desktop extensions or the option to selectively delete the private key or just import the public key.

I really like this point as well. I would very much like to implement different options for ending up with read-only wallet, like:

  1. Plain public-key import as baseline, agnostic to where you have managed to get it
  2. Enter secret words but then they are never stored and only the public key is being used from it
  3. Human-friendly options to import from mobile to extension as well, so mobile could give out the public-key to be copied and entered into the extension but it also could display the public key as a sequence of mnemonic words as well, that you can easy enter manually into extension without relying on copying or sending the key, plus a QR-code scanner as well, so the mobile could display the pubkey QR and a user with a webcam could scan it, same way how mobile can scan from extension now.

This will be in the planning stage for now, but once we clarify the scope and the priorities - we will gladly add this in!

amirseni commented 3 years ago

Thank you for taking the time to review this request.

Keenly expectant on its implementation.