Skip to content
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

Tip bot by orsab #177

Closed
3 tasks done
orsab opened this issue Feb 23, 2022 · 9 comments
Closed
3 tasks done

Tip bot by orsab #177

orsab opened this issue Feb 23, 2022 · 9 comments

Comments

@orsab
Copy link
Contributor

orsab commented Feb 23, 2022

Link the bounty file

https://github.com/tyvdh/stellar-quest-bounties/blob/main/bounties/level-2/tipbot.md

Mark your progress

  • 🔵  Started working
  • 🟢  Ready for review
  • 🟣  Review completed

Provide relevant details

Repo: https://github.com/orsab/stellar-bounty-tipbot
Demo: https://discord.gg/eBQMcwkhPx

Started with tip-bot, also I consider to change some logic for more usability:

  1. Create addition role 'Sponsor' with ability to tip members
  2. Only Admin can add role 'Sponsor'
  3. Sponsors can use custodian wallet to pay the members with BEAR token
  4. Available types to tip:
  • by slash command, like: '/tip amount:50 user:@orsab'
  • by reacting the message with emojis specified in the bounty
  1. If member not have the Stellar account - will be DM message with instructions how to create. Lobstr by default
  2. If member don't have the trustline - custodian account will send Claimable Balance with BEAR token and notify the member in DM
  3. Ability link Stellar account by slash command '/link GJSH...'
@LorDDark6660
Copy link
Contributor

Great job, I haven't discovered any bugs yet, I'll test all the features tonight.

@orsab
Copy link
Contributor Author

orsab commented Mar 3, 2022 via email

@silence48
Copy link
Contributor

Hey I didn't notice this! I am going to try it out tonight will let you know any input!

@orsab
Copy link
Contributor Author

orsab commented Mar 25, 2022

Hi, updated the code now.

  • Don't forget link the member before tip.
  • All notifications by bot are inside the private manages, because ephemeral messages are delete automatically after some time.

@orsab
Copy link
Contributor Author

orsab commented Mar 26, 2022

Updated issuer account and issue script, some bugs are fixed too

@silence48 @LorDDark6660

@LorDDark6660
Copy link
Contributor

LorDDark6660 commented Mar 27, 2022

I just tested the demo and everything works as it should, I joined as a sponsor, linked stellar address, I sent a tip and claim BEAR CB, for me 👍

@github-actions github-actions bot added award and removed review labels Mar 27, 2022
@orsab
Copy link
Contributor Author

orsab commented Apr 19, 2022

@ElliotFriend Hi, when this bounty can be closed?

@silence48
Copy link
Contributor

I tested in discord and it seemed to work as intended!

@ElliotFriend
Copy link
Collaborator

Hey, everyone!

Sorry for the delay on this one. Finally got your payouts processed!

bac1ba1b2f7527f903c5f908418a78e88b90d5cd0723138745f87b2a331679af

Thanks for the hard work and dilligence! @orsab @LorDDark6660 @silence48

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants