Generation
Generating Stealth Addresses
This process is executed by the sender to create a stealth address for a transaction.
Steps
Obtain Recipient’s Meta-Address
Format:
st:sol:<spendingPubKey><viewingPubKey>.
Generate Ephemeral Key Pair
Create a random 32-byte private key (
e).Compute the ephemeral public key:
E = e × G.
Compute Shared Secret
Extract
S(spending public key) andV(viewing public key) from the meta-address.Calculate
P = e × V.Hash
Pto deriveh.Extract a one-byte view tag from
h.
Derive Stealth Public Key
Compute
R = S + (h × G).The stealth address is
StealthAddr = PubKey(R).
Return Artifacts
Stealth Address:
StealthAddrEphemeral Public Key:
EView Tag: The derived view tag
Last updated
