Function decryptFromKeystore

  • Decrypts the mnemonic phrase from the provided keystore using the given password.

    Parameters

    • keystore: Keystore

      The keystore object containing encrypted data.

    • password: string

      The password used for decryption.

    Returns Promise<string>

    A promise that resolves to the decrypted mnemonic phrase.

    Throws

    Thrown if the password is incorrect.

Generated using TypeDoc