v0.1.0-alpha.2
Pre-release
Pre-release
·
110 commits
to main
since this release
Adds a public verification path for INK Auditability Section 7
inclusion receipts, plus a CLI any third party can run without
trusting any specific operator's UI.
Added
verifyInclusionReceipt({receipt, witnessPublicKey, eventHash?, laterCheckpoint?})exported from the package root. Pure function. Returns{valid, steps[]}where each step explains pass/fail with detail. Always verifies structure + Ed25519 service signature against the canonicalink/audit-inclusion/v1\n+ JCS format. Optionally walks the Merkle proof wheneventHashis provided, and cross-checks against alaterCheckpointfor tree-grew-not-rewound + no-fork-at-same-treeSize.inkCLI dispatcher with averify-inclusionsubcommand.npx @adastracomputing/ink verify-inclusion --file receipt.json --witness https://witness.example.comfetches the witness DID document + current checkpoint and runs the full verification. Witness URL is validated (https-only by default,--allow-httpopt-in, no credentials). Exit code 0 = valid, 1 = invalid, 2 = usage / network / validation error. Self-contained ESM JavaScript so it works on any Node 22+ install with no TypeScript toolchain.