Rework signing flow to use events

Frontend: soapbox!2649 (merged)

The main signEvent function in Ditto uses Mastodon API streaming events. This is no longer ideal, since streaming is handled is a Nosteric way, and it wants everything to be a Nostr event.

So it seemed like a good opportunity to implement NIP-46, Nostr Connect. Now when an event needs to be signed, an encrypted event is sent over the relay, which the client is expected to implement.

Edited by Alex Gleason

Merge request reports

Loading