Skip to content

@armada/sdk / wallet / SpendSigner

Interface: SpendSigner ​

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

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:37

Returns ​

Promise<[bigint, bigint]>


signBatch() ​

signBatch(requests, options?): Promise<EddsaSignature[]>

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

Parameters ​

requests ​

readonly SpendSignRequest[]

options? ​

SpendSignOptions

Returns ​

Promise<EddsaSignature[]>


dispose()? ​

optional dispose(): void

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

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

Returns ​

void