Skip to content

ExternalSignFn

ExternalSignFn = (message) => Promise<Uint8Array>

Defined in: ootle/src/external-signer.ts:20

Signs a 64-byte transaction hash with a key held outside this process (an HSM, an MPC vault, a hardware wallet) and returns the raw 64-byte signature.

The signature must be a standard sr25519 (schnorrkel) signature over message exactly as given, under the default substrate signing context, with the sr25519 marker bit set in its last byte. A signer that hashes, prefixes or wraps the message produces a signature that fails verification.

Uint8Array

Promise<Uint8Array>