The NDK instance to use
The signer for the private key that wants to be published as
Callback executed when permission is requested
Optional
relayUrls: string[]The NDK instance to use
The private key of the npub that wants to be published as
Callback executed when permission is requested
Optional
relayUrls: string[]Readonly
debugOptional
localReadonly
ndkReadonly
signerThis method should be overriden by the user to allow or reject incoming connections.
Enables the user to set a custom strategy for handling incoming events.
The method to set the strategy for
The strategy to set
This class implements a NIP-46 backend, meaning that it will hold a private key of the npub that wants to be published as.
This backend is meant to be used by an NDKNip46Signer, which is the class that should run client-side, where the user wants to sign events from.