Skip to content

~~Function: deriveSecp256k1StealthPrivateKeyV1()~~

SIP Protocol API Reference v0.15.1


SIP Protocol API Reference / deriveSecp256k1StealthPrivateKeyV1

Function: deriveSecp256k1StealthPrivateKeyV1()

Section titled “Function: deriveSecp256k1StealthPrivateKeyV1()”

deriveSecp256k1StealthPrivateKeyV1(stealthAddress, spendingPrivateKey, viewingPrivateKey): StealthAddressRecovery

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

StealthAddress

`0x${string}`

`0x${string}`

StealthAddressRecovery

Legacy SIP:1 swapped-scheme derivation — claim-side back-compat ONLY.

Recovers funds sent to secp256k1 stealth addresses generated before the canonical EIP-5564 flip (legacy scheme: S = k_spend * R, p = k_view + H(S)). Used only when claiming a SIP:1 announcement. New (SIP:2) sends use deriveSecp256k1StealthPrivateKey.