Skip to content

@armada/sdk / wallet / SpendSigner

Interface: SpendSigner

Defined in: src/wallet/index.ts:27

Custody boundary (SPEC §4.2.1). Batch semantics are part of the contract: the signer receives the ENTIRE batch of fully-bound intents before releasing ANY signature — "approve one signature = approve one fully-bound intent". Implementations: LocalSigner (from rootSecret), ExternalSigner (out-of-process — transport defined by the integration, NOT the SDK), later ThresholdSigner.

Methods

getSpendingPublicKey()

getSpendingPublicKey(): Promise<[bigint, bigint]>

Defined in: src/wallet/index.ts:28

Returns

Promise<[bigint, bigint]>


signBatch()

signBatch(requests): Promise<EddsaSignature[]>

Defined in: src/wallet/index.ts:29

Parameters

requests

readonly SpendSignRequest[]

Returns

Promise<EddsaSignature[]>


dispose()?

optional dispose(): void

Defined in: src/wallet/index.ts:31

Optional: release/zeroize held key material (SPEC §4.2). A disposed signer refuses to sign.

Returns

void