This is our research project product, the ZKP vote system with GUI
This project is based on libsnark and fltk, please make sure you download them before use it!
Project Environment: Ubuntu 20.04
How to use this vote system?
First, install the fltk by command: sudo apt install libfltk1.3-dev
Second, install the libsnark library: https://github.com/scipr-lab/libsnark. Please follow its README to install.
Third, after installing the libsnark, you will have a directory called libsnark; go to /libsnark/libsnark/, then download the directory "vote" in this project into your /libsnark/libsnark/
After those, you can build the full environment by command cmake .. and then make in the directory /libsnark/build/
To run the whole project, run the command ./window in directory /libsnark/build/libsnark/
To run the process program, run the command ./main_vote in directory /libsnark/build/libsnark/
If you failed with user log in or registration, please check if you have "user_list.txt" or "voting_record.txt"
If you do not know how to change the Cmake list for execution of the code, please copy the CMakeLists.txt in this project and paste into the file /libsnark/libsnark/CMakeLists.txt
Hope you enjoy this simple ZKP vote system!