compact-core:compact-ledger
OfficialMaster Compact ledger state on-chain.
Authordevrelaicom
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This skill helps developers design and reason about on-chain state in Compact by guiding ledger declarations, ADT selection, constructor initialization, and privacy/disclosure patterns, reducing mistakes and enabling correct, private state handling.
Core Features & Use Cases
- Ledger type design: selecting Counter, Map, Set, List, MerkleTree, HistoricMerkleTree for common scenarios
- Privacy and visibility: understanding disclosure rules, on-chain visibility, and private membership proofs (MerkleTree/ zswap patterns)
- Construction patterns: sealed fields, constructor initialization, helper circuits, and nested ADT strategies
Quick Start
Define a new ledger state and initialize it in the constructor using disclosed values and default() patterns.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 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: compact-core:compact-ledger Download link: https://github.com/devrelaicom/midnight-expert/archive/main.zip#compact-core-compact-ledger 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.