ERC 20 token is a standard for issuing tokens with Ethereum, and by issuing a token conforming to ERC20, simplification of exchange between different tokens has been realized. In addition, we can manage tokens collectively by utilizing ERC 20 compatible wallet. ERC stands for Ethereum RFC and ERC 20 stands for the 20th specification. Representative ERC 20 tokens include 0x, Augur, OmiseGo and others.
Requirements for creating ERC 20 tokens are defined, and seems to be able to issue tokens by implementing the following six methods and two events.
fucntion totalSupply() constant returns(unit totalSupply); function balanceOf(address _owner) constant returns (unit balance); function transfer(address _to, unit _value) returns (bool success); function transferFrom(address _from, addess _to, unit _value) returns (bool success); function approve(address _spender, unit _value) returns(bool success); function allowance(address _owner, address _spender) constant returns (unit remaining); event Transfer(address indexed _from, address indexed _to, unit _value); event Approval(address indexed _owner, address indexed _spender, unit _value);