Skip to content

feat(x402-demo): public deploy config + PORT from env - #217

Merged
fabianocruz merged 1 commit into
mainfrom
feat/x402-cdp-connection
Jul 7, 2026
Merged

feat(x402-demo): public deploy config + PORT from env#217
fabianocruz merged 1 commit into
mainfrom
feat/x402-cdp-connection

Conversation

@fabianocruz

Copy link
Copy Markdown
Member

Ships the x402 paywall demo ($0.001 USDC, Base Sepolia) as a public CodeSpar example API.

Changes (3 files, additive)

  • examples/x402-demo/Dockerfile: container for the demo.
  • examples/x402-demo/railway.json: Railway deploy config.
  • examples/x402-demo/server.ts: read process.env.PORT so Railway can bind.

Note

Branch was cut ~2 weeks ago and main is 5 commits ahead, but the real PR diff is only the 3 files above (all under examples/x402-demo/), so it merges cleanly against current main.

🤖 Generated with Claude Code

Dockerfile + railway.json to ship the x402 paywall demo ($0.001 USDC, Base Sepolia) as a public CodeSpar example API; server now reads process.env.PORT for Railway.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@fabianocruz
fabianocruz merged commit 4d7ccaf into main Jul 7, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant