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.
Overload this method to apply tokens, which can wrap permission sets to be applied to a pubkey.
public key to apply token to
token to apply
This 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 method starts the backend, which will start listening for incoming requests.
Generated using TypeDoc