Production example: regime / pre-action x402-proxy (Entropy Index)

Open Beginner friendly
#1,131 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
72/100
Issue type
Documentation
Clarity
Mostly clear
Activity status
Active
Domain
documentation

Research direction

Review the template README and CF Agents docs to identify the appropriate example section. Use the provided live Worker, health, and agent-discovery links to document the production x402-proxy example, its Check-only behavior, and payment flow. Done means the example and links are added in the selected documentation location.

Written by the indexing model from the issue text.

Description

Hi — we deployed the x402-proxy pattern in production and would love to be a non-toy example in the template README or CF Agents docs (regime / pre-action intelligence — not weather, not RPC).

Live Worker (Check-only at edge, Base USDC $0.07):
https://entropy-x402-proxy.entropyindex.workers.dev/api/v1/risk/taiwan?depth=probe

Health:
https://entropy-x402-proxy.entropyindex.workers.dev/__x402/health

Behavior:

  • Unpaid GET → HTTP 402 + x402 v2 PAYMENT-REQUIRED (Base USDC, eip155:8453)
  • Paid GET → proxied to origin with internal key (no double-402)
  • Higher tiers (The Call $5 / The Book $8) stay on www — edge is Check-only

Agent discovery:
https://www.entropyindex.com/llms.txt
https://www.entropyindex.com/.well-known/x402.json

Happy to provide copy, screenshots, or a short blurb for the template README / charge-for-http docs.

Taylor Good · taylor@entropyindex.com · https://www.entropyindex.com

Dominant language
TypeScript
Stars
2.1k
Forks
1k
Avg merge
17h 44m
Merged PRs (30d)
10

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from cloudflare/templates

All issues in cloudflare/templates

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.