I am trying to create my own token and confused a bit. As I understood from the documentation all information about adresses and tokens amount is stored inside contract (ERC20 - mapping(address => uint256) balanceOf
). But somebody says to me that token could be sold using services like myetherwallet by uploading wallet. That is weird.
So my questions are following:
Am I right that once contract implemented ad uploaded ALL information about token transfers, sells and buys stored in the contract itself?
How understand statement like "myetherwaller supports ...coin"? Does it means that I can sell tokens outside contract?
How to make my token world-wide-available? Or just need to provide a way to exchange ETH -> Token?
Am I right that token name could be any, even duplicate existing one, but shortname (ERC20
symbol
) must be unique?
balances[A] -= x; balances[B] += x;
How you choose to give out tokens is up to you.