Does anyone have a link to a repo or example implementation of how to derive nostr keys from a master 12 word seedphrase? Like how nostr:npub1getal6ykt05fsz5nqu4uld09nfj3y3qxmv8crys4aeut53unfvlqr80nfm does it?

#asknostr

Reply to this note

Please Login to reply.

Discussion

Alby is open source. I looked and couldnt find where they take in a mnenomic in the code, but the underlying nostr public key encryption is handled with https://github.com/paulmillr/noble-secp256k1

Yea I looked too and couldn’t find it but in their app settings you can now create a master key for use with base layer bitcoin that can also create nostr keys. I researched how to do it on my own but didn’t get far, maybe we have to look harder 🤷‍♂️:

https://guides.getalby.com/alby-guides/alby-browser-extension/features/master-key