In ERC20 we approve a user to spend our token and then they can spend as much allowed using transferFrom, but if the allowance limit exceed then I have to approve again, is there any way to allow them to spend all tokens? I mean have to approve a account only once
Note that this approach may involve security concerns. If the smart contract has a weakness and is "hacked", the attacker could potentially steal all of the users' tokens. One can reduce this risk in their dApp by implementing a "disapprove" feature which is an approval of 0. Indeed, each call of the
approve method overrides the previous value.