Documentation
    Preparing search index...

    Function getNappletCatalogId

    All three NIP-5D napplet manifest kinds.

    • Derive the runtime catalog identity for a verified NIP-5D manifest event.

      Named and root manifests retain a stable publisher-scoped identity while a snapshot is identified by its immutable signed event id. Call this only after the event has passed signature and manifest verification.

      Parameters

      • event: Pick<NostrEvent, "id" | "kind" | "pubkey" | "tags">

        A verified NIP-5D manifest event.

      Returns string

      The opaque publisher/kind-safe catalog ID.

      getNappletCatalogId(namedManifest);
      // → 'nip5d:35129:<publisher>:<literal-d-tag>'