Skip to content

generateCosmosStealthMetaAddress()

SIP Protocol API Reference v0.7.4


SIP Protocol API Reference / generateCosmosStealthMetaAddress

Function: generateCosmosStealthMetaAddress()

Section titled “Function: generateCosmosStealthMetaAddress()”

generateCosmosStealthMetaAddress(chain, label?): object

Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:6073

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}`