I’ve been recording walk through of “Ethereum: reate your own crypto-currency” for the last 4 posts. Today, I will show you how to deploy the full code and mint your crypto currency.
In the last walk through, I set my own token name, symbol, total limit etc when copy&pasting the contract. However, minting your contract happens after you deploy the contract by selecting the MintToken function.
Once you select the function, add your user account address, type Mint amount, boom! The miracle Token watcher tells me that my supply is increased!!
One thing I am not so sure is versioning. In the example code, the startup (MyToken) function takes the following field.
However, creating new contract with same name and different versionOfCode does not seem to do anything special. For the testing purpose, I created identical “Hello” contract with different symbole and version number. The result? It treated each contract individually.
This leads to more generic question. How do people tidy up old contracts?
I now have so many through away contracts which is cluttering my Wallet a lot (as opposed to Tokens, you seem to be able to simply delete them).