From stellar-dev
Guides building zero-knowledge proof verifiers and privacy patterns on Stellar/Soroban, covering Groth16, BLS12-381, BN254, Poseidon, Noir/RISC Zero integration, and more.
How this skill is triggered — by the user, by Claude, or both
Slash command
/stellar-dev:zk-proofs [zk task][zk task]The summary Claude sees in its skill listing — used to decide when to auto-load this skill
Privacy patterns and ZK verification on Stellar/Soroban. Capability is protocol- and SDK-version dependent — always verify CAP status, network version, and `soroban-sdk` host-function support before relying on a primitive.
Privacy patterns and ZK verification on Stellar/Soroban. Capability is protocol- and SDK-version dependent — always verify CAP status, network version, and soroban-sdk host-function support before relying on a primitive.
Accepted/Implemented vs draft)soroban-sdk release support for the target host functions../soroban/SKILL.md../assets/SKILL.md../dapp/SKILL.md../standards/SKILL.mdUse this guide when the user asks for:
This guide is intentionally status-aware. ZK capabilities on Stellar evolve with protocol and SDK releases.
Before implementation, always verify:
stellar/stellar-protocol (Accepted/Implemented vs draft/awaiting decision)soroban-sdk support for required cryptographic host functionsPrimary references:
Treat advanced cryptography as capability-gated:
Do not assume all capabilities are present on all networks/environments.
Use a dedicated verifier contract (or module) for cryptographic checks:
Benefits:
Separate concerns:
Verifier: cryptographic validity onlyPolicy: business/risk/compliance logicApplication: state transition after verifier + policy passBenefits:
Gate advanced paths by environment support:
A payload that parses is not equivalent to a valid statement for your application.
Mitigation:
Valid proofs can be replayed without context binding.
Mitigation:
Combining verifier, policy, and state logic increases audit complexity.
Mitigation:
Assuming primitive availability across all networks causes runtime failures.
Mitigation:
npx claudepluginhub stellar/stellar-dev-skill --plugin stellar-devThis skill should be used when the user asks about zero-knowledge proofs, ZK SNARKs, witness data, prover/verifier roles, constraint systems, proof generation, proof verification, privacy boundaries, or how Midnight uses ZK cryptography for transaction privacy and data protection.
Generates and verifies SNIP-36 virtual block proofs on Starknet: runs Cairo logic off-chain, submits stwo-cairo proof on-chain. Use for heavy computation, private attribute proofs, anonymous voting, or provable games.
Maps Stellar Ecosystem Proposals (SEPs) and Core Advancement Proposals (CAPs) to use cases like wallets, anchors, payments, deposits, federation, deep links, and KYC. Also bundles ecosystem references and official docs.