NOTES: X Space today April 18, 2026:
Phase 2 Open: Guardrails Relaxed, Federation ExpandedDeployment restrictions are lifted and a broader validator/federation set is onboarded. This phase functions as the developer bridge between controlled environments and production effectively a Preprod-to-Mainnet transition layer.
Builders graduate from writing contracts to engineering production-ready, privacy-preserving systems where circuits, proofs, and applications must all be optimized, verified, and deployment-approved before hitting global execution.
You preprod environment will look like this:
- Parallel network instance mirroring Mainnet conditions
- End-to-end contract lifecycle execution (deploy → interact → upgrade)
- ZK circuit validation, constraint optimization, and performance tuning
Followed by the deployment path:
- Build and validate in Preprod
- Perform internal risk assessment against defined rubrics
- Submit artifacts for deployment authorization
- Approved promote to Mainnet
The system role in Preprod operates as a circuit hardening layer, ensuring contracts and proofs are production-ready before incurring the cost of global verification.
What It Actually Means for Builders
1) From “Experiment” → “Pre-Production Reality”
Phase 2 is essentially the bridge between sandbox and real deployment.
You’re no longer just prototyping on preview/test environments
You’re building in a preprod system that mirrors Mainnet conditions
Your contracts, circuits, and UX flows are expected to behave like production systems.
In practical terms: You move from “does this work?” → “is this safe, efficient, and deployable?” This aligns with how Midnight positions itself as a production-grade privacy blockchain for real applications, not just experimentation.
2) The Core Shift: Circuits Become the Product
We already know that Midnight is fundamentally different from traditional chains, you’re not just writing smart contracts as discussed above, you are are designing zero-knowledge circuits + contract logic together.
Repos like:
- the midnightntwrk/example-bboard and
- OpenZeppelin-style starter stacks
…show that every deployable unit includes:
- Contract logic (.compact)
- Generated ZK circuits
- Proof execution layer (proof server / runtime)
The expectations of this phase is the circuits must be optimized (constraints, proving cost, latency)and the proof generation is no longer optional it’s core infrastructure.
3) Full Lifecycle Testing (Not Just Deployment)
This phase introduces end-to-end contract lifecycle responsibility, you are expected to validate:
- Deploy → interact → upgrade flows
- Wallet + indexer + UI integration
- Proof generation under real conditions (Docker proof server, etc.)
Yes! This is closer to shipping a full system, not just a contract.
4) The Emergence of a Real Dev Stack
From Midnight GitHub + docs ecosystem:
- Contract layer → Compact language
- SDK layer → MidnightJS / APIs
- Infra layer → indexer, wallet, proof server
- App layer → React / UI / CLI dApps
Notice you are building across the entire stack, not just one layer. This is why starter repos exist to show the expected architecture of real dApps. I totally believe this phase will go the quickest.
5) Preprod as a “Circuit Hardening Layer”
This is the most important conceptual shift this pahse introduces a gating model: Build → Test → Evaluate → Request Deployment
Before Mainnet, your system must:
- Pass internal risk + correctness evaluation
- Demonstrate circuit reliability and efficiency
- Be ready for global verification cost (on-chain proofs)
This matters because ZK proofs are expensive → mistakes are costly and this phase ensures only production-grade logic reaches Mainnet.
6) What Changes for YOU as a Builder before Phase 2
- Prototype circuits
- Experiment with dApps
Learn flow
Builders must now have the ability to:Design efficient ZK circuits (not just correct ones)
Treat contracts as verifiable systems
Build full-stack dApps (contract + proof + UI)
Prepare for deployment authorization (not automatic deploy)
7) Mental Model (Simple)
I think of this phase like Ethereum: Testnet → Mainnet and
Midnight: Preview → Preprod (Phase 2) → Mainnet. But with one key and obvious difference, Midnight adds cryptographic validation readiness as a gate.
When reasearching for this Space, I wondered what the Midnight Foundation's drive is during this phase. They are actually simultaneously pushing, open-source tooling, developer onboarding + challenges, and privacy-first application design.
The Foundation's goal is to turn builders into privacy-native system designers, not just smart contract devs, where that vision becomes enforced reality.
In conclusion, Phase 2 Mainnet means builders graduate from writing contracts to engineering production-ready, privacy-preserving systems where circuits, proofs, and applications must all be optimized, verified, and deployment-approved before hitting global execution.
What will you build?
Top comments (0)