The ratchet provider: double-ratchet sessions whose keys change with every message. Experimental; both sides need an app that speaks it. Specified by the nostr-double-ratchet draft.
ratchet
Backend constructor and availability check supplied by the shell.
A MessagingProvider with id ratchet.
MessagingProvider
registry.register(createRatchetMessagesProvider({ createBackend: () => ratchetAdapter, available: () => (runtime ? { available: true } : { available: false, reason: 'no-ratchet-runtime' }),})); Copy
registry.register(createRatchetMessagesProvider({ createBackend: () => ratchetAdapter, available: () => (runtime ? { available: true } : { available: false, reason: 'no-ratchet-runtime' }),}));
The
ratchetprovider: double-ratchet sessions whose keys change with every message. Experimental; both sides need an app that speaks it. Specified by the nostr-double-ratchet draft.