Summary
In this chapter, we started by writing scripts to interact with the voting smart contract developed in the previous chapter. We noticed that interacting with smart contracts by using scripts is clumsy and not user friendly. Then, we installed the PySide
library in order to write a decentralized frontend application for our voting smart contract. We learned about the library by building small GUI applications and understood the way to compose widgets and callbacks. After that, we built the GUI application for choosing proposals from the smart contract. But there is so much to building frontend applications that this chapter is not enough to explain all of them. So, let’s build another frontend application. In the next chapter, we’re going to build a simple Ethereum wallet to learn more about building frontend applications.