Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • HDNode

Index

Constructors

  • Returns HDNode

Properties

chainCode: Buffer
privateExtendedKey: string
privateKey: Buffer
publicExtendedKey: string
publicKey: Buffer

Methods

  • Parameters

    • path: string

    Returns HDNode

  • sign(hash: Buffer): Buffer
  • Parameters

    • hash: Buffer

    Returns Buffer

  • toJSON(): { xpriv: string; xpub: string }
  • Returns { xpriv: string; xpub: string }

    • xpriv: string
    • xpub: string
  • verify(hash: Buffer, signature: Buffer): boolean
  • Parameters

    • hash: Buffer
    • signature: Buffer

    Returns boolean

  • Returns HDNode

  • fromExtendedKey(xpriv: string): HDNode
  • Parameters

    • xpriv: string

    Returns HDNode

  • fromJSON(obj: { xpriv: string; xpub: string }): HDNode
  • Parameters

    • obj: { xpriv: string; xpub: string }
      • xpriv: string
      • xpub: string

    Returns HDNode

  • fromMasterSeed(seed: Buffer, versions?: { private: number; public: number }): HDNode
  • Parameters

    • seed: Buffer
    • Optional versions: { private: number; public: number }
      • private: number
      • public: number

    Returns HDNode

Generated using TypeDoc