Skip to content

[General] Paymaster validation error #28

Closed Answered by uF4No
4NNNN asked this question in General
Discussion options

You must be logged in to vote

I don't know the logic you want to implement in your paymaster so I'm sharing a few things to consider:

  • If your paymaster is not going to receive ERC20 tokens in exchange for the gas fees, you can use the General flow instead of ApprovalBased. The general flow does not require a token or minimalAllowance in the paymaster params.
  • Given the error, most likely one of the validations in your paymaster is not passing. Try testing this contract locally with the local-setup for easier debugging.

How do i call a mint function through paymaster from a account address

You'd need to build a frontend for the smart contract account or just send the transaction from a script. AA unlocks many featur…

Replies: 6 comments 9 replies

Comment options

You must be logged in to vote
4 replies
@4NNNN
Comment options

@4NNNN
Comment options

@uF4No
Comment options

Answer selected by MexicanAce
@4NNNN
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@4NNNN
Comment options

@MexicanAce
Comment options

Comment options

You must be logged in to vote
2 replies
@mubraj
Comment options

@4NNNN
Comment options

Comment options

You must be logged in to vote
1 reply
@4NNNN
Comment options

This comment was marked as spam.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
General
Labels
general General question
8 participants