kernl API
    Preparing search index...

    Function createKernlNetwork

    • Compose the event cache, the replaceable loader that asks it first, the profile service, the relay directory, and the active account's mailboxes and file servers. A read-only or signed-out session has no signer for the mailboxes, so a save is refused with denied:read-only (D-029, D-030).

      Parameters

      • options: Pick<KernlOptions, "eventCache">

        The shell's options; eventCache opens the cache.

      • parts: KernlNetworkParts

        The store, pool, tiers and accounts they share.

      Returns KernlNetwork

      The composed parts.

      const network = createKernlNetwork(options, { eventStore, pool, tiers, accounts, destroyed$ });
      network.profiles.card$(pubkey).subscribe(render);