Skip to content

~~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

StealthAddress

`0x${string}`

`0x${string}`

StealthAddressRecovery

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.