In this chapter, you have learned how to create a real-world application where blockchain technology can shine. This real-world application is a voting application. From a simple voting smart contract where every account can vote, we gradually created a voting application in which only certain accounts can vote using a token system. When building this voting smart contract, we also learned about how to write a script to deploy a smart contract with constructors. After deploying a smart contract, we also learned a feature from smart contracts, which is an event. In a web3 script, we subscribe to this event to learn about things that interest us. Finally, we created helper scripts to create many accounts and send money to other accounts for development purposes.
In the next chapter, you are going to create a frontend for your web3 script. You are going to build a proper...