Skip to content

StealthSigner

SIP Protocol API Reference v0.12.0


SIP Protocol API Reference / StealthSigner

Defined in: @sip-protocol/sdk/dist/index-rqQpCeVM.d.ts:17616

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

readonly publicKey: PublicKey

Defined in: @sip-protocol/sdk/dist/index-rqQpCeVM.d.ts:17618

The stealth address this signer controls

signMessage(message): Uint8Array

Defined in: @sip-protocol/sdk/dist/index-rqQpCeVM.d.ts:17620

Sign arbitrary bytes, returning a 64-byte ed25519 signature

Uint8Array

Uint8Array


signTransaction(transaction): void

Defined in: @sip-protocol/sdk/dist/index-rqQpCeVM.d.ts:17622

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