@claviss/sdk
v0.2.0
Published
Clavis privacy SDK for Robinhood Chain (EVM): hidden-amount shielded payments, ZK selective disclosure, stealth addresses, compliant privacy pool.
Downloads
2,281
Maintainers
Readme
@claviss/sdk
Privacy primitives for Robinhood Chain (EVM): hidden-amount shielded payments, ZK selective disclosure, stealth addresses, and a compliant privacy pool.
npm install @claviss/sdkModules
import { zk, stealth, pool, shielded, chain } from "@claviss/sdk";| Module | What it does |
| ---------- | ----------------------------------------------------------------------------------------------------------------------------- |
| zk | Selective disclosure — prove membership or eligibility without revealing which identity (CredentialGroups). |
| stealth | One-time receive addresses (secp256k1, ERC-5564 style) so a main wallet isn't exposed. |
| pool | Compliant fixed-denomination privacy pool: ZK deposit/withdraw that severs the on-chain link, gated by an association set. |
| shielded | Hidden-amount UTXO pool: arbitrary amounts, partial spends, change, and multi-recipient transfers, with values kept encrypted. |
| chain | Robinhood Chain definitions for viem plus the contract ABIs. |
Every privacy feature keeps a disclosure and audit path — the pool is gated by an association set rather than acting as an unconditional tumbler.
Proving artifacts
The ZK modules need circuit artifacts (*.wasm and *_final.zkey) served
alongside your app. The reference frontend serves them from public/; point the
provers at wherever you host them.
Source
This directory is a vendored snapshot of packages/sdk from the
clavis monorepo. Change it there, then
re-copy src/ and rebuild with npm run build:sdk.
Requirements
ESM-only, Node 18+ or a modern browser. viem is the only chain dependency.
License
MIT — see LICENSE.
