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

A privacy friendly referral program #62

Merged
merged 10 commits into from
Mar 6, 2022

Conversation

Reckless-Satoshi
Copy link
Collaborator

@Reckless-Satoshi Reckless-Satoshi commented Mar 5, 2022

It is clear a method for organic growth is needed. Referrals are the most appropriated ones. I will be working on implementing a referral program starting today.

  • Profile pop up shows your robot's referral link and rewards accumulated.
  • Tapping on rewards allows you to submit a LN invoice to withdraw them.
  • A new user landing in the homepage from a referral link will create a robot that is_referred=true
  • At trade time, the referred robots has an extra flat fee (e.g. 100 Sats, in concept of tip to his referee)
  • Everyday midnight rewards are added up to the balance of the referees.

Why this set up? Mostly to limit spying with referral links and avoid exploits:

  1. Flat reward: so those who send link cannot know the size of the trades.

  2. Balance reflected at midnight: so those who send link cannot know when the trades happened

  3. The new user tips his referee: so this feature cannot be exploited to make the platform run into loses by automating bot creation and self-referrals.

Of course, this is just a start. Most important is to implement the system. Parameters can be changed later :)

@Reckless-Satoshi Reckless-Satoshi linked an issue Mar 5, 2022 that may be closed by this pull request
@Reckless-Satoshi Reckless-Satoshi changed the title Display total book liquidity in summary stats A privacy friendly referral program Mar 5, 2022
@Reckless-Satoshi Reckless-Satoshi merged commit aa89fa6 into main Mar 6, 2022
@Reckless-Satoshi Reckless-Satoshi deleted the 38-a-privacy-friendly-referral-program branch July 19, 2022 18:25
@turizspace turizspace mentioned this pull request Aug 26, 2023
1 task
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

A privacy friendly referral program.
1 participant