Creates an instance of SignerCkbScriptReadonly.
The client instance used for communication.
The script associated with the signer.
Static
verifyOptional
withData: null | booleanSigns a message and returns signature only. This method is not implemented and should be overridden by subclasses.
The message to sign, as a string or BytesLike object.
A promise that resolves to the signature as a string.
Sends a transaction after signing it.
The transaction to send, represented as a TransactionLike object.
A promise that resolves to the transaction hash as a Hex string.
Signs a transaction.
The transaction to sign, represented as a TransactionLike object.
A promise that resolves to the signed Transaction object.
prepare a transaction before signing. This method is not implemented and should be overridden by subclasses.
The transaction to prepare, represented as a TransactionLike object.
A promise that resolves to the prepared Transaction object.
Signs a transaction without preparing information for it. This method is not implemented and should be overridden by subclasses.
The transaction to sign, represented as a TransactionLike object.
A promise that resolves to the signed Transaction object.
A class extending Signer that provides read-only access to a CKB script. This class does not support signing operations.