cloudflare / cloudflare/templates

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

Open Beginner friendly
#1,131 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
2.1k
Forks
1k
Avg merge
17h 44m
Merged PRs (30d)
10

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

Contributor guide

Open the contributing guide

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.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.