compact-core:basic-start

Official

Create and deploy your first Midnight DApp.

Authordevrelaicom
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This skill provides a disposable, step-by-step walkthrough that helps developers verify their Midnight development environment and build a minimal Compact smart contract end-to-end on a local devnet without committing artifacts.

Core Features & Use Cases

  • Devnet Setup & Verification: Generate docker compose for node, indexer and proof server, start services, and perform health and sync checks.
  • Contract Lifecycle: Write a Compact contract, compile (fast skip-zk and full with ZK keys), wire witnesses, deploy to a local devnet, and interact with on-chain state.
  • Wallets & Transfers: Create devnet wallets, perform NIGHT airdrops, register DUST, and execute programmatic token transfers; includes a privacy-preserving ticket contract example for commitment/nullifier patterns.
  • Use Case: Ideal for onboarding, local testing, CI smoke tests, and learning Compact language patterns such as witnesses, merkle proofs, and persistent commitments.

Quick Start

Run the basic-start walkthrough to create a temporary project, start a local Midnight devnet, compile and deploy a simple counter contract, and verify it by calling its circuits.

Dependency Matrix

Required Modules

None required

Components

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-core:basic-start
Download link: https://github.com/devrelaicom/midnight-expert/archive/main.zip#compact-core-basic-start

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.