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.