You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This wrapper is pretty good when interacting with Uniswap. However, BSC and Pancake share almost everything from the eth network. (even the functions are the same
So I wonder, is there a fork already which works with PancakeSwap and BSC? What would need to be changed to add support for Pancake?
Activity
ErikBjare commentedon Apr 27, 2021
See #62 (comment) and #58.
Some work required but should be easy to implement, please make a PR if you get around to it!
alb2001 commentedon Apr 28, 2021
Hello
Thanks for your response. Unfortunately my knowledge is limited. But I could try. However, do you know of any pancakeswap wrapper for python?
wahid commentedon May 2, 2021
I think patching line 121 and line 184 in uniswap.py would do it.
ErikBjare commentedon May 4, 2021
I adapted #58 to allow for overriding the factory and router contract addresses in the constructor. Should work, feedback/testing welcome.
ErikBjare commentedon May 4, 2021
Closing. Please open a new issue if you stumble into problems.