@me2em/core
    Preparing search index...

    Function normalizeSeedPhrase

    • Normalizes a mnemonic seed phrase by trimming whitespace and converting to lowercase.

      Parameters

      • seedPhrase: string | string[]

        The mnemonic phrase to normalize (string or array of words).

      Returns string[]

      A normalized array of lowercase words.

      const normalized = normalizeSeedPhrase('  ABANDON  abandon  ART  ');
      // ["abandon", "abandon", "art"]