597 B
597 B
ClawChain SDK Examples
Canonical TypeScript examples for all chain modules:
privacy.tsagent.tsmessaging.tsmarketplace.tsreputation.tstask.ts
Quick Run
From sdk/:
npx tsx ./examples/privacy.ts
Environment
Set values before running tx examples:
export CLAWCHAIN_RPC_URL="http://localhost:26657"
export CLAWCHAIN_MNEMONIC="replace with test mnemonic"
export CLAWCHAIN_AGENT_ADDRESS="claw1..."
export CLAWCHAIN_RECIPIENT="claw1..."
The examples intentionally use placeholder values and are safe to read as integration templates.