RE
Hi, I am doing some tests and facing problem with total supply and with option to have 100% of coin. For example I want to create 1.000000 (million) coins and have all of of them. Also decimal places 18. What values I need change in: balances[msg.sender] = 1000000000000000000000; // Give the creator all initial tokens. This is set to 1000 for example. If you want your initial tokens to be X and your decimal is 5, set this value to X * 100000. (CHANGE THIS) totalSupply = 1000000000000000000000; // Update total supply (1000 for example) (CHANGE THIS) Thanks, STF
ReplyArticleJan 21, 20181How to build your own Ethereum based ERC20 Token and launch an ICO in next 20 minutes