Extended public key (XPub).

This class allows accepts another XPub and and provides functions for derivation of dependent child public keys.

Please note that Kaspa extended public keys use kpub prefix.

Constructors

  • Parameters

    • xpub: string

    Returns XPub

Properties

chainCode: string
childNumber: number
depth: number
parentFingerprint: string
xpub: string

Methods

  • Parameters

    • child_number: number
    • Optional hardened: boolean

    Returns XPub

  • Parameters

    • path: any

    Returns XPub

  • Returns void

  • Parameters

    • prefix: string

    Returns string

    • Return copy of self without private attributes.

    Returns Object

  • Return stringified version of self.

    Returns string

Generated using TypeDoc