In this chapter, we are going to learn how to write a decentralized application that has a GUI frontend. This is a desktop decentralized application. People can interact with a smart contract using buttons and text fields. It is a step forward from the Truffle console or a web3.py script. While writing this GUI frontend, we will learn about the best practices when dealing with a smart contract, which are how to deal with latency and how to provide added value in a decentralized application.
We are going to learn about the following topics in this chapter:
- Setting up the Qt GUI library
- Installing Qt for Python
- Crash course on Qt for Python
- Writing the smart contract for the Twitter-like application
- Building the GUI for the Twitter-like application