autonomys / subspace-desktop

A simple desktop farmer for the Subspace Network
Apache License 2.0
64 stars 22 forks source link

Connect Wallet details via the Browser Extension (key, phrases) #78

Open ozgunozerk opened 2 years ago

ozgunozerk commented 2 years ago

We are not storing the mnemonic for security purposes, but we can encrypt it using the user-password. This could be the default option, and not storing the mnemonic could be an advanced option.

If we decide to store the mnemonic, we should be able connect it to a wallet


Feature: Connect Wallet details via the Browser Extension

I want to be able to fetch my wallet details through my wallet browser extension.
The desktop application should navigate to open my wallet on the browser, which should
be able to sync the wallet details it needs. For security purpose, we want protect those 
details and not store it.

Example: 
  As a Desktop App User
  Given I have a wallet extension
  And I want to fetch the details
  When I click the connect button
  Then It should open up a browser
  And ask to fetch my wallet details.
ozgunozerk commented 2 years ago

Previously, we were storing the mnemonic of the farmer's signing key. But now, we are only dealing with reward address on the frontend and we do not care about farmer's signing key/s.

So, this issue is about :

P.S: We should also think about importing the reward address from a wallet via a better integration in a separate issue

rg3l3dr commented 2 years ago

Look at grammarly type experience between desktop app and web app hand off.