~~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
Parameters
Section titled “Parameters”stealthAddress
Section titled “stealthAddress”spendingPrivateKey
Section titled “spendingPrivateKey”`0x${string}`
viewingPrivateKey
Section titled “viewingPrivateKey”`0x${string}`
Returns
Section titled “Returns”Deprecated
Section titled “Deprecated”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.