Skip to content

PACT: a verifiable payment trail format - vectors you can run against your implementation #108

Backlog

Description

@Balanov

PACT is a deliberately small format for agent-initiated payments: quote -> consent -> commit ->
receipt, every step hashed and chained to the one before it, so a third party can replay the trail
later without trusting the agent, the merchant or the machine in between.

It is deliberately boring on purpose: canonical JSON, SHA-256, four steps, eighteen stable rejection
codes, and a policy file that the verifier - never the trail - controls.

What is attached to the format:

  • SPEC.md - the wire format and every rejection rule
  • vectors/ - five executable conformance vectors (one valid, four that must be rejected)
  • attest - an independent Go verifier, one static binary, standard library only, offline
  • pact-store - a reference merchant with a browser demo

If your payments flow could emit such a trail, the useful next step is not adoption but a
disagreement: run the vectors against your model, and tell me which rule breaks. Divergences are
what make a format real.

No registry, no account, no payment rail. MIT.

https://github.com/Balanov/pact

Activity

  1. waleed4644003-byte commented on Dec 3, 2026

    @waleed4644003-byte

    45

  2. waleed4644003-byte commented on Dec 3, 2026

    @waleed4644003-byte

    hi

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions