- What are the benefits of setting a token standard like ERC20?
A standard creates less friction since everybody is following the same language for creating the token. That means that all wallets only need to now how to read that language to interact with the token, instread of having to learn a many different ones. Easier for the community to learn how to make a token that can actually be used by the systems allready in pleace.
- What functions are in the ERC20 Token Standard Interface and what do they do?
- There are 9 functions defined in the ERC 20 standard:
function name : Returns the name of the token.
function symbol : Returns the symbol of the token.
function decimals : Returns the number of decimals the token uses.
function totalSupply : Returns the total token supply.
function balanceOf : Returns the account balance of another account.
function transfer : Transfers an amount of tokens to a specific address.
function transferFrom : Transfers an amount of tokens from address X to address Y.
function approve : Allows the spender to withdraw from your account multiple times, up to a specific amount.
function allowance : Returns the amount which a spender is still allowed to withdraw from the owner.