damus icon indicating copy to clipboard operation
damus copied to clipboard

Zap Polls [Feature Request][Enhancement]

Open alltheseas opened this issue 2 years ago β€’ 1 comments

User Story

As a pleb using Damus who would like to test a question with the other plebs AND have other plebs put sats where their mouth is, I would like to create a Zap Poll, so that I can learn the preference and sage wisdom of the plebs by testing their resolve to part with their precious sats.

Acceptance Criteria

  1. Pleb has capability to create a poll that allows pleb to specify a single question, and
  2. Poll has two (2) to four (4) choices, and
  3. Poll sports a default time out timer of 144 blocks (approximately 24 hours in fiat time), and
  4. Time out timer is displayed (12 hours remaining til poll close), and
  5. Poll does not show results prior to voting (as not to influence the independent judgment of the plebs), and
  6. Poll contains answer counter ["55 plebs have voted"], and
  7. Upon expiration of timer, poll is labeled "finished", and results are displayed [A: 80%; B: 16%; C: 3%; D: 1%], and
  8. Plebs Zap voting on the poll must part with one (1) satoshi if they vote, and
  9. Zap poll & one (1) sat per vote price is clearly displayed to the voting plebs, and
  10. Sats go to the poll creator.

This story relates to Free Polls #401

alltheseas avatar Jan 26 '23 17:01 alltheseas

Free Polls PR: https://github.com/damus-io/damus/pull/243

alltheseas avatar Jan 31 '23 15:01 alltheseas

Nostr protocol Polls RFC https://github.com/nostr-protocol/nips/pull/320

alltheseas avatar Mar 06 '23 03:03 alltheseas

@toadlyBroodle interested in implementing zap polls for damus ser πŸ™

alltheseas avatar Apr 04 '23 16:04 alltheseas

Polls on amethyst PR:

https://github.com/vitorpamplona/amethyst/pull/321

alltheseas avatar Apr 04 '23 17:04 alltheseas

Feedback from amethyst polls user sersleepy:

can polls have their own notifications tab like zaps do πŸ™ just seen it’s a mess on amethyst notifications

https://damus.io/note1y7pwa9ye3gx4uqcwu6vefek3mdfh7c588uf493c5hwmpc97epy7s595rm4

alltheseas avatar Apr 04 '23 17:04 alltheseas

200k sats bounty added by Gek on nostr: https://damus.io/note12tdvrnwn56yh7s0ysuf6tlhekdk5eplu9xxpwfx80zzv2xk9kndqkydqc6

alltheseas avatar Apr 04 '23 18:04 alltheseas

Unclear if apple allows zapping polls due to zap ban

alltheseas avatar Jun 26 '23 20:06 alltheseas

On Mon, Jun 26, 2023 at 01:02:55PM -0700, alltheseas wrote:

Unclear if apple allows zapping polls due to zap ban

anything zapping content is not allowed. this includes zap polls

jb55 avatar Jun 28 '23 13:06 jb55