ssi.bitcoin

The window.ssi subset for Bitcoin protocol.

Types

BitcoinSharedSecret

Return type of Bitcoin shared secret.

BitcoinGenerateType

Implementation list of Bitcoin generation spec.

BitcoinShareType

Implementation list of Bitcoin share spec.

Functions

addEventListener()

generate()

Generates Bitcoin key in the specified order. During the execution process, an internal authorization check is performed similar to browser.ssi.askConsent.

generateSync()

Callback type of generate.

removeEventListener()

shareWith()

Request the secret you want the user to share, and get back the encrypted secret by Nostr NIP-44. During the execution process, an internal authorization check is performed similar to browser.ssi.askConsent.

shareWithSync()

Callback type of shareWith.

Note

This documentation is derived from window.ssi.type.ts in gecko-dev-for-ssi.