Extended private key (XPrv).

This class allows accepts a master seed and provides functions for derivation of dependent child private keys.

Please note that Kaspa extended private keys use kprv prefix.

Constructors

  • Parameters

    • seed: string

    Returns XPrv

Properties

chainCode: string
childNumber: number
depth: number
parentFingerprint: string
privateKey: string
xprv: string

Methods

  • Parameters

    • child_number: number
    • Optional hardened: boolean

    Returns XPrv

  • Parameters

    • path: any

    Returns XPrv

  • Returns void

  • Parameters

    • prefix: string

    Returns string

    • Return copy of self without private attributes.

    Returns Object

  • Return stringified version of self.

    Returns string

  • Returns string

  • Returns XPub

  • Create XPrv from xprvxxxx.. string

    Parameters

    • xprv: string

    Returns XPrv

Generated using TypeDoc