Post by Uneven Mammal
The JSON RPC stuff is nasty, but it is what it is for interop reasons now. How would bunker/nostrconnect be unified? They're two completely different flows (imo nostrconnect is much nicer than pasting a bunker in most cases). Interested to see what you come up with.
I don't think they are that different. Both strings are using URI schemes and share many of the same arguments. It's just a matter of who initiates the authentication flow.
If everyone runs something like NIP-46 (including client sites) then it essentially becomes sessions + permissions managment for peers, with the connect strings as an out-of-band way to initiate the session. It can be bidirectional.
Once a session is established, the methods available can be anything. I'm planning to add bitcoin and lightning methods.
Isn't that what NWC is for? Just because it's RPC doesn't mean everything has to go through the signer interface. I'm also not sure what the use case for a bidirectional session would be. Maybe key migration? But even then, it seems like that would be better served by a method that explicitly does t
... show more