Create a Poll
Requirements
You need to be logged in to the admin web app with the account of a chairperson. Read the Connecting Metamask section for help.
warning
The browser must display time inputs in 24 hours
format and not am/pm
for the application to work.
Steps
- Click on the
Create Poll
button in the top right. - Enter the title of the poll you want to create.
- Choose how many vote options there should be (between 2 and 5), and what those vote options should be.
- Enter the opening, closing and tallying time.
- Enter the content hash. (Feature not fully finished; just enter
0x42bb176eb31c9c20c3889601d6533eb9e7de06a6040dd2f9ea73381c5b21e0ce
as a value so the blockchain doesn't reject the transaction) - Enter the RSA public key you created before in the
Public Key
field. (You can simply rename thepublic_key.pem
file topublic_key.txt
and then copy the key from there. You need to copy everything from inside thepem
file.) - Finally, click on submit. A Metamask pop-up should appear, asking you to confirm the transaction. After you clicked confirm, you can go back to the poll overview.
After the transaction is processed, the polls overview page should refresh and display the new poll.