Integrate shielded token transfers on Avalanche with the Shroud SDK. No ZK expertise required. No cryptography headaches. Just import and build.
import { ShroudClient } from '@shroud/sdk';
const shroud = new ShroudClient({
apiKey: 'sk_live_...',
network: 'avalanche'
});
// Deposit, transfer, withdraw — all private
await shroud.deposit({ token: 'USDC', amount: 1000 });
await shroud.transfer({ to: recipientPubKey, amount: 500 });Privacy integration without the complexity. The SDK and API handle all the cryptography so you can focus on your product.
Import @shroud/sdk, initialize with your API key, and start building. Deposit, transfer, and withdraw — all in a few lines of TypeScript.
ZK proofs generated locally in the browser or Node.js via WASM. Your users' private data never leaves their device.
Users don't need AVAX. The SDK submits transactions through our relay service — gas fees handled for you.
Rate-limited API keys with separate live and test environments. Manage keys, track usage, and control access from the dashboard.
Built for Avalanche C-Chain with sub-second finality. Multi-token support — USDC, AVAX, and any ERC20.
Optionally offload proof generation to our API for serverless environments. Witness data encrypted in transit, never stored.
Real-time note notifications via WebSocket. Know instantly when your users receive shielded transfers.
A standalone TypeScript package for browser and Node.js. Wraps all ZK cryptography, proof generation, Merkle tree management, and encrypted memo handling into a clean, developer-friendly facade.
createWallet()→ ShroudWalletGenerate or restore a Baby Jubjub keypair for shielded operations
deposit({ token, amount, signer })→ TransactionResultLock ERC20 tokens into the shielded pool and receive a private commitment
transfer({ to, amount })→ TransactionResultMove value privately inside the pool — amounts, sender, and recipient are hidden
withdraw({ amount, recipient })→ TransactionResultExit the shielded pool and receive ERC20 tokens at any address
getBalance(wallet)→ ShieldedBalanceSum unspent notes for a token to get the total shielded balance
sync(wallet)→ voidScan chain events and trial-decrypt memos to discover incoming notes
Relay transactions, generate proofs server-side, query pool state, and receive real-time notifications — all authenticated with your API key.
/v1/relay/transfer/v1/relay/withdraw/v1/relay/deposit/v1/proof/transfer/v1/pools/v1/merkle/root/v1/events/memos/v1/wsYour app talks to the SDK. The SDK handles cryptography and talks to the API. The API relays to Avalanche. Privacy is preserved at every layer.
We're launching the Shroud SDK & API in a closed private beta very soon. Join the waitlist to get early access.