Function seedFromMnemonic

  • seedFromMnemonic converts a mnemonic generated using this library into the source key used to create it. It returns an error if the passed mnemonic has an incorrect checksum, if the number of words is unexpected, or if one of the passed words is not found in the words list.

    Parameters

    • mnemonic: string

      25 words mnemonic

    Returns Uint8Array

    32 bytes long seed

Generated using TypeDoc