Class AccountMnemonicFactory

A factory class that generates instances of AccountMemory based on provided mnemonic phrase.

Hierarchy (view full)

Constructors

Methods

  • Discovers accounts in set that already have been used (has any on-chain transactions). It returns an empty array if none of accounts been used. If a used account is preceded by an unused account then it would be ignored.

    Parameters

    • node: Node

      Instance of Node to get account information from

    Returns Promise<AccountBase[]>

  • Get a wallet to initialize AccountMnemonicFactory instead mnemonic phrase. In comparison with mnemonic, the wallet can be used to derive aeternity accounts only.

    Returns Promise<Wallet>