Marmot-TS
    Preparing search index...

    Type Alias KeyPackagePublisherOptions

    Options for constructing a KeyPackagePublisher.

    type KeyPackagePublisherOptions = {
        capabilities?: Capabilities;
        cryptoProvider?: CryptoProvider;
        getSignatureKeyPair?: (
            ciphersuite: CiphersuiteImpl,
        ) => Promise<SignatureKeyPair>;
        network: NostrNetworkInterface;
        signer: EventSigner;
    }
    Index
    capabilities?: Capabilities

    Capabilities to advertise in generated key packages; Marmot's required ones are always added.

    cryptoProvider?: CryptoProvider

    The crypto provider to use for cryptographic operations

    getSignatureKeyPair?: (
        ciphersuite: CiphersuiteImpl,
    ) => Promise<SignatureKeyPair>

    Load a persisted signing identity for the selected ciphersuite.

    The nostr relay pool used to publish key package and deletion events

    signer: EventSigner

    The signer used for the client's Nostr identity