CCC Docs
    Preparing search index...

    Class representing an EVM signer that extends SignerEvm

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    provider: Eip1193A.Provider

    The provider.

    Methods

    • Gets the EVM account address.

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

      A promise that resolves to the EVM account address.

    • Connects to the provider by requesting accounts.

      Returns Promise<void>

      A promise that resolves when the connection is established.

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

      Parameters

      • listener: () => void

      Returns () => void

      A function for unregister

    • Checks if the provider is connected.

      Returns Promise<boolean>

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

    • Signs a raw message with the personal account.

      Parameters

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

      A promise that resolves to the signed message.