Marmot-TS
    Preparing search index...

    Type Alias LocalKeyPackage

    A key package that has local private material.

    Created when generating or importing a key package for which the private keys are held locally. Narrow from StoredKeyPackage by checking privatePackage !== undefined.

    type LocalKeyPackage = {
        identifier?: string;
        keyPackageRef: Uint8Array;
        privatePackage: PrivateKeyPackage;
        publicPackage: KeyPackage;
        published?: NostrEvent[];
        used?: boolean;
    }
    Index

    Client - Key Package Manager

    identifier?: string

    Nostr kind-30443 addressable slot identifier (d tag value)

    keyPackageRef: Uint8Array

    The calculated key package reference

    privatePackage: PrivateKeyPackage

    The private key package — its presence is the discriminant for a local entry

    publicPackage: KeyPackage

    The public key package

    published?: NostrEvent[]

    Nostr kind-443 or kind-30443 events this key package has been published under

    used?: boolean

    Whether this key package has been consumed (e.g. used to join a group). Undefined means unused.