Options
All
  • Public
  • Public/Protected
  • All
Menu

Implements a BIP39 mnemonic wallet with standard key derivation from a word list. Note that this implementation exposes the private key in memory, so it is not advised to use for applications requiring high security.

Hierarchy

  • Key
    • MnemonicKey

Index

Constructors

constructor

Properties

accAddress

accAddress: AccAddress

Terra account address. terra- prefixed.

accPubKey

accPubKey: AccPubKey

Terra account public key. terrapub- prefixed.

mnemonic

mnemonic: string

Space-separated mnemonic phrase.

privateKey

privateKey: Buffer

Raw private key, in bytes.

publicKey

publicKey: Buffer

raw compressed bytes public key

valAddress

valAddress: ValAddress

Terra validator address. terravaloper- prefixed.

valPubKey

valPubKey: ValPubKey

Terra validator public key. terravaloperpub- prefixed.

Methods

createSignature

sign

  • sign(payload: Buffer): Buffer

signTx

Legend

  • Constructor
  • Property
  • Method
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Static property
  • Static method
  • Property

Generated using TypeDoc