@mistcash/sdk
Core cryptographic engine — WASM-powered Poseidon hashing, Groth16 proof generation, Merkle tree operations, and Chamber contract utilities.
MIST.cash SDK is a TypeScript toolkit for building privacy-preserving applications on Starknet. It enables zero-knowledge proof-based private transactions using Groth16 proofs, Poseidon hashing, and Merkle trees.
Traditional blockchain transactions are fully transparent — sender, receiver, and amount are all publicly visible. MIST.cash breaks this link using zero-knowledge cryptography, allowing users to deposit, transfer, and withdraw tokens without revealing the connection between sender and receiver.
The SDK is organized as a monorepo with three packages:
@mistcash/sdk
Core cryptographic engine — WASM-powered Poseidon hashing, Groth16 proof generation, Merkle tree operations, and Chamber contract utilities.
@mistcash/config
Shared configuration — contract ABIs, addresses, supported token definitions, and TypeScript types.
@mistcash/react
React integration — the useMist hook for managing deposits, withdrawals,
and proof generation from React applications.
The zero-knowledge proof is generated client-side using a Go-compiled WASM module (Gnark) and verified on-chain via the Garaga verifier.