Steps on creating a simple smart contract on Midnight using Compact.
Set up your dev environment. Install the Midnight SDK.
Learn the basics of Compact, Midnight’s TypeScript-inspired language.
Write your first contract: e.g., a private voting contract.
Deploy it on the devnet using tDUST tokens.
Test it: verify transactions without exposing user data.
Focus on how proofs are generated automatically, you don’t need to handle cryptography yourself.
Top comments (0)