Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Circle Paymaster middleware #1292

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

ksmith-circle
Copy link

@ksmith-circle ksmith-circle commented Jan 24, 2025

Pull Request Checklist


PR-Codex overview

This PR introduces a new circlePaymasterMiddleware along with related types and contract helpers for managing Circle Paymaster interactions. It adds address mappings for Circle Paymaster and USDC contracts, enhances the middleware functionality, and implements EIP-2612 permit handling.

Detailed summary

  • Added circlePaymasterMiddleware in index.ts.
  • Introduced circlePaymasterAddresses and usdcAddresses in addresses.ts.
  • Implemented contract interaction helpers in contractHelpers.ts.
  • Defined EIP-2612 ABI in permitHelpers.ts.
  • Created eip2612Permit function for permit handling.
  • Integrated error handling for unsupported EntryPoint versions.

✨ Ask PR-Codex anything about this PR by commenting with /codex {your question}

Copy link

vercel bot commented Jan 24, 2025

@ksmith-circle is attempting to deploy a commit to the Alchemy Team on Vercel.

A member of the Team first needs to authorize it.

Copy link

graphite-app bot commented Jan 24, 2025

How to use the Graphite Merge Queue

Add the label graphite-merge-queue to this PR to add it to the merge queue.

You must have a Graphite account in order to use the merge queue. Sign up using this link.

An organization admin has enabled the Graphite Merge Queue in this repository.

Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue.

@ksmith-circle ksmith-circle changed the title Implement circle paymaster middleware feat: Circle Paymaster middleware Jan 24, 2025
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