-
One of the major benefits of setting a token standard is it increases the interoperability of these tokens because they share the same syntax meaning there is no resistance when integrating them to currently established systems like wallets and exchanges. It also allows programmers from different projects to more easily read each other’s code which makes further development easier. It should also make it easier for new developers to transition into the space and create smart contracts because many of these standards will apply to most tokens meaning there isn’t a steep learning curve to enter.
-
The core functions outlined by the article in the ERC20 Token Standard Interface are balanceOf(), transfer(), approve(), transferFrom(), and allowance().
-
The function balanceOf() will return the number of tokens in a given address.
-
The function transfer() will transfer a specified number of tokens from one address to another.
-
The function approve() gives another address approval to transfer a certain amount of funds from the given address. This is usually how smart contracts are give permission to take the necessary funds needed to perform requested operations .
-
The function allowance() is the maximum amount that’s allowed to be transferred by another address via the approve() function.
-
And transferFrom() is the function that is actually invoked to perform the transferring of funds by another address.