Skip to content

aspro45/pact

Repository files navigation

Pact

Escrow agreements with obligations, evidence, review windows and GenLayer-backed settlement.

Pact is a compact agreement desk for deals that need an auditable record before money, access or delivery is accepted. A sponsor defines the standard, parties attach evidence, reviewers open a decision, and challenge or appeal paths keep the final state traceable.

Deployed Instance

Item Detail
Network GenLayer Bradbury
Chain ID 4221
Contract 0xDDb5DC55c0E65501B07d6b55bEC862f615c84cA3
Deploy tx 0xe0b7c157f99d3777bd826a52d84b5e0adfbb2f70bbe3569c0b1729779e1197fb
Deployed 2026-07-02T00:16:26.215Z
Live app https://pact-azure.vercel.app
Repository https://github.com/aspro45/pact

Contract Model

The GenLayer contract lives in contracts/pact_v2.py. It stores agreement records, reserved items, evidence bundles, review decisions, challenge windows, appeal outcomes and reputation updates.

The main flow is:

  1. Set the pact standard.
  2. Draft an agreement with concrete obligations.
  3. Attach document and web evidence.
  4. Reserve the item or service under review.
  5. Submit delivery.
  6. Ask GenLayer to review the record.
  7. Open a challenge window if the result is disputed.
  8. Resolve the challenge or appeal and settle the pact.

Read methods expose pact counts, individual records, recent pacts, filtered status lists and party-specific views for the frontend.

Verification

  • Bradbury deploy completed with finalized transaction metadata.
  • Smoke flow covered setup, evidence, submission, review, challenge, appeal, settlement and legacy compatibility wrappers.
  • Read test suite passed 37/37.
  • Frontend is wired to the Bradbury RPC and contract address above.

Local Preview

python -m http.server 8080

Open http://localhost:8080.

Security

This repository contains public contract and frontend artifacts only. Do not commit private keys, wallet vaults, .env files, dashboard exports or Vercel state.

About

Escrow agreements with evidence, obligations and GenLayer-backed settlement.

Topics

Resources

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors