Skip to content

feat: add x402 and mpp example#500

Closed
brendanjryan wants to merge 1 commit into
wevm:mainfrom
brendanjryan:brendanjryan/x402-mpp-example
Closed

feat: add x402 and mpp example#500
brendanjryan wants to merge 1 commit into
wevm:mainfrom
brendanjryan:brendanjryan/x402-mpp-example

Conversation

@brendanjryan
Copy link
Copy Markdown
Collaborator

@brendanjryan brendanjryan commented Jun 2, 2026

Summary

  • Add an example Hono server with mpp-only, x402-only, and composed paid routes
  • Add a TypeScript example client that exercises mpp and x402 flows against live facilitators
  • Default x402 settlement to the free x402.rs Base Sepolia test facilitator
  • Parse x402 offers alongside Payment-auth challenges on mixed 402 responses
  • Add per-payment x402 nonce binding so repeated live facilitator payments work

@pkg-pr-new
Copy link
Copy Markdown

pkg-pr-new Bot commented Jun 2, 2026

Open in StackBlitz

npm i https://pkg.pr.new/mppx@500

commit: 78ed00f

@brendanjryan brendanjryan force-pushed the brendanjryan/x402-mpp-example branch from 2ded547 to c0f57e2 Compare June 2, 2026 09:31
@brendanjryan brendanjryan force-pushed the brendanjryan/x402-mpp-example branch from c0f57e2 to 78ed00f Compare June 2, 2026 10:03
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