Project goal: сhoose a new director by the method of voting of all employees.
To work with this project, you need a MetaMask extension for browsers. Assume that we have a firm in which there are, for example, n employees. Let k employees nominated their candidacy to become the director (1 < k < n). Of these, we have to choose a director. If you want to see all the events that will be done next, click on the "Events" button.
First of all, you will need to join the vote. To do this, press the "Connect from voting" button. Every worker can nominate his candidacy to become a director. If you want to do it, press the "Nominate the candidacy" button.
The next stage is the voting. To vote, you should click the "Vote for" button, enter the address of the employee for whom you want to vote and click the "Submit" button. You can vote
- for another employee
- for yourself
- against everyone (to do it enter the address that does not belong to any participant)
All employees should take part in the voting for the new director. To see if all the workers have voted, click on the "Check if all vote" button. To identify a new director, click on the "Results" button and then you can сlick to "Director" button to see who won in this voting.