midnight-compact
CommunityMaster Compact for ZK smart contracts
Authormzf11125
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Compact provides a dedicated language and ecosystem for privacy-preserving smart contracts on Midnight Network. This skill helps developers learn the language, apply Zero-Knowledge circuit concepts, and implement secure, scalable contracts with guidance from standard library resources and best practices.
Core Features & Use Cases
- Comprehensive reference to the Compact language (v0.22+) including ledger, circuits, witnesses, and types.
- Real-world patterns and examples (token, voting, access control) showcasing privacy-enabled contracts and secure design.
- End-to-end guidance from setup, compilation, testing, to deployment across local, preprod, and mainnet environments.
Quick Start
Follow the Quick Start to scaffold a sample Compact project, compile contracts with the Midnight toolchain, and deploy to a local or preprod network.
Dependency Matrix
Required Modules
None requiredComponents
scriptsreferences
💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: midnight-compact Download link: https://github.com/mzf11125/midnight_agent_skills/archive/main.zip#midnight-compact Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.