generateEd25519StealthMetaAddress()
SIP Protocol API Reference v0.7.0
SIP Protocol API Reference / generateEd25519StealthMetaAddress
Function: generateEd25519StealthMetaAddress()
Section titled “Function: generateEd25519StealthMetaAddress()”generateEd25519StealthMetaAddress(
chain,label?):object
Defined in: @sip-protocol/sdk/dist/index-BYZbDjal.d.ts:1476
Generate a new ed25519 stealth meta-address keypair
Parameters
Section titled “Parameters”Target chain (must be ed25519-compatible: solana, near)
label?
Section titled “label?”string
Optional human-readable label
Returns
Section titled “Returns”object
Stealth meta-address and private keys
metaAddress
Section titled “metaAddress”metaAddress:
StealthMetaAddress
spendingPrivateKey
Section titled “spendingPrivateKey”spendingPrivateKey:
`0x${string}`
viewingPrivateKey
Section titled “viewingPrivateKey”viewingPrivateKey:
`0x${string}`
Throws
Section titled “Throws”If chain is invalid or not ed25519-compatible