In previous chapters, we learned about Ethereum, Solidity, creating smart contracts from scratch, using MetaMask, Remix IDE, Truffle, and much more. In this chapter, we are going to use all the tools and techniques that we learned so far to create our own ERC20 standard token from scratch and sell its tokens using a crowdsale ICO (short for Initial Coin Offering).
We will build a smart contract for our ERC20 standard token using the OpenZeppelin libraries. Investors will be able to buy tokens from ICO smart contracts and, in return, they will receive newly minted tokens.
We will cover the following topics in this chapter:
- Building the features of our token from scratch
- Choosing the appropriate OpenZeppelin libraries to use
- Creating an ICO smart contract for our token
- Writing test cases for our smart contract
- Deploying a contract...