Skip to content

fix: Chat x402 template#762

Draft
ledgerpilot wants to merge 14 commits intoMerit-Systems:masterfrom
ledgerpilot:ledgerpilot/fix-610
Draft

fix: Chat x402 template#762
ledgerpilot wants to merge 14 commits intoMerit-Systems:masterfrom
ledgerpilot:ledgerpilot/fix-610

Conversation

@ledgerpilot
Copy link
Copy Markdown

Closes #610

What changed

This fix creates a new template chat-x402 based on the react-chat template, incorporating an authentication switcher to choose between "Echo Credits" and "USDC via x402" as payment methods for chat interactions.

Files modified

  • templates/chat-x402/index.html
  • templates/chat-x402/package.json
  • templates/chat-x402/postcss.config.js
  • templates/chat-x402/tailwind.config.js
  • templates/chat-x402/tsconfig.json
  • templates/chat-x402/tsconfig.node.json
  • templates/chat-x402/vite.config.ts
  • templates/chat-x402/src/App.tsx
  • templates/chat-x402/src/components/AuthSwitcher.tsx
  • templates/chat-x402/src/components/ChatUI.tsx
  • templates/chat-x402/src/context/PaymentMethodContext.tsx
  • templates/chat-x402/src/index.css
  • templates/chat-x402/src/main.tsx
  • templates/chat-x402/src/vite-env.d.ts

Draft PR — please review before merging.

@vercel
Copy link
Copy Markdown
Contributor

vercel bot commented Apr 8, 2026

@ledgerpilot is attempting to deploy a commit to the Merit Systems Team on Vercel.

A member of the Team first needs to authorize it.

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.

Chat x402 template

1 participant