Poll Form + Signing Proof Of Concept
Closed this issue · 3 comments
apbendi commented
An initial iteration of the Create Poll screen, with associated field inputs, plus the ability to:
- Hash the collective data that represents the poll
- Sign an EIP-712 message with this hash via web3 enabled browser
Create Poll
- Requires web3 connection to pull address
- After connection, show form with the following fields
- Poll Title
- Poll Description
- Poll Options
- Valid POAP Event Tokens - Some kind of searchable/auto-completing drop down style control, after adding one, click “+” to add N more with “x” to remove as well
- Start Date
*End Date
- Sign Button brings up MetaMask to sign attestation
- Submit button becomes clickable only after signature
- Posts to endpoint and then displays errors or redirects to new poll page
mds1 commented
@apbendi During poll creation, when selecting valid POAP event tokens, should all POAP tokens be available as options, or only ones held by the user creating the poll?
For example maybe I want to poll EthCC attendees even though I didn't go to EthCC—I can create a poll requiring an EthCC POAP token, but I just can't vote on that poll
apbendi commented
Yes, all POAP tokens should be available regardless of what is held by the Polltaker.
… On Apr 8, 2020, at 10:20 AM, Matt ***@***.***> wrote:
@apbendi During poll creation, when selecting valid POAP event tokens, should all POAP tokens be available as options, or only ones held by the user creating the poll?
For example maybe I want to poll EthCC attendees even though I didn't go to EthCC—I can create a poll requiring an EthCC POAP token, but I just can't vote on that poll
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.