Replying to Avatar Vitor Pamplona

nostr:nprofile1qqsyv47lazt9h6ycp2fsw270khje5egjgsrdkrupjg27u796g7f5k0spzemhxue69uhk2er9dchxummnw3ezumrpdejz7qgwwaehxw309ahx7uewd3hkctcprdmhxue69uhkummnw3ez6vfwde3x7tnpdenkzmnf9e3k75xqss4 is there a way to create a link from Amethyst with an encrypted nsec using NIP-49 that takes the user to install your extension and after installed, ask for the password to load the nsec into it?

That would be better than the random nsec you generate when installing the extension.

I don't think there is a way to pass a param to the webstore that is then passed on to the extension during the first run.

One workaround I've seen other extensions do is to set a cookie, then do a request to a server from the extension. I don't think that's a good solution for this use case as it requires a webserver and hardcoded URL in the extension.

Would it be feasible to offer a NIP-07 way to add a key to extension signers? We have some similar method available to add lightning credentials: (e.g. `nostr.addSecretKey`)

https://guides.getalby.com/developer-guide/alby-browser-extension-apis/window.alby/adding-accounts

Reply to this note

Please Login to reply.

Discussion

No replies yet.