Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • Mnemonic

Index

Constructors

Properties

Methods

Constructors

constructor

  • new Mnemonic(words: string[]): Mnemonic
  • Parameters

    • words: string[]

    Returns Mnemonic

Properties

words

words: string[]

Methods

toEntropy

  • toEntropy(): Buffer
  • Returns Buffer

Static create

  • create(length?: MnemonicLength): Promise<Mnemonic>
  • Parameters

    • Optional length: MnemonicLength

    Returns Promise<Mnemonic>

Static fromEntropy

  • fromEntropy(entropy: Buffer): Mnemonic
  • Parameters

    • entropy: Buffer

    Returns Mnemonic

Generated using TypeDoc