Creates an instance of NostrSigner.
The client instance.
The name of the signer.
The icon URL of the signer.
Optional
_appUri: stringThe application URI.
The connections repository.
Connects to the provider by requesting authentication.
A promise that resolves when the connection is established.
Disconnects to the signer.
A promise that resolves when the signer is disconnected.
Checks if the signer is connected.
A promise that resolves to true if connected, false otherwise.
Gets the Nostr public key associated with the signer.
A promise that resolves to a string representing the Nostr public key.
Sign a nostr event.
A promise that resolves to the signed event.
Class representing a Nostr signer that extends SignerNostr