·compact

Write privacy-preserving smart contracts in Compact (Minokawa) for Midnight Network. Use when creating contracts, defining types, using standard library functions, or implementing ZK patterns. Triggers on Compact language, circuits, ledger state, hashing, or zero-knowledge contract questions.

3Installs·0Trend·@fractionestate

Installation

$npx skills add https://github.com/fractionestate/midnight-dev-skills --skill compact

How to Install compact

Quickly install compact AI skill to your development environment via command line

  1. Open Terminal: Open your terminal or command line tool (Terminal, iTerm, Windows Terminal, etc.)
  2. Run Installation Command: Copy and run this command: npx skills add https://github.com/fractionestate/midnight-dev-skills --skill compact
  3. Verify Installation: Once installed, the skill will be automatically configured in your AI coding environment and ready to use in Claude Code, Cursor, or OpenClaw

Source: fractionestate/midnight-dev-skills.

SKILL.md

View raw

Compact (being renamed to Minokawa) is Midnight's domain-specific language for privacy-preserving smart contracts. Contracts compile to ZK-SNARKs, enabling selective disclosure of data.

Note: As of compiler v0.26.0, the language is being renamed from "Compact" to "Minokawa" under the Linux Foundation Decentralized Trust. The toolchain commands still use compact.

| Private | const x = input; | Only prover | | Disclosed | disclose(value) | Allowed to become public | | Proven | disclose(a >= b) | Public boolean only | | Witness | witness f(...): T; | Private, DApp-provided |

Write privacy-preserving smart contracts in Compact (Minokawa) for Midnight Network. Use when creating contracts, defining types, using standard library functions, or implementing ZK patterns. Triggers on Compact language, circuits, ledger state, hashing, or zero-knowledge contract questions. Source: fractionestate/midnight-dev-skills.

Facts (cite-ready)

Stable fields and commands for AI/search citations.

Install command
npx skills add https://github.com/fractionestate/midnight-dev-skills --skill compact
Category
!Security
Verified
First Seen
2026-02-26
Updated
2026-03-10

Browse more skills from fractionestate/midnight-dev-skills

Quick answers

What is compact?

Write privacy-preserving smart contracts in Compact (Minokawa) for Midnight Network. Use when creating contracts, defining types, using standard library functions, or implementing ZK patterns. Triggers on Compact language, circuits, ledger state, hashing, or zero-knowledge contract questions. Source: fractionestate/midnight-dev-skills.

How do I install compact?

Open your terminal or command line tool (Terminal, iTerm, Windows Terminal, etc.) Copy and run this command: npx skills add https://github.com/fractionestate/midnight-dev-skills --skill compact Once installed, the skill will be automatically configured in your AI coding environment and ready to use in Claude Code, Cursor, or OpenClaw

Where is the source repository?

https://github.com/fractionestate/midnight-dev-skills

Details

Category
!Security
Source
skills.sh
First Seen
2026-02-26