Skip to content

@armada/sdk / index / ExternalSigner

Class: ExternalSigner

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

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

Parameters

signBackend

SignBackend

publicKeyBackend

PublicKeyBackend

Returns

ExternalSigner

Methods

getSpendingPublicKey()

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

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

Returns

Promise<[bigint, bigint]>

Implementation of

SpendSigner.getSpendingPublicKey


signBatch()

signBatch(requests): Promise<EddsaSignature[]>

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

Parameters

requests

readonly SpendSignRequest[]

Returns

Promise<EddsaSignature[]>

Implementation of

SpendSigner.signBatch