vegaprotocol / vegawallet-desktop

Desktop application for Vega Protocol's wallet
MIT License
15 stars 12 forks source link

Single password experience #635

Closed ckpringle closed 1 year ago

ckpringle commented 1 year ago

Story

As a user I don't want to enter my passphrase every time I want to access or update a wallet, I want to be able to unlock it once per software instance, So that I can concentrate on trading, not password management

Acceptance Criteria

Technical details

First, we have to call admin.unlock_wallet, to unlock the wallet, and remove the passphrase prompt form every other actions that used to require the original wallet passphrase.

Note on unlocking through third-party application

A wallet can be unlocked from the wallet service, when a third-party initiates a connection. When this happens the backend sends an event to notify the FE that a wallet has been unlocked. In that situation, the FE will have to skip the passphrase prompt and set the wallet as unlocked. Ref: #288