Skip to main content

9 docs tagged with "midnight-network"

View all tags

Battleship

Write a Battleship contract that mixes public and private state as a state machine, then verify it with MidnightJS tests.

Bulletin board

Build a privacy-preserving bulletin board DApp with ZK proofs for identity verification, a reusable API layer, and a CLI.

Contracts

Standalone Compact contract examples that isolate specific language features like witness functions, token operations, and private state.

Counter

Build a counter DApp from scratch to learn Compact smart contract basics, ledger state, ZK proof generation, and CLI deployment.

DApps

End-to-end DApp examples with contract code, CLI tooling, and deployment steps you can study and adapt to your own project.

Examples

Working Compact contract examples and full DApps you can study, run, and adapt, covering core language features and end-to-end deployment.

Leaderboard

Build a full-stack leaderboard DApp with privacy controls, Lace wallet integration, a React frontend, and Vercel deployment.

Tutorials

Step-by-step tutorials for building DApps on Midnight Network, from your first Compact contract to a full-stack deployment with wallet integration.

ZK Loan

Build a ZK loan DApp that privately evaluates credit data using zero-knowledge proofs, with a Schnorr attestation API and CLI.