Skip to content

Latest commit

 

History

History
5 lines (5 loc) · 753 Bytes

File metadata and controls

5 lines (5 loc) · 753 Bytes
  • Run npm install to regenerate package-lock.json with the current dependency set (qrcode, jose, nanoid, x402-mcp, @ai-sdk/react, ai, streamdown, use-stick-to-bottom, react-syntax-highlighter).
  • Use Node.js >= 18.17.0 locally, then run npm run lint / npm run build to ensure type-checking passes with the new routes.
  • Populate .env.local (or Vercel project settings) with the new variables: SIGNED_REDIRECT_SECRET, Upstash creds, and Coinbase facilitator keys.
  • Validate the enforceX402 result payload matches your facilitator response (payer address, tx hash) and tweak receipt storage if the shape differs.
  • Adjust MCP_PRICE_USDC in app/api/mcp/route.ts if you want a different agent fee.