Interface HDSignerAsync

Same as above but with async sign method

interface HDSignerAsync {
    fingerprint: Uint8Array;
    publicKey: Uint8Array;
    derivePath(path: string): HDSignerAsync;
    sign(hash: Uint8Array): Promise<Uint8Array>;
}

Hierarchy

  • HDSignerBase
    • HDSignerAsync

Properties

fingerprint: Uint8Array

The first 4 bytes of the sha256-ripemd160 of the publicKey

publicKey: Uint8Array

DER format compressed publicKey buffer

Methods

  • Parameters

    • hash: Uint8Array

    Returns Promise<Uint8Array>