Skip to content

PERMIT2 #96

Answered by Elnaril
johann75sch asked this question in Q&A
Apr 10, 2025 · 6 comments · 1 reply
Discussion options

You must be logged in to vote

You use Permit2 with the UR the same way for V2/V3/V4. If you don't swap, just remove the swap part from the tutorial.

I can see 2 issues:

  • You sent your transaction without recipient ('to': None), hence the EVM tried to create a contract at address 0x265e0113ceea51664a8682d500d359023d101c12 and failed. You must send it to the UR.
  • you sent value=10000000 wei in your transaction on Base. If you just call the PERMIT2_PERMIT function, you should send 0 ETH.

Can you try after fixing these points?

Replies: 6 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by johann75sch
Comment options

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants