stakwork / sphinx-tribes

Backend for sphinx tribes and bounties. The bounty platform pays out in bitcoin. Sign up with Sphinx Chat, complete a bounty, and earn bitcoin! Go to our website for available bounties.
https://community.sphinx.chat/bounties
33 stars 60 forks source link

Create notification system to users of the bounty platform #815

Open ecurrencyhodler opened 1 year ago

ecurrencyhodler commented 1 year ago

One useful feature for us to have is a way to communicate to all members of the bounties platform. We can do this from relay and grab the pubkeys of profiles from the website. The message should be:

  1. DM a new user
  2. Send subsequent messages to the same user
  3. Send payments
  4. Send text
  5. Encrypted messages
  6. Logs for failed messages
  7. Ability to distinguish provider from hunter

v1

v1 of this will be to send a payment to users without text. This way we don't need to encrypt any messages. This will also be triggered when a bounty is marked as paid ONLY through the org. When someone "marks as paid" manually, they are coordinating out of band so it isn't necessary to update them. Lastly, there should be logs of failed or success messages so we can debug as there will be edge-cases where these messages are likely to fail such as neutrino users.

v2

v2 should enable text messages to be sent along with payments. We should also enable for the ability to send other messages outside of payments and to be triggered by other key events that will be determined at a later date. An example would be to send an image with a CTA asking them to share they got paid on social media.

v3

It should also have an option inside of swarm admin to send a message to segmented users.

ecurrencyhodler commented 11 months ago

Another idea we discussed was creating a bot inside a tribe for notifications.

Here is another extension of that idea: https://github.com/stakwork/sphinx-relay/issues/429