ProofRelay replay demo

Show paid-agent replay protection before buyers send real traffic.

Use the local ProofRelay CLI to demonstrate bundle drafting, replay rejection, x402 hash-only evidence, and paid MCP receipt drafts without calling external services or handling secrets.

Local CLI quickstart

Run these from a cloned GENESIS workspace. The demo outputs JSON and uses public-safe hashes only.

Run all demos

python scripts/revenue/proofrelay_cli.py all

Replay rejection demo

python scripts/revenue/proofrelay_cli.py replay-demo

x402 evidence demo

python scripts/revenue/proofrelay_cli.py x402-evidence-demo

Paid receipt demo

python scripts/revenue/proofrelay_cli.py paid-receipt-demo

What the replay demo proves

First redemption

Synthetic first request is classified as usable, status 200.

Replay attempt

Same entitlement/bundle attempt is classified as replay, status 409.

Evidence retained

Only hashes, status codes, and verifier classifications are retained.

Expected JSON signals

{
  "schema": "genesis.proofrelay_cli_demo.v1",
  "demo": "replay-demo",
  "result": {
    "classification": "replay_rejection_confirmed",
    "expected_replay_status": 409,
    "expected_replay_error": "entitlement_replay",
    "secret_values_returned": false
  }
}

Safety and non-claims

  • No external service calls from the local CLI demo.
  • No payment processing, wallet signing, custody, or x402 settlement claim.
  • No private keys, seed phrases, credentials, raw prompts, or customer files.
  • ProofRelay verifies submitted evidence packages, not real-world truth or legal status.