✨Tutorial: How to Use Permit2 with the Uniswap Universal Router | HackerNoon✨ #27
Elnaril
announced in
Announcements
Replies: 2 comments 1 reply
-
Very interesting |
Beta Was this translation helpful? Give feedback.
0 replies
-
I am unclear about what type of token approvals are assumed have been done to successfully use the encoder for uniswap v3 or v4 pool swaps. Is it permit2 only? thanks! |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
In this Python tutorial, you'll learn how to use the Permit2 contract with the Uniswap Universal Router, through its function PERMIT2_PERMIT. The point is to be able to give a Permit allowance to swap/sell ERC-20 tokens.
Tutorial link
The full tutorial code is here.
Beta Was this translation helpful? Give feedback.
All reactions