When adding liquidity to my new token I get this msg "Add liquidity failed: The input token cannot be transferred. There may be an issue with the input token. (TransferHelper: TRANSFER_FROM_FAILED) How to solve this?

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?