Skip to content

StealthSigner

SIP Protocol API Reference v0.15.1


SIP Protocol API Reference / StealthSigner

Defined in: @sip-protocol/sdk/dist/index-GLbkPPho.d.ts:17644

Signs transactions/messages as a stealth address using its raw ed25519 scalar.

readonly publicKey: PublicKey

Defined in: @sip-protocol/sdk/dist/index-GLbkPPho.d.ts:17646

The stealth address this signer controls

signMessage(message): Uint8Array

Defined in: @sip-protocol/sdk/dist/index-GLbkPPho.d.ts:17656

Sign arbitrary bytes with the stealth scalar, returning a 64-byte ed25519 signature.

This is the raw-bytes sibling of signTransaction: it lets the controller of a stealth address produce an off-chain proof of control — e.g. authenticating to an off-chain service or attesting ownership — without moving funds. The signature verifies against publicKey with any standard ed25519 verifier. Use signTransaction for on-chain Solana transactions.

Uint8Array

Uint8Array


signTransaction(transaction): void

Defined in: @sip-protocol/sdk/dist/index-GLbkPPho.d.ts:17658

Attach this stealth address’s signature to a transaction. Call LAST — after feePayer, recentBlockhash, and all instructions are finalized (the signature covers the serialized message at call time).

Transaction

void