I spent over three hours last week building a simple smart contract for an HR-related side project. When I finished and reviewed it, I realized something unsettling: if deployed in the usual way on a public chain, sensitive details like salaries, performance reviews, and personal data could all be exposed or queried
This is exactly the kind of issue that Compact from NIGHT seems to approach differently. Instead of treating privacy as an add-on, it’s built in from the start as a core constraint. Privacy is the default, and any disclosure has to be explicitly defined.
The dual-state model is key here—public state exists only for consensus, while private data remains local. With Kachina enforcing state transitions through zero-knowledge proofs, the system allows logic to be verified without revealing the underlying sensitive information.
That’s what stands out to me about Midnight: it enables provable logic without forcing all data into a publicly readable format.