pokt-network / bounties

0 stars 0 forks source link

Pocket Network DAO Global Bounty - Build an Off-chain Discord Voting Bot #2

Open larrybird0x opened 3 years ago

larrybird0x commented 3 years ago

Pocket Network DAO Global Bounty - Build an Off-chain Discord Voting Bot

Prize Bounty

500 DAI + 3000 POKT

Estimated Time Commitment

1 day

Challenge Description

We already have token-gated Discord role management using tools like Collab.Land and Agora.Space and emoji reaction voting using tools like the Aragon Witnet integration. However, we can't use these token-gated roles for emoji voting unless voting takes place in a private channel, which is less transparent for non-voting members of the community. Discord can gate the permission to add a new emoji to a message but not to +1 an existing emoji, so even non-role-holders can add their reaction and thus render the count useless, unless we can somehow count the role-holders that reacted...

Starboard is a popular Discord bot that is used to surface highlights in servers, by measuring the number of reactions of a specified emoji and, when a specified emoji count is reached, embedding links to the message in another read-only channel. In theory, we could fork this bot and add more complex rules about when the threshold is satisfied, such as:

Note: This all relies on being able to see the roles of members who reacted and we're not 100% sure that Discord's API exposes this data. This should be confirmed before diving deeper down the rabbit hole. See the DiscordJS ReactionManager docs linked below.

The bot could allow us to configure the following options using commands/reactions in Discord (already included in Starboard codebase):

The bot could also have features such as:

Submission Requirements

A working MVP that can restrict the vote count to specified roles and do majority voting (% of role-holders), per the description above, then cross-post successful proposals to a specified channel.

Judging Criteria

If there are multiple submissions, we'll award the bounty to the submission that includes most of the functionality outlined above, with more weight given to functionality that enables more variety of voting use cases and/or is harder to implement.

Deadline for Submissions

12th Nov

Winner Announcement Date

15th Nov

Resources

gitcoinbot commented 3 years ago

Issue Status: 1. Open 2. Started 3. Submitted 4. Done


This issue now has a funding of 500.0 DAI (500.0 USD @ $1.0/DAI) attached to it.

gitcoinbot commented 3 years ago

Issue Status: 1. Open 2. Started 3. Submitted 4. Done


Work has been started.

These users each claimed they can complete the work by 1 month, 3 weeks from now. Please review their action plans below:

1) hathoriel has started work.

Off-chain Discord Voting Bot

Learn more on the Gitcoin Issue Details page.

gitcoinbot commented 3 years ago

Issue Status: 1. Open 2. Started 3. Submitted 4. Done


Work for 500.0 DAI (500.00 USD @ $1.0/DAI) has been submitted by:


gitcoinbot commented 3 years ago

Issue Status: 1. Open 2. Started 3. Submitted 4. Done


Work for 500.0 DAI (500.00 USD @ $1.0/DAI) has been submitted by:

  1. @akashjha011

@larrybird0x please take a look at the submitted work: