Documentation
    Preparing search index...

    Interface Nip17DmAdapterOptions

    Options for createNip17DmAdapter.

    interface Nip17DmAdapterOptions {
        ownerSecretKey: Uint8Array;
        relayPool: DmRelayPool;
        relays?: string[];
        store?: DmMemoryStore;
        authorizeSend?(request: DmSendRequest): boolean | Promise<boolean>;
    }
    Index

    Properties

    ownerSecretKey: Uint8Array

    Shell-owned secret key used for NIP-17 seal creation/unwrapping.

    relayPool: DmRelayPool

    Relay pool used for publish/subscribe.

    relays?: string[]

    Default relays for NIP-17 DM traffic.

    Optional normalized message store. Defaults to an in-memory store.

    Methods