Marmot-TS
    Preparing search index...

    Type Alias KeyPackageManagerOptions

    Options for creating a new KeyPackageManager

    type KeyPackageManagerOptions = {
        accountProofSigner?: AccountIdentityProofSigner;
        clientId?: string;
        cryptoProvider?: CryptoProvider;
        network: NostrNetworkInterface;
        signer: EventSigner;
        store: GenericKeyValueStore<StoredKeyPackage>;
    }
    Index

    Client - Key Package Manager

    accountProofSigner?: AccountIdentityProofSigner

    Optional Nostr-account proof signer. When provided, generated key packages carry a marmot.account-identity-proof.v1 LeafNode extension binding the account to the leaf signature key (required for darkmatter wire interop). Supply this from a signer with raw BIP-340 access (e.g. a PrivateKeyAccount secret key via signAccountIdentityProof); the applesauce EventSigner alone cannot sign the proof digest.

    clientId?: string

    Default d tag value for KeyPackageManager.create and KeyPackageManager.rotate. Falls back to this when no explicit d is passed.

    cryptoProvider?: CryptoProvider

    The crypto provider to use for cryptographic operations

    The nostr relay pool to use for the client. Should implement GroupNostrInterface for group operations.

    signer: EventSigner

    The signer used for the clients identity

    The backend to store and load the key packages from