• Encrypts the given phrase to a keystore object using the provided password.

    Parameters

    • phrase: string

      The mnemonic phrase to encrypt.

    • password: string

      The password used for encryption.

    Returns Promise<Keystore>

    A promise that resolves to the generated keystore object.

    Throws

    Thrown if the phrase is invalid.

Generated using TypeDoc