Damus
The: Daniel⚡️ · 1w
They’ve really leveled up. I built 4 Nostr integrations using the SDK from October to January and each one was better than the previous version, both because I’d improved my skills, but also becau...
Danny, the cyber guy profile picture
Seriously man, I love this.

Just a few things to consider

1) please do not store the mnemonic in plain text in localStorage, encrypt it and force the user to enter a password
2) handle the case when localStorage gets cleared (which happens more often than you'd think)
3) consider letting the user know of the potential issues with storing their mnemonic in their browser (can be stolen by browser extensions and other applications on your device)
1
The: Daniel⚡️ · 1w
Fair points. The concern I have with PIN codes or passwords is that it’s another m layer of friction that can cause someone to lose access to their funds, because there’s no reset button. I’ll definitely give it some thought.