7

Front-End Decentralized Application

In this chapter, we will learn how to write a front-end decentralized application using a Python Graphical User Interface (GUI) library. In the previous chapter, you wrote the voting smart contract using Vyper. However, using the voting smart contract with scripts is not convenient. We will, thus, build the GUI application on top of this smart contract to make the application easier to use.

The following topics will be covered in this chapter:

  • Using the voting smart contract with scripts
  • Installing the PySide library
  • Creating the GUI application
  • Connecting the GUI application with the smart contract

Technical requirements

To follow this chapter, you need one of the more recent versions of Linux and Python ...

Get Hands-On Blockchain for Python Developers - Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.