satoshipay / solar

🌞 Stellar wallet. Secure and user-friendly.
https://solarwallet.io
MIT License
191 stars 59 forks source link

Mnemonic keyphrases #1137

Open andywer opened 3 years ago

andywer commented 3 years ago

Support importing and exporting mnemonic keyphrases instead of secret keys. Secret key import/export should still be possible, but mnemonic phrases should become the default.

Show a small text button "Use secret key" below the textfield or add a key icon button to the end of the textfield if there is not enough space. We should also show a short explanatory text telling the user what those twelve words in front of them are and what to do with them.

See SEP-5 / BIP-39 for technical details about mnemonic keyphrases.

ebma commented 3 years ago

How it's done in similar apps: LOBSTR vault:

LOBSTR wallet:

StellarX:

LOBSTR vault and wallet use the first key pair derived from the mnemonic phrase.

ebma commented 3 years ago

Thoughts from our (private) discussion:

ebma commented 3 years ago

Although the details of the export remain unclear for now, we should still add the import feature to increase convenience for our users.