thxprotocol / discord-bot

The THX Bot can be used to reward message authors with ERC20 tokens from a pool by reacting with certain emojies on their contributions in a channel.
Other
1 stars 2 forks source link

THX Discord App scope #1

Closed peterpolman closed 3 years ago

peterpolman commented 3 years ago

THX Discord App

You can use THX API to set up an asset pool for any application and embed features like rewarding users automatically for certain online behaviour. This is a rough description of how we would like to see THX API integrate with a Discord app. Further details and scope will be shared and discussed in a video call.

User Flow

The app admin should configure the app in Discord for a certain channel and with a certain asset pool address. Discord users should be able to connect their THX wallet address to the asset pool configured for the channel. When users write a message in the channel other users should be able to react with an emoji. If the emoji has a reward configured for it, the author of the message will receive the configured reward in their wallet.

User stories

API Methods

GET /asset_pools/:address Should be called to see if the set asset pool address is valid for the registered API client. Will return information about the pool token and balance.

POST /rewards Should be called to configure a reward for a certain Discord reaction. Admin should be able to provide a withdrawAmount in the Discord UI.

POST /members Should be called to add THX wallet address to the pool.

POST /rewards/:id/give Should be called when an emoji reaction for a message is created.

System Requirements

References

gitcoinbot commented 3 years ago

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


This issue now has a funding of 1440.0 USDT (1440.0 USD @ $1.0/USDT) attached to it as part of the thxprotocol fund.

gitcoinbot commented 3 years ago

@garfdev Hello from Gitcoin Core - are you still working on this issue? Please submit a WIP PR or comment back within the next 3 days or you will be removed from this ticket and it will be returned to an ‘Open’ status. Please let us know if you have questions!

Funders only: Snooze warnings for 1 day | 3 days | 5 days | 10 days | 100 days

GarfDev commented 3 years ago

I'm starting to work on this. Breaking requirements to tasks.

GarfDev commented 3 years ago

I'm done on estimating, using Kanban board to make this easier to track: https://www.notion.so/THX-Discord-App-39c8b7de2ad0459690ff1cb7872f01fe

gitcoinbot commented 3 years ago

@garfdev Hello from Gitcoin Core - are you still working on this issue? Please submit a WIP PR or comment back within the next 3 days or you will be removed from this ticket and it will be returned to an ‘Open’ status. Please let us know if you have questions!

Funders only: Snooze warnings for 1 day | 3 days | 5 days | 10 days | 100 days

gitcoinbot commented 3 years ago

@garfdev Hello from Gitcoin Core - are you still working on this issue? Please submit a WIP PR or comment back within the next 3 days or you will be removed from this ticket and it will be returned to an ‘Open’ status. Please let us know if you have questions!

Funders only: Snooze warnings for 1 day | 3 days | 5 days | 10 days | 100 days

gitcoinbot commented 3 years ago

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


@garfdev due to inactivity, we have escalated this issue to Gitcoin's moderation team. Let us know if you believe this has been done in error!

Funders only: Snooze warnings for 1 day | 3 days | 5 days | 10 days | 100 days

gitcoinbot commented 3 years ago

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


@garfdev due to inactivity, we have escalated this issue to Gitcoin's moderation team. Let us know if you believe this has been done in error!

Funders only: Snooze warnings for 1 day | 3 days | 5 days | 10 days | 100 days

GarfDev commented 3 years ago

Still working on this, tomorrow is the demo day

gitcoinbot commented 3 years ago

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


Work for 1440.0 USDT (1440.0 USD @ $1.0/USDT) has been submitted by:


gitcoinbot commented 3 years ago

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


The funding of 1440.0 USDT (1440.0 USD @ $1.0/USDT) attached to this issue has been approved & issued to @garfdev.

peterpolman commented 3 years ago

Thanks @GarfDev!