kalepail / stellar-quest-bounties

Stellar Quest Bounties is an extension of the traditional, series based Stellar Quest challenges allowing seasoned and passionate Stellar Questers to continue their journey of education and earning during the "lean times" between Stellar Quest series.
https://quest.stellar.org/bounties
23 stars 27 forks source link

Tip bot by orsab #177

Closed orsab closed 2 years ago

orsab commented 2 years ago

Link the bounty file

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

Mark your progress

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
  5. If member not have the Stellar account - will be DM message with instructions how to create. Lobstr by default
  6. If member don't have the trustline - custodian account will send Claimable Balance with BEAR token and notify the member in DM
  7. Ability link Stellar account by slash command '/link GJSH...'
LorDDark6660 commented 2 years ago

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

orsab commented 2 years ago

Hi, let me know if you have any questions or bugs to report.

On Thu, 3 Mar 2022, 4:04 PM LorDDarK, @.***> wrote:

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

— Reply to this email directly, view it on GitHub https://github.com/tyvdh/stellar-quest-bounties/issues/177#issuecomment-1058072883, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEKCP4AKZ7VE22NVCL25JBLU6DBFHANCNFSM5PDX2TXA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you were mentioned.Message ID: @.***>

silence48 commented 2 years ago

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

orsab commented 2 years ago

Hi, updated the code now.

orsab commented 2 years ago

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

@silence48 @LorDDark6660

LorDDark6660 commented 2 years ago

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 👍

orsab commented 2 years ago

@ElliotFriend Hi, when this bounty can be closed?

silence48 commented 2 years ago

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

ElliotFriend commented 2 years ago

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