Sealed Ownership on Midnight: Why `sealed` Doesn't Mean Private (And What Does)
· 5 min read
The Midnight bboard example stores the owner public key hash on the public ledger. Anyone with an indexer can track who owns which post. We set out to hide it — and learned that Compact's privacy model is more nuanced than a single keyword.
This post documents the implementation of ownership hiding with selective disclosure, including a compiler-enforced lesson about what sealed actually means in Compact 0.21.
