
from midnight-skill10
Write, test, and deploy Compact zero-knowledge smart contracts for the Midnight blockchain, with guidance on privacy, witnesses, and testing.
Provides step-by-step guidance for authoring, testing, auditing, and deploying Compact language smart contracts on the Midnight blockchain. Covers privacy-by-default patterns, ledger vs private state, witness implementation, circuit design, testing strategies, and deployment workflows including proof-server integration.
Use this skill when building privacy-preserving on-chain logic with Compact: creating shielded tokens, commit-reveal games, sealed-bid auctions, or any ZK circuit-backed contract. Also use it when auditing Compact contracts or designing witness/test suites.
Inferred compatible agents: Claude Code (instruction-style code generation), developer-focused assistants that can author TypeScript and Compact samples.
Comprehensive skill for writing, testing, and deploying Compact zero-knowledge smart contracts on the Midnight blockchain. No bundled scripts to test. SKILL.md is exceptionally detailed with syntax references, a clear decision tree for contract development and auditing, and progressive disclosure via references/ and examples/ links. Clean from a security perspective — no suspicious commands, credentials, or network calls.
Well-structured skill with clear frontmatter, good progressive disclosure, and comprehensive content. 29 validated examples cited. References OpenZeppelin Compact contracts and community tools. No scripts bundled; purely instructional. Security is strong — no shell commands, no network calls, no credentials.