@silencelaboratories/walletprovider-sdk
    Preparing search index...

    Class EOAAuth

    The EOAAuth implementing Externally Owned Account authentication.

    Index

    Constructors

    Methods

    Constructors

    • Parameters

      • eoa: string

        Ethereum address

      • browserWallet: IBrowserWallet

        Interface to the wallet provider, like MetaMask, that is used to sign the requests

      Returns EOAAuth

    Methods

    • Prepares a message to present on the Browser Wallet window and requests to sign it.

      Parameters

      • payload: { challenge: string; payload: EoaAuthPayload }

        request payload to be sent to the backend

      Returns Promise<UserAuthentication>