Function restoreWallet

  • Uses the given mnemonic phrase and account index to re-generate a wallet.

    Returns

    A DirectSecp256k1HdWallet object representing an existing wallet.

    Parameters

    • seedPhrase: string

      The mnemonic phrase created with the wallet

    • Optional accountIndex: number

      The account index.

    Returns Promise<DirectSecp256k1HdWallet>

Generated using TypeDoc