Before executing this:
poolContract.addLiquidity(token1, amount1, token2, amount2)
Execute this:
token1.approve(poolContract.address, amount1)
token2.approve(poolContract.address, amount2)
Can you share your contract link? We need to chec kthe code to be able to identify the issue
1 Like
I am waiting for someone to help me this issue? if you have time please help me with this one bro.
Have you tried my suggestion above?