Skip to content

Add allowance-based demo for x402#1

Open
murrlincoln wants to merge 1 commit into
mainfrom
codex/create-demo-app-with-ethereum-permit2-implementation
Open

Add allowance-based demo for x402#1
murrlincoln wants to merge 1 commit into
mainfrom
codex/create-demo-app-with-ethereum-permit2-implementation

Conversation

@murrlincoln
Copy link
Copy Markdown
Owner

Summary

  • add allowance-based client and server demo using token approvals
  • clients/allowance shows approving with ERC-20 and auto-paying x402 endpoints
  • servers/allowance verifies allowance and pulls funds with transferFrom

Testing

  • npx prettier -c .prettierrc --write "*.ts" in client and server directories
  • npx eslint . --ext .ts in client and server directories
  • pnpm test (fails: failed to load modules)

https://chatgpt.com/codex/tasks/task_e_6851b955875c8333b719691d9a1ff647

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant