Hierarchy

  • Wallet

Constructors

Methods

  • Return a Account object from this wallet, given the account index

    Parameters

    • index: bigint = ...

    Returns Promise<Account>

  • Set xPrv of the wallet, you don't have to explicitly call this, as it's used by factory methods

    Parameters

    • xPrv: string

    Returns void

  • Return a random mnemonic phrase that can be used to initialize a wallet

    Returns {
        entropy: string;
        phrase: string;
    }

    • entropy: string
    • phrase: string

Generated using TypeDoc