Building a Practical Decentralized Application
In this chapter, we will learn how to build a practical decentralized application. We’ve learned the bolts and nuts of the Vyper language. We’ve used the Ape Framework to build and deploy smart contracts onto the blockchain. Now, it’s time to write a program on the blockchain. Then, we’ll see the values in the decentralized program that we’re going to build.
The application that we’re going to build is a voting application. Many people will find this application useful for finding solutions to many issues. The nature of voting requires the application to be secure from tampering. We’ll see why the importance of the decentralized nature of the application is paramount.
The following topics will be covered in this chapter:
- Writing the voting smart contract
- Writing the unit test of the voting smart contract
- Adding the delegation to the voting smart contract
- The values...