Private
Readonly
configPrivate
connectedPrivate
connectedPrivate
Readonly
DEFAULT_Private
manualPrivate
Readonly
MESSAGE_Private
Readonly
signaturePrivate
cacheCache signature
Cleanup event listeners
Clear signature cache for a specific address or all addresses
Optional
address: stringPrivate
connectSet up manual key pair for connection
Private
connectConnect to Nostr extension
Connect to a wallet type
Emits an event with arguments
Optional
data: unknownGenerate credentials using the connected wallet
Private
generateGenerate credentials from an existing signature
Private
generateGenerate a deterministic signature for consistent authentication
Generate a password from a signature
Private
getGet cached signature if valid
Get the currently connected address
Get the currently connected wallet type
Check if any Bitcoin wallet is available
Check if Nostr extension is available
Removes an event listener
Registers an event listener
Registers a one-time event listener
Removes all listeners for an event or all events
Optional
event: EventTypePrivate
requestRequest a signature from the connected wallet
Private
requestRequest signature with timeout
Private
setupSetup event listeners
Private
validateValidates that the address is valid
Verify a signature
Class for Bitcoin wallet connections and operations