Ensure the BTC network is the same as CKB network.
Gets the Bitcoin account address.
A promise that resolves to the Bitcoin account address.
Gets the Bitcoin public key.
A promise that resolves to the Bitcoin public key.
Connects to the provider by requesting accounts.
A promise that resolves when the connection is established.
Register a listener to be called when this signer is replaced.
A function for unregister
Checks if the signer is connected.
A promise that resolves to true if connected, false otherwise.
Signs a raw message with the Bitcoin account.
The message to sign.
A promise that resolves to the signed message.
Signs a PSBT using UniSat wallet.
The hex string of PSBT to sign.
Optionaloptions: SignPsbtOptionsOptions for signing the PSBT
A promise that resolves to the signed PSBT as a Hex string
Broadcasts a signed PSBT to the Bitcoin network.
The hex string (without 0x prefix) of signed PSBT to broadcast.
Optional_options: SignPsbtOptionsA promise that resolves to the transaction ID (without 0x prefix)
Class representing a Bitcoin signer that extends SignerBtc