fiatjaf/nos2x

multiple profile support

Closed this issue · 1 comments

multiple profiles being supported could open up some neat use cases. for now, switching could be implemented only through the extension popup and be global

in the future we could spec this so that websites can be notified on profile changes and ask for a list of authorized profiles, so on, something like this:

  • an event on globalThis named nostr.profile-switch
  • await nostr.keys.listAuthorizedProfiles()
  • sign/decrypt/etc could take in a pubkey parameter

This would be cool to have, but seems like a nightmare of complexity and I'd rather not have to maintain it for the future. It's probably much easier to make a new extension optimized for this from ground up.