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

Add a wETHApprovalBasedPaymaster contract #13

Open
4 tasks
dutterbutter opened this issue Aug 4, 2023 · 1 comment
Open
4 tasks

Add a wETHApprovalBasedPaymaster contract #13

dutterbutter opened this issue Aug 4, 2023 · 1 comment

Comments

@dutterbutter
Copy link
Contributor

Paymaster Description

Objective:

To create a paymaster that facilitates the payment of transaction fees in wETH (wrapped Eth) using the ApprovalBased flow.

Functionality:

  1. Paymaster Role: The paymaster should sponsor transactions for users, enabling them to pay transaction fees in wETH.
  2. Approval-Based Flow: Implement the ApprovalBased paymaster flow, which requires users to set a certain allowance for the paymaster to operate. The paymaster should ensure that the provided allowance is sufficient for the transaction fees.

Rationale:

Creating a paymaster that pays fees in wETH, we can enhance user experience, security, and flexibility, promoting broader adoption of zkSync's advanced features.

Task Deliverables:

  • Paymaster implementation: Develop and test the paymaster that pays fees in wETH using the ApprovalBased flow.
  • Documentation: Provide detailed documentation on how the paymaster works, how to integrate it, and any prerequisites required.
  • Test Cases: Implement test cases to ensure the paymaster functions as expected and handles edge cases.
  • Update readme: Update the readme to reflect new example.
@dutterbutter dutterbutter changed the title Add an wETHApprovalBasedPaymaster contract Add a wETHApprovalBasedPaymaster contract Aug 4, 2023
@Thirawat11
Copy link

L

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

No branches or pull requests

2 participants