Skip to content

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.

CosmosChainId

Cosmos chain identifier

string

Optional human-readable label

object

Stealth meta-address and private keys

metaAddress: StealthMetaAddress

spendingPrivateKey: `0x${string}`

viewingPrivateKey: `0x${string}`