In this section, we will have a look at how we can deploy and test our ERC20 token, or cryptocurrency. We will have a look at some of the pitfalls and security concerns that you may encounter when you are transferring tokens, and we will look at the Solidity and JavaScript that will be required to transfer those tokens. We will also be testing them out using Ganache and MetaMask.
Deploying and testing ERC20 tokens
Deploying ERC20 tokens
First of all, we need some data to enter into the editor. In the MetaCoin.sol, we need to define a name, a symbol, the number of decimal places, and INITIAL_SUPPLY. We will also assign our INITIAL_SUPPLY to the totalSupply in the constructor. We will also give the creator of the token...