~~Function: deriveEd25519StealthPrivateKeyV1()~~
SIP Protocol API Reference v0.15.1
SIP Protocol API Reference / deriveEd25519StealthPrivateKeyV1
Function: deriveEd25519StealthPrivateKeyV1()
Section titled “Function: deriveEd25519StealthPrivateKeyV1()”deriveEd25519StealthPrivateKeyV1(
stealthAddress,spendingPrivateKey,viewingPrivateKey):StealthAddressRecovery
Defined in: @sip-protocol/sdk/dist/index-GLbkPPho.d.ts:4048
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 stealth addresses generated before the canonical
EIP-5564 flip (legacy scheme: ECDH used the spending key, S = s_spend * R,
and the private key was p = s_view + H(S)). Used only when claiming a
SIP:1 announcement. New (SIP:2) sends use deriveEd25519StealthPrivateKey.