Avalanche SDK Client
    Preparing search index...

    Function memonicsToAvalancheAccount

    • Converts a mnemonic to an Avalanche account.

      Parameters

      • memonics: string

        The mnemonic to convert.

      • options: HDKeyToAccountOptions = {}

        The options for the account. MnemonicToAccountOptions

      Returns AvalancheAccount

      The Avalanche account AvalancheAccount.

      import { memonicsToAvalancheAccount } from "@avalanche-sdk/client/accounts";

      const account = memonicsToAvalancheAccount("test test t.."