@aleph-sdk/monorepo
    Preparing search index...

    Function importAccountFromPrivateKey

    • Imports an Base account given a private key and the 'ethers' package.

      It creates an Base wallet containing information about the account, extracted in the BaseAccount constructor.

      Parameters

      • privateKey: string

        The private key of the account to import.

      Returns BaseAccount