Function mnemonicToSecretKey

  • mnemonicToSecretKey takes a mnemonic string and returns the corresponding Algorand address and its secret key.

    Throws

    error if fails to decode the mnemonic

    Parameters

    • mn: string

      25 words Algorand mnemonic

    Returns Account

Generated using TypeDoc