Infinite approval
Infinite approval is a programming practice that enables smart contracts to spend an unlimited amount of funds on a user’s account. In most cases, smart contracts are authorized to use a specific amount of funds. However, when an infinite approval is established, a smart contract asks to be granted access to an unlimited number of coins or tokens stored in the user’s account.
In the cryptocurrency world, this practice is quite controversial.
Why is it controversial?
It is quite controversial because in case smart contracts have vulnerabilities, or there is an attack by hackers, an attacker could have unlimited access to the funds in your wallet to which you have given infinite approval. This is why the Jwallet gives you the option of not giving infinite approval and therefore only signing the transactions you are making at that precise moment.
Last updated