- Notifications
You must be signed in to change notification settings - Fork386
Optimism#176
-
Hi, dumb question, shouldn't uniswap-python work with Uniswap's support of Optimism L2? I've tried and getting an error (maybe there's something wrong in my optimism-based provider). |
BetaWas this translation helpful?Give feedback.
All reactions
Replies: 2 comments
-
ah, I see in constants.py there's no optimism, I guess. _netid_to_name = { |
BetaWas this translation helpful?Give feedback.
All reactions
-
anyway, adding 10:"optimism", to constant.py seems to work but anywhere in the code where one is getting "ETH" address you need to change to "ETH" address on Optimism. and of course the other tokens will Optimism-based addresses. the other addresses of Uniswap V3 remain the same. |
BetaWas this translation helpful?Give feedback.