Merge Request - Referral System Support for Condenser (hive.blog)

in #hive4 years ago (edited)

Gotta a few hours to spare and added support for the Open Standard for a HIVE Account Referral System to the Condenser frontend which is currently used on https://hive.blog as many of you know.

badge_developingonhive_dark_240.png

Since these changes are not live yet and the repository owner has to decide if to accept the merge request or not - I would love to give you an overview about the changes.

Link to Merge Request: https://gitlab.syncad.com/hive/condenser/-/merge_requests/70


Default Beneficiaries For Referred Accounts

When a new account, which was referred before creates a post, the suggested beneficiaries will be default settings now. For all other accounts, nothing will change.

image.png

In this sample the following json_metadata where set for the new referred account:

{
   "beneficiaries": [
      {
         "name":"roomservice",
         "weight":300,
         "label":"referrer"
      },
      {
         "name":"tipu",
         "weight":100,
         "label":"creator"
      },
      {
         "name":"hiveonboard",
         "weight":100,
         "label":"provider"
      }
   ]
}

These values are now set as default when creating a post.
image.png

Abuse Prevention

I've added some additional rules for the beneficiaries in order to be accepted on condenser:

  • Maximum weight for referrer = 300
  • Maximum weight for creator = 100
  • Maximum weight for provider = 100

If anyone creates an account with higher fees than this, it won't be accepted and not set as a beneficiary.

Opt-Out Option

As a requirement of the Open Standard everyone who was referred by this system, has a choice to opt-out.
I've added such an option to the Preferences where it can be changed at any time.

image.png

Test Run

In order to test everything out, I've created a new account @referral-tester where you can inspect all the stuff, which has happened on the chain.

Reference User: https://hiveblocks.com/@referral-tester

Post with Referral System enabled:
https://hive.blog/testing/@referral-tester/test-post-for-open-standard-for-a-hive-account-referral-system
image.png

Post with Referral System disabled:
http://localhost:8080/testing/@referral-tester/45keom-test-post-for-open-standard-for-a-hive-account-referral-system
image.png

200 HIVE Bounty for the first dApp Adoption still available

As mentioned in my last post I put a 200 HIVE bounty up to the first dApp which integrates the Open Standard for a HIVE Account Referral System. Since it makes no sense to send funds to myself, the bounty is still in place, even if this merge request will be accepted.

Looking Forward

If the Merge Request would be accepted it would be a great success for evolving the Referral System and will create incentives for everybody to onboard new people to HIVE!


This is @roomservice and when you like my work, I would be glad to be your witness: Vote here

Sort:  

Hopefully all the dapps will add this. Referrals make way more sense when we get a beneficiary from them.

Hi @roomservice,

We are interested in integrating your referral system into https://d.buzz

Can you list our Dapp as the micro-blogging platform for HIVE on http://hiveonboarding.com ?

P.S. You can contact us via Discord.

~ @dbuzz

Alright, just added https://d.buzz to the whitelist of @hiveonboard.

You can use this kind of link:
https://hiveonboard.com/create-account?ref=dbuzz&redirect_url=https://d.buzz

After SignUp the user will be redirected to d.buzz automatically and my bot will send you a memo with the account who signed up with this link.

This is awesome! After feedback and review I hope it is added to Hive.blog and Peakd

Awesome! :D

Congratulations @roomservice! You have completed the following achievement on the Hive blockchain and have been rewarded with new badge(s) :

You received more than 1500 upvotes. Your next target is to reach 1750 upvotes.

You can view your badges on your board And compare to others on the Ranking
If you no longer want to receive notifications, reply to this comment with the word STOP

To support your work, I also upvoted your post!

Great one, it's good to improve hive.blog along with others because that's the face of Hive

Does tip u share their revenue from this with its delegators ? And is there an option or system in place for anyone to list their tokens ?

@roomservice I love this awesome feature to make hive better. People like us that refer new users will want to start using these features right away if possible

Awesome Job! Keep up the great work.

great work!

Great stuff!