Skip to content

@armada/sdk / index / ExternalSigner

Class: ExternalSigner ​

Defined in: src/wallet/external-signer.ts:21

In-process ExternalSigner. Real integrations implement this boundary over an out-of-process transport (transport + policy gating are the integration's concern, NOT the SDK's — SPEC §4.2.1); the SDK ships only the interface and this test double. It preserves the batch-before-any-signature property (the whole batch is handed to the backend in one call) and checks the returned count.

Implements ​

Constructors ​

Constructor ​

new ExternalSigner(signBackend, publicKeyBackend): ExternalSigner

Defined in: src/wallet/external-signer.ts:22

Parameters ​

signBackend ​

SignBackend

publicKeyBackend ​

PublicKeyBackend

Returns ​

ExternalSigner

Methods ​

getSpendingPublicKey() ​

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

Defined in: src/wallet/external-signer.ts:27

Returns ​

Promise<[bigint, bigint]>

Implementation of ​

SpendSigner.getSpendingPublicKey


signBatch() ​

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

Defined in: src/wallet/external-signer.ts:35

Parameters ​

requests ​

readonly SpendSignRequest[]

options? ​

SpendSignOptions

Returns ​

Promise<EddsaSignature[]>

Implementation of ​

SpendSigner.signBatch