zkzkMCP
Midnight

Private witnesses and public ledger

Which values stay private and which values are deliberately disclosed.

The local witness supplies the private policy to Compact. Request facts are also circuit inputs rather than public ledger fields.

ValueLocal gateway / proverCompact private inputPublic ledger
policy secretyesyesno
allowed agentyesyesno
tool identityyesyesno
resource identifieryesyesno
payment amountyesyesno
private maximumyesyesno
approval thresholdyesyesno
approval stateyesyesno
raw nonceyesyesno
policy commitmentyesyesyes
execution commitmentyesyesyes
nullifieryesyesyes
Architecture diagram. Click to zoom.
Click to zoom

The exact internal proving representation is a Midnight implementation detail. Application code should treat proof-system private result objects as confidential and extract only the receipt fields it needs.