Variable mnemonic

mnemonic: {
    entropyToMnemonic: ((entropyStr) => string);
    generateMnemonic: (() => string);
    mnemonicToEntropy: ((mnemonic?) => HexString);
    mnemonicToSeed: ((mnemonic?, password?) => Promise<Buffer>);
    mnemonicToSeedSync: ((mnemonic?, password?) => Buffer);
    validateMnemonic: ((mnemonic) => boolean);
}

Type declaration

  • entropyToMnemonic: ((entropyStr) => string)
      • (entropyStr): string
      • Parameters

        • entropyStr: string

        Returns string

  • generateMnemonic: (() => string)
      • (): string
      • Returns string

  • mnemonicToEntropy: ((mnemonic?) => HexString)
  • mnemonicToSeed: ((mnemonic?, password?) => Promise<Buffer>)
      • (mnemonic?, password?): Promise<Buffer>
      • Parameters

        • mnemonic: string = ""
        • password: string = ""

        Returns Promise<Buffer>

  • mnemonicToSeedSync: ((mnemonic?, password?) => Buffer)
      • (mnemonic?, password?): Buffer
      • Parameters

        • mnemonic: string = ""
        • password: string = ""

        Returns Buffer

  • validateMnemonic: ((mnemonic) => boolean)
      • (mnemonic): boolean
      • Parameters

        • mnemonic: string

        Returns boolean

Generated using TypeDoc