Zk
Repository viewer
Legacy docs parity surface
Back to repository viewer
Repository document

ZK-Enforced Runtime Templates

zk/templates/README.md

Boundary

This route preserves legacy markdown access inside the Next.js surface. The raw repository file remains authoritative.

Open raw file

ZK-Enforced Runtime Templates

These templates are the fastest safe way to record real `zk_enforced` runtime evidence without inventing values.

Available Templates

  • `phantom-desktop-zk-enforced.json`
  • `solflare-desktop-zk-enforced.json`
  • `backpack-desktop-zk-enforced.json`
  • `glow-desktop-zk-enforced.json`
  • `android-runtime-zk-enforced.json`

Required Real Values

Replace:

  • `walletVersion`
  • `os`
  • `browserOrClient`
  • `proposalPublicKey`
  • `policyPda`
  • `enableModeTxSignature`
  • `finalizeTxSignature`
  • `capturedAt`

Do not change:

  • `network`
  • `walletLabel`
  • `environmentType`
  • the target `id`

Do not mark a capture as `success` unless:

  • all three receipt modes are really `zk_enforced`
  • `Enable ZK-Enforced` landed on Devnet
  • `Finalize` landed on Devnet
  • the diagnostics snapshot was actually captured

Record Command

npm run record:zk-enforced-runtime -- /path/to/capture.json
npm run build:zk-enforced-runtime
npm run verify:zk-enforced-runtime