[Ethereum] How to track total supply of a currency (smart contract) on the Ethereum blockchain

contract-developmentetherexchange-apigo-ethereumtokens

For a newly created crypto currency based on the Ethereum blockchain, how can the creator and the public in general track the current total supply of the coin, provided he enables mining new coins on his currency, and how do you track the live market capitalization?

Best Answer

You can easily make new currencies on Ethereum by following the ERC 20 standard. If you follow this standard, other applications and people can easily interact with your token. This standard makes it very easy for people to read the total supply of the token. They simply call the totalSupply() function. Often the creator of these currencies starts out with the total supply of the currency on his own account and he can then attempt to start an economy by distributing his token or by promising to back them up with an asset that he owns.

Regarding mining: Are you sure you want mining as part of your token? Ethereum and Bitcoin gives the miners the native currency of the blockchain (ether/bitcoin) in order to incentivize them to secure the system by using their computing power. You do not need to secure your system since it is already secured as the rest of the Ethereum network.

See also: Once I have created my new Crypto Currency, how may miners mine for my currency?

Related Topic