CCC Docs
    Preparing search index...

    Class representing a CKB signer that extends Signer

    Hierarchy (View Summary)

    Index

    Constructors

    • Creates an instance of CkbSigner.

      Parameters

      • client: Client

        The client instance.

      • name: string

        The name of the signer.

      • icon: string

        The icon URL of the signer.

      • Optional_appUri: string

        The application URI.

      • Optional_aggregatorUri: string

        The aggregator URI.

      • connectionsRepo: ConnectionsRepo = ...

        The connections repository.

      Returns CkbSigner

    Accessors

    Methods

    • Connects to the provider by requesting authentication.

      Returns Promise<void>

      A promise that resolves when the connection is established.

    • Disconnects to the signer.

      Returns Promise<void>

      A promise that resolves when the signer is disconnected.

    • Checks if the signer is connected.

      Returns Promise<boolean>

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

    • Gets the identity of the signer.

      Returns Promise<string>

      A promise that resolves to the identity.

    • Gets the address object.

      Returns Promise<Address>

      A promise that resolves to the address object.