Run all demos
python scripts/revenue/proofrelay_cli.py all
ProofRelay replay demo
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.
Run these from a cloned GENESIS workspace. The demo outputs JSON and uses public-safe hashes only.
python scripts/revenue/proofrelay_cli.py all
python scripts/revenue/proofrelay_cli.py replay-demo
python scripts/revenue/proofrelay_cli.py x402-evidence-demo
python scripts/revenue/proofrelay_cli.py paid-receipt-demo
Synthetic first request is classified as usable, status 200.
Same entitlement/bundle attempt is classified as replay, status 409.
Only hashes, status codes, and verifier classifications are retained.
{
"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
}
}