Skip to content

Simple TIP Bot #77

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
shawntabrizi opened this issue Oct 14, 2024 · 3 comments
Open

Simple TIP Bot #77

shawntabrizi opened this issue Oct 14, 2024 · 3 comments
Labels
enhancement New feature or request P4 Negligible Impact / Minor issue that doesn’t affect user base

Comments

@shawntabrizi
Copy link

shawntabrizi commented Oct 14, 2024

A simple TIP bot could be included into the project, allowing DAOs to discuss community members who have done things for Polkadot, and should receive a tip for that work.

Basic idea:

  • there should be a discord channel called "tips"
  • any user can create a new thread in that channel
    • perhaps with some limit, like only once per 24 hours, but people in the DAO shouldnt spam anyway, or they would be kicked out.
  • the beginning of the thread should be some evidence or text of the work the person has done, and include the tip recipient's address
  • other members of the dao submit a post with a "tip" amount.
    • for example tip: 10 DOT or tip: 0 DOT
    • perhaps we should allow a justification string aswell
  • The bot then waits 48 hours or for everyone to vote, and uses the median value to determine how much to tip.
    • Perhaps the bot shows the mean, median, mode
  • The bot then opens a tip for that amount using the DAO account, and votes AYE on the tip.
    • perhaps all "justification" strings are included in the tip anonymously to give context on why the DAO has decided to tip
  • A configurable % of the tip can be shared with the tip proposer, to incentivize the creation of tips.

Something like this. Would be happy to contribute if I was given some starting code on entry point to write the logic.

@shawntabrizi
Copy link
Author

Basically a more "voting" based version of: https://github.com/paritytech/substrate-tip-bot

The original version of the app was very simple, and i think this would be relatively simple too: https://github.com/paritytech/substrate-tip-bot/blob/5cadc69aefbd990ecf5d5f0d1a9c6f3cb38139e3/index.js

@Nadro-J
Copy link
Collaborator

Nadro-J commented Oct 15, 2024

I don't think it would be too hard to implement this :) the median value is probably the most fiddly part to do but everything else should be do-able

One of the things I've been working on in parallel is a mechanism that allows users with a specific discord role to submit feedback on a referendum and for other users with the same role to either approve or deny the request (loosely based off multisig thresholds). If approved the post is made, otherwise it's denied and nothing gets posted.

The same logic could potentially be applied to a tip-bot. I don't think you can limit how many times a person can create a thread on Discord but you can certainly set limitations on commands so a user could only use /tip once every X amount of hours/days.

image

image

@shawntabrizi
Copy link
Author

shawntabrizi commented Oct 15, 2024

Feedback form is a great idea.

Maybe over-engineering, but allowing AI to summarize the conversation inside a thread about a proposal might get similar results automatically :)

Prompt could be: "Take this discord thread, and summarize the conversation into 3 groups: pros, cons, neutral."

I guess the most important think is to keep anonymity, and letting the DAO control when the post happens.

@Nadro-J Nadro-J added enhancement New feature or request P4 Negligible Impact / Minor issue that doesn’t affect user base labels Mar 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request P4 Negligible Impact / Minor issue that doesn’t affect user base
Projects
None yet
Development

No branches or pull requests

2 participants