kernl API
    Preparing search index...

    Function createProfiles

    • The profile service the shell shows people through.

      A card subscription asks the lookup relays for the person's profile and their relay list at once; when the relay list names servers the profile was not found on, the profile is asked for there as well, because a profile lives on its author's own servers first (NIP-65). Nothing gives up on a timer: a profile that arrives late replaces the placeholder.

      Parameters

      Returns Profiles

      Profile cards per key.

      const profiles = createProfiles({ store, load: loader, lookupRelays: () => tiers.get().discovery });
      profiles.card$(pubkey).subscribe((card) => (label.textContent = card.name));