Release resources and clean up event listeners
Connect to a Bitcoin wallet
Optional
type: "nostr" | "alby" | "manual"Type of wallet to connect to
Promise with the connection result
Generate credentials using a Bitcoin wallet
Bitcoin address
Promise with the generated credentials
Generate a password based on a signature
Signature
Promise with the generated password
Check if any Bitcoin wallet is available in the browser
true if a wallet is available, false otherwise
Login with Bitcoin wallet
Bitcoin address
Promise with the operation result
Signup with Bitcoin wallet
Bitcoin address
Promise with the operation result
Verify a signature
Signed message
Signature to verify
The Bitcoin address that supposedly created the signature
Promise that resolves to true if the signature is valid
Interface for the Bitcoin wallet plugin