Skip to main content

Attestation — /api/attest

Cross-node verification. Hand any ZeqVM node a signed compute claim and it independently re-runs the physics through its own deterministic recompute path and returns a verdict — agree, disagree, or unverifiable — signed by its own node key. Anyone can call it; nobody needs a secret; the verdict is computed, not negotiated.

Endpoints 1 Source shared/api-core/src/routes/attest.ts + lib/verifierNode.ts Auth none (rate-limited)

MethodPathDescription
POST/attestRegistry pin → Ed25519 signature check → independent recompute → bit-compare. Returns a signed attestation.

This is not consensus. Verifiers never talk to each other, hold no shared state, and run no protocol rounds. Two honest verifiers agree because closed-form IEEE-754 physics is deterministic — not because they coordinated.

When you run a compute on one node, that node fans the signed claim out to its configured peers (ZEQ_VERIFIER_PEERS, stored in ZSC) and attaches the attestations it gets back to your envelope — fail-open, so a slow peer never blocks your result.

See also