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: custom paymaster handler on sendTransaction #221

Merged
merged 11 commits into from
Jan 30, 2025
Merged

Conversation

coffeexcoin
Copy link
Collaborator

@coffeexcoin coffeexcoin commented Jan 30, 2025

PR-Codex overview

This PR focuses on adding custom paymaster handler functionality to various transaction-related methods in the agw-client, enhancing the flexibility and capabilities of transaction processing.

Detailed summary

  • Added CustomPaymasterHandler type and related interfaces in customPaymaster.ts.
  • Updated sendTransactionForSession, writeContractForSession, and sendTransactionInternal to accept a customPaymasterHandler parameter.
  • Modified sendTransaction to utilize the custom paymaster when applicable.
  • Adjusted wallet action functions to include the custom paymaster handler.
  • Enhanced tests to reflect changes in transaction handling with custom paymaster support.

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

coffeexcoin and others added 11 commits January 30, 2025 18:01
* add optional query client to agwProvider

* add optional query client to abstractPrivyProvider

* changeset

* make field required but default value

---------

Co-authored-by: Coffee☕️ <[email protected]>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
@coffeexcoin coffeexcoin requested a review from cygaar as a code owner January 30, 2025 23:40
Copy link

changeset-bot bot commented Jan 30, 2025

🦋 Changeset detected

Latest commit: f30c52d

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 3 packages
Name Type
@abstract-foundation/agw-client Minor
@abstract-foundation/agw-react Minor
@abstract-foundation/web3-react-agw Minor

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@coffeexcoin coffeexcoin merged commit 0178623 into main Jan 30, 2025
9 checks passed
@coffeexcoin coffeexcoin deleted the paymaster-handler branch January 30, 2025 23:45
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.

3 participants