Skip to content

[General] Failed paymaster validation #859

Answered by uF4No
pacelliv asked this question in General
Discussion options

You must be logged in to vote

Most likely the problem is that the account that you're using does not have any balance of the ERC20 token you're using. To give you more context on what we're doing in this transaction, the paymaster will receive 1 unit of the ERC20 token from your wallet, and then the paymaster will pay the original transaction fee in ETH.

I've amended your script to print the balance of the token so you can verify if that's the issue (see below).

In addition, you can use the test token 0x2192F14Eeb0D8c9Bf92D81D30696bEB562Fa9490, which I have deployed and verified in our testnet. It's a minteable token, so you can mint some to your account and use it in your script (you can do it from here).

import hre, { 

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

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

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