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

    Interface DeterministicSigner

    An identity that signs with aux_rand = 0, which is what makes the derivation reproducible. DescriptorIdentity satisfies it, and throws rather than degrading to a random-aux signer.

    interface DeterministicSigner {
        compressedPublicKey(): Promise<Uint8Array<ArrayBufferLike>>;
        signSchnorrDeterministic(
            messageHash: Uint8Array,
        ): Promise<Uint8Array<ArrayBufferLike>>;
        xOnlyPublicKey(): Promise<Uint8Array<ArrayBufferLike>>;
    }

    Hierarchy (View Summary)

    Index

    Methods

    • Implementors wrapping a remote: throw only for a refusal that will repeat. provisionClaimSecret reads a transient throw — a network hiccup, an extension timeout — as "this signer cannot derive", and falls back to a stored random preimage for the artifact's whole life. That is claimable, but it persists a secret the seed would otherwise have replaced, and nothing surfaces the downgrade to the caller.

      Parameters

      • messageHash: Uint8Array

      Returns Promise<Uint8Array<ArrayBufferLike>>