defy.tools

Class HDKey

Constructors

Properties

_chainCode: Uint8Array
_depth: number
_index: number
_keyIdentifier: Uint8Array
_parentFingerprint: number
_privateKey: Uint8Array
_publicKey: Uint8Array
hardenedKeyOffset: number = HARDENED_KEY_OFFSET

Accessors

  • get extendedPrivateKey(): null | string
  • Returns null | string

  • get parentFingerprint(): undefined | number
  • Returns undefined | number

Methods

  • Parameters

    • prefix: number
    • key: Uint8Array

    Returns string

  • Parameters

    • hash: Uint8Array

    Returns Uint8Array

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

    • xpriv: string
    • xpub: string
  • Parameters

    • hash: Uint8Array
    • signature: Uint8Array

    Returns boolean