Skip to content

feat: add anvil and alto for tests#253

Open
die-kreatur wants to merge 7 commits into
Kalapaja:developfrom
die-kreatur:add-anvil-and-alto-for-tests
Open

feat: add anvil and alto for tests#253
die-kreatur wants to merge 7 commits into
Kalapaja:developfrom
die-kreatur:add-anvil-and-alto-for-tests

Conversation

@die-kreatur

@die-kreatur die-kreatur commented Feb 14, 2026

Copy link
Copy Markdown
Contributor

I moved a little bit further with the task and tested the whole flow. Invoice payment and withdrawal can be checked by running daemon/examples/pay_invoice.rs.

There is one thing left to do. Some endpoints are not supported by Alto, because it doesn't implement all the features of pimlico bundler and erc20 paymaster, there is also no docker image for erc20 paymaster mock. Actually Alto doesn't support paymaster endpoints at all, but real pimlico provides the same url for both bundler and paymaster endpoints, which is stored in BUNDLER_RPC constant. Thus, to test the whole flow we have to send pimlico_getTokenQuotes to the real bundler url (it worked the best), while others requests must be sent to localhost:4337. I haven't implemented that yet, @AnlisUA told me he would think about that to find the best solution aligning to his vision.

@die-kreatur die-kreatur changed the title Add anvil and alto for tests feat: add anvil and alto for tests Feb 14, 2026
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