How to apply test code

Repo

Please go to the link that corresponds to your version of the Paymaster service

How to apply other paymaster service

  1. Among the links above, clone the repository that matches your Paymaster service to your local environment.

  2. Open the Makefile and replace the git repository link in the following section with the link to your Paymaster service’s git repository.

# Add account-abstraction-v7 submodule and checkout to specific commit
git submodule add https://github.com/eth-infinitism/account-abstraction.git lib/account-abstraction-v7
cd lib/account-abstraction-v7 && git checkout 7af70c8993a6f42973f520ae0752386a5032abe7
  1. And then, run make build_test.

  2. We have written the test code based on eth-infinitism. Therefore, if your implementation deviates significantly from the standard, some minor adjustments may be necessary (e.g., specific paths).

You can follow the same steps for version 0.6.0 as well.

Notice

Since there is no clear standard implementation for Paymaster yet, the implementation methods may vary, which could cause some difficulties in applying them. We will continue to provide updates on this in the future.

Last updated