Class representing an EVM signer that extends SignerEvm

Hierarchy (view full)

Constructors

  • Creates an instance of EvmSigner.

    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.

    • connectionsRepo: ConnectionsRepo = ...

      The connections repository.

    Returns EvmSigner

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 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.

  • Signs a raw message with the EVM account.

    Parameters

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

    A promise that resolves to the signed message.