Static
CKB_Static
CKB_Static
CKB_Readonly
publicProtected
client_Sign a nostr event.
A promise that resolves to the signed event.
Sign a message.
A promise that resolves to the signature.
Gets the internal address, which is the EVM account in this case.
A promise that resolves to a string representing the internal address.
Gets an array of Address objects representing the known script addresses for the signer.
A promise that resolves to an array of Address objects.
prepare a transaction before signing.
The transaction to prepare, represented as a TransactionLike object.
A promise that resolves to the prepared Transaction object.
Signs a transaction without modifying it.
The transaction to sign, represented as a TransactionLike object.
A promise that resolves to a signed Transaction object.
Connects to the signer.
A promise that resolves when the connection is complete.
Check if the signer is connected.
A promise that resolves the connection status.
Gets the Nostr public key associated with the signer.
A promise that resolves to a string representing the Nostr public key.
Static
verifyRegister a listener to be called when this signer is replaced.
A function for unregister
Disconnects to the signer.
A promise that resolves when the signer is disconnected.
Gets the identity for verifying signature, usually it's address
A promise that resolves to a string representing the identity
Gets the recommended Address object for the signer.
Optional
_preference: unknownOptional preference parameter.
A promise that resolves to the recommended Address object.
Gets the recommended address for the signer as a string.
Optional
preference: unknownOptional preference parameter.
A promise that resolves to the recommended address as a string.
Gets an array of addresses associated with the signer as strings.
A promise that resolves to an array of addresses as strings.
Find cells of this signer
The filter for the search key.
Optional
withData: null | booleanWhether to include cell data in the response.
Optional
order: "asc" | "desc"The order of the returned cells, can be "asc" or "desc".
Optional
limit: numberThe maximum number of cells for every querying chunk.
A async generator that yields all matching cells
Find cells of this signer
Optional
withData: null | booleanOptional
order: "asc" | "desc"Optional
limit: numberA async generator that yields all matches cells
Find transactions of this signer
Optional
groupByTransaction: null | falseOptional
order: "asc" | "desc"Optional
limit: numberA async generator that yields all matches transactions
Find transactions of this signer
Optional
order: "asc" | "desc"Optional
limit: numberA async generator that yields all matches transactions
Find transactions of this signer
Optional
groupByTransaction: null | booleanOptional
order: "asc" | "desc"Optional
limit: numberA async generator that yields all matches transactions
Gets balance of all addresses
A promise that resolves to the balance
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.
Signer from Nostr public key Support npub and hex format