CCC Docs
    Preparing search index...

    Class representing a CKB signer that extends Signer from @ckb-ccc/core.

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    provider: ReiA.Provider

    The provider instance.

    Accessors

    Methods

    • Register a listener to be called when this signer is replaced.

      Parameters

      • listener: () => void

      Returns () => void

      A function for unregister

    • Connects to the provider by requesting authentication.

      Returns Promise<void>

      A promise that resolves when the connection is established.

    • Checks if the signer is connected.

      Returns Promise<boolean>

      A promise that resolves to true if connected, false otherwise.

    • Returns Promise<boolean>

    • Gets the internal address.

      Returns Promise<string>

      A promise that resolves to the internal address.

    • Gets the address object.

      Returns Promise<Address>

      A promise that resolves to the address object.

    • Gets the identity of the signer.

      Returns Promise<string>

      A promise that resolves to the identity.

    • Signs a raw message with the personal account.

      Parameters

      • message: string

        The message to sign.

      Returns Promise<`0x${string}`>

      A promise that resolves to the signed message.