Curated templates to kickstart your next Dapp on Midnight.
Basic Compact usage with public state, ZK proofs, and CLI interaction.
Simple counter contract using Compact with public state and ZK proofs.
Calculator using Compact with witness functions, verification, and CLI interaction.
Todo app using Compact with private state, ZK proofs, and CLI interaction.
Bulletin board using Compact with public state, ZK proofs, and CLI interaction.
Escrow contract using Compact with public state, ZK proofs, and CLI interaction.
Voting app using Compact with a commit-reveal scheme and ZK proofs.
Quadratic voting using Compact with private state and ZK proofs.
Token transfers supporting minting, shielded and unshielded transfers using Compact.
Bonding curve contract using Compact with private state and ZK proofs.
Private allowlist using Compact with ZK proofs — prove membership without revealing identity.
Battleship game using Compact with private state and ZK proofs for hidden board verification.
Derive dice outcomes from entropy, call the contract, and present a clean UI that reflects on-chain state in real time.
Coinflip game using Compact with private state and ZK proofs for hidden board verification.
Coinflip game using Compact with private state and ZK proofs for hidden board verification.
NFT launchpad using Compact with private state and ZK proofs for hidden board verification.