deriveStealthSigner()
SIP Protocol API Reference v0.15.1
SIP Protocol API Reference / deriveStealthSigner
Function: deriveStealthSigner()
Section titled “Function: deriveStealthSigner()”deriveStealthSigner(
params):StealthSigner
Defined in: @sip-protocol/sdk/dist/index-GLbkPPho.d.ts:17671
Re-derive the signer that controls a stealth address.
Routes derivation by announcement version (canonical SIP:2 vs legacy SIP:1) and
validates the derived scalar reproduces the on-chain stealth public key before
returning a signer. The signer signs with the raw scalar (see
signEd25519WithScalar); it does NOT construct a Keypair, which cannot sign
for a scalar-derived stealth address.
Parameters
Section titled “Parameters”params
Section titled “params”Returns
Section titled “Returns”Throws
Section titled “Throws”If the derived scalar does not produce the expected stealth public key