No. The best way would be to generate the key pair for new users on the client and save the encrypted nsec in local storage. That way the user is the only one with access to their nsec. Most Nostr apps work this way, including Primal.
A major benefit of this approach is that any existing Nostr user will be able to login to the Orange Pill App.
Login to reply
Replies (2)
Interesting, we saw you’re on OPA, we’ll have one of our devs reach out to you there to flesh this out!
picocrpyted the nsec file.