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
It could be if you add support for it. Should only need to modify the router and factory contract addresses. The best way would probably be to add the ability to override the contract addresses using constructor arguments.
See for example #58 which adds support for Honeyswap (on xDai).
I have working Uniswap code, but get errors when using the SushiSwap Factory and Router address. sushiswap = Uniswap(address=address, private_key=private_key, version=version, provider=provider, factory_contract_addr="0xC0AEe478e3658e2610c5F7A4A2E1777cE9e4f2Ac", router_contract_addr="0xd9e1cE17f2641f24aE83637ab66a2cca9C378B9F")
Activity
ErikBjare commentedon Jan 20, 2021
It could be if you add support for it. Should only need to modify the router and factory contract addresses. The best way would probably be to add the ability to override the contract addresses using constructor arguments.
See for example #58 which adds support for Honeyswap (on xDai).
albertwh1te commentedon Jan 21, 2021
I think this approach will work! I am going to test this idea.
[-]Will SushiSwap be supported? [/-][+]SushiSwap support[/+]ErikBjare commentedon May 4, 2021
Should be possible now in the latest commit on master, see #90 (comment).
cjlutterloh commentedon Sep 19, 2021
Does it work with v2?
I have working Uniswap code, but get errors when using the SushiSwap Factory and Router address.
sushiswap = Uniswap(address=address, private_key=private_key, version=version, provider=provider, factory_contract_addr="0xC0AEe478e3658e2610c5F7A4A2E1777cE9e4f2Ac", router_contract_addr="0xd9e1cE17f2641f24aE83637ab66a2cca9C378B9F")See the error info: