kernl API
    Preparing search index...

    Function createPrivateMessagesProvider

    • The private provider: sealed messages that hide the sender and recipient from the network. Specified by NIP-17.

      Parameters

      • deps: ProviderDeps

        Backend constructor and availability check supplied by the shell.

      Returns MessagingProvider

      A MessagingProvider with id private.

      registry.register(createPrivateMessagesProvider({
      createBackend: () => nip17Adapter,
      available: () => ({ available: true }),
      }));