Skip to main content

HDSignerAsync

reddcoinjs-lib v7.0.1-rdd.1 • Docs


reddcoinjs-lib v7.0.1-rdd.1 / HDSignerAsync

Interface: HDSignerAsync

Same as above but with async sign method

Extends​

  • HDSignerBase

Properties​

fingerprint​

fingerprint: Uint8Array

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

Inherited from​

HDSignerBase.fingerprint

Defined in​

ts_src/psbt.ts:1206


publicKey​

publicKey: Uint8Array

DER format compressed publicKey buffer

Inherited from​

HDSignerBase.publicKey

Defined in​

ts_src/psbt.ts:1202

Methods​

derivePath()​

derivePath(path): HDSignerAsync

Parameters​

• path: string

Returns​

HDSignerAsync

Defined in​

ts_src/psbt.ts:1226


sign()​

sign(hash): Promise<Uint8Array>

Parameters​

• hash: Uint8Array

Returns​

Promise<Uint8Array>

Defined in​

ts_src/psbt.ts:1227