Battleship
Write a Battleship contract that mixes public and private state as a state machine, then verify it with MidnightJS tests.
Write a Battleship contract that mixes public and private state as a state machine, then verify it with MidnightJS tests.
Build a privacy-preserving bulletin board DApp with ZK proofs for identity verification, a reusable API layer, and a CLI.
Standalone Compact contract examples that isolate specific language features like witness functions, token operations, and private state.
Build a counter DApp from scratch to learn Compact smart contract basics, ledger state, ZK proof generation, and CLI deployment.
End-to-end DApp examples with contract code, CLI tooling, and deployment steps you can study and adapt to your own project.
Working Compact contract examples and full DApps you can study, run, and adapt, covering core language features and end-to-end deployment.
Build a full-stack leaderboard DApp with privacy controls, Lace wallet integration, a React frontend, and Vercel deployment.
Step-by-step tutorials for building DApps on Midnight Network, from your first Compact contract to a full-stack deployment with wallet integration.
Build a ZK loan DApp that privately evaluates credit data using zero-knowledge proofs, with a Schnorr attestation API and CLI.