Skip to content

feat: add custom paymentFetch option to proxy#43

Draft
matiasedgeandnode wants to merge 1 commit intoBlockRunAI:mainfrom
edgeandnode:ma/custom-proxy
Draft

feat: add custom paymentFetch option to proxy#43
matiasedgeandnode wants to merge 1 commit intoBlockRunAI:mainfrom
edgeandnode:ma/custom-proxy

Conversation

@matiasedgeandnode
Copy link

@matiasedgeandnode matiasedgeandnode commented Feb 19, 2026

Summary

  • Adds optional paymentFetch parameter to startProxy() for custom payment handlers
  • Enables integration of alternative payment systems (spend limits, budget enforcement, etc.)
  • Falls back to built-in x402 payment handler when not provided

Test plan

  • Verify existing behavior unchanged when paymentFetch is not provided
  • Test custom paymentFetch function is called when provided

🤖 Generated with Claude Code

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

Comments