hello, i am creating a dapp that requires users to approve usdt for transfer but whenever metamask pops up for usdt approval the transaction keeps on failing after i click the approve button.
i imported the usdt address and abi from the etherscan website and stored them in a json file which was imported into my react component for use.
after importing the json file i then use it like this
const usdt = new ethers.Contract(Usdt.address, Usdt.abi, signer)
I already increased the gas limit to 100000 but it still didn’t work. It worked the very first time I tried it but from the second time to now it keeps failing.
The transaction goes through once (the first time) for every account and after that if you try to approve again with the same account it shows transaction failed