Summary
In this chapter, we learned to develop a practical decentralized application for a useful smart contract. We built a voting application with which a user can vote for a specific proposal, using the Ape Framework. First, we wrote the smart contract. Then we created unit tests to make sure the voting smart contract works as intended. Finally, we covered the benefits of decentralized voting applications, what makes them different from traditional voting applications, and future improvements we could add to the voting application. In the next chapter, we’ll build a front-end application for a smart contract.