Experimental on purpose.
The A2A + AP2, UCP, and x402 prompts on this site add an agentic-commerce overlay on top of the base Midnight ZK stack. That overlay is unfinished research — treat everything below as hackathon material, not production.
What's real
- The Compact contracts (
MandateVault,OrderLedger,MidnightUSDC) are real Compact 0.23 code and deployable to Preview, Preprod, or a local Undeployed stack. - The A2A / AP2 / x402 protocol shapes are ported from Google's public specs and the Optimism-catalyst x402 recipe — the envelope, header casing, and nonce rules match the specs.
- Each agentic prompt still ends with a Midnight transaction, so the demo has an auditable on-chain footprint.
What's NOT real
- mUSDC has no peg and no value. It's a mimic token so the x402 v2 flow can settle on Midnight. Never treat mUSDC balances as money.
- None of the three contracts have been audited. Do not deploy to Mainnet.
- The facilitator routes fall back to
{ simulated: true }when no contract is deployed for the selected network — that path never touches the chain. - AP2 mandate signing uses a Compact-witness scheme, NOT the EIP-712 domain the AP2 spec assumes. Don't cross-verify AP2 mandates from this stack against EVM verifiers.