Skip to content

generateCosmosStealthMetaAddress()

SIP Protocol API Reference v0.7.2


SIP Protocol API Reference / generateCosmosStealthMetaAddress

Function: generateCosmosStealthMetaAddress()

Section titled “Function: generateCosmosStealthMetaAddress()”

generateCosmosStealthMetaAddress(chain, label?): object

Defined in: @sip-protocol/sdk/dist/index-CzWPI6Le.d.ts:3122

Generate a stealth meta-address for a Cosmos chain

Convenience function that creates a CosmosStealthService instance.

CosmosChainId

Cosmos chain identifier

string

Optional human-readable label

object

Stealth meta-address and private keys

metaAddress: StealthMetaAddress

spendingPrivateKey: `0x${string}`

viewingPrivateKey: `0x${string}`