compact-examples:code-examples
OfficialReal compilable Compact contracts and witnesses
Authordevrelaicom
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Developers and reviewers need curated, ready-to-run Compact language examples so they can learn, test, and compose real contracts without spending hours assembling compatible code, witnesses, and tests from disparate sources.
Core Features & Use Cases
- Curated, compilable examples: Provides beginner contracts, reusable modules, token implementations, privacy patterns, and full multi-file DApps that compile under pragma language_version >= 0.22.
- Witness & test coverage: Includes TypeScript witness implementations and test simulators where applicable so examples can be executed and validated locally.
- Focused discovery: Routing table and reference files guide users to the exact example needed (getting-started, modules, tokens, privacy, applications) to avoid loading excessive code into context.
Quick Start
Ask the agent to "Show a compilable beginner Compact counter example with its TypeScript witness and test from compact-examples".
Dependency Matrix
Required Modules
None requiredComponents
references
💻 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-examples:code-examples Download link: https://github.com/devrelaicom/midnight-expert/archive/main.zip#compact-examples-code-examples 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.