Noob question

When I input my nsec into Amethyst/Primal/Damus, do they get my npub by connecting to Nostr's cryptographic algorithm API?

#asknostr

Reply to this note

Please Login to reply.

Discussion

no npub is derived algorithmically from nsec, in the same machine and software

What software?

cryptographic libraries within a client. amethyst, primal, damus uses these components to do crypto things.

Awesome 😎👍. Thanks

There's no connecting anywhere.

The app has a library for encoding and decoding npub/nsec and signing events. Since Nostr uses same encryption curve as bitcoin, I think similar library is used

Cool, 😎

Thank you 👍

npub can be derived from nsec locally on device

Cool 👍