Open Evanfeenstra opened 8 months ago
@ecurrencyhodler The payout comes from the org, but an actual notification of the payout can be broadcast to any tribe.
Does this make sense? Do we need the notifiction?
@Evanfeenstra Interesting.
I guess we could embed a message in the keysend that says "Congratulations! X just completed their first bounty. Here is your referral bonus!"
But I think let's stick with posting it to a tribe. We may want to do some engagement stuff with the notification later such as a meme / picture / making the message public or private for others to see.
Context
referrals for hunters
Design
After you complete your FIRST bounty, check if you have a
referred_by
value on your Person record.Trigger a payout to the referred by guy via the org. (Bounty Platform org)
Trigger a message to the bot
Post to the REFERRAL_BOT_URL with the above JSON data