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
{{ message }}
Repository navigation
Could not transact with/call contract function, is contract deployed correctly and chain synced? #348
when I try to run the program it gives that error:
Web3 is connected: True Buying token with 0xFC2E975cd81807983d457A1732d887A55Ac8b36e Token1: 13138442028139619270 No fee set, assuming 0.3% Could not transact with/call contract function, is contract deployed correctly and chain synced?
+++ update:
I made a buy manually and I saw that router is universal router. and I updated the code like this: uniswap = Uniswap(router_contract_addr="0x3fc91a3afd70395cd496c647d5a6cc9d4b2b7fad",address=address, private_key=private_key, version=version,default_slippage=1, provider=provider, web3=w3)
Activity
kthenurseone commentedon Sep 18, 2023
+++ update:
I made a buy manually and I saw that router is universal router. and I updated the code like this:
uniswap = Uniswap(router_contract_addr="0x3fc91a3afd70395cd496c647d5a6cc9d4b2b7fad",address=address, private_key=private_key, version=version,default_slippage=1, provider=provider, web3=w3)but I still get the same error as I get before..
liquid-8 commentedon Sep 20, 2023
There is no support for the universal router. You can use a regular v3 router if it is deployed on BSC.