@arkade-os/sdk Documentation - v0.5.0-rc.11
    Preparing search index...

    Class DescriptorIdentity

    Identity pinned to one materialized HD descriptor: every key and signature it produces belongs to that index rather than to the wallet's baseline key.

    Lets components that take a plain Identity (VHTLC claim/refund, batch joins) operate on a rotated index without knowing about descriptors.

    Deliberately does NOT satisfy isBatchSignable, isHDCapableIdentity, or hasToReadonly — it is a leaf signer, not another HD root.

    Implements

    Index

    Constructors

    Methods

    • Sign an arbitrary message using the requested signature type.

      Parameters

      • message: Uint8Array
      • signatureType: "schnorr" | "ecdsa" = "schnorr"

      Returns Promise<Uint8Array<ArrayBufferLike>>

    • Throws rather than falling back to the baseline key: a preimage derived from the wrong index is unrecoverable, and callers probe this member through a structural guard that cannot tell the two apart.

      Parameters

      • messageHash: Uint8Array

      Returns Promise<Uint8Array<ArrayBufferLike>>