generateCosmosStealthMetaAddress()
SIP Protocol API Reference v0.7.0
SIP Protocol API Reference / generateCosmosStealthMetaAddress
Function: generateCosmosStealthMetaAddress()
Section titled “Function: generateCosmosStealthMetaAddress()”generateCosmosStealthMetaAddress(
chain,label?):object
Defined in: @sip-protocol/sdk/dist/index-BYZbDjal.d.ts:3059
Generate a stealth meta-address for a Cosmos chain
Convenience function that creates a CosmosStealthService instance.
Parameters
Section titled “Parameters”Cosmos chain identifier
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}`