create account

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

View this thread on: hive.blogpeakd.comecency.com
· @roomservice · (edited)
$83.88
Merge Request - Referral System Support for Condenser (hive.blog)
Gotta a few hours to spare and added support for the [Open Standard for a HIVE Account Referral System](https://peakd.com/hive/@hiveonboard/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](https://files.peakd.com/file/peakd-hive/roomservice/ZzYoHWaX-badge_developing-on-hive_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](https://files.peakd.com/file/peakd-hive/roomservice/O4tVd282-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](https://files.peakd.com/file/peakd-hive/roomservice/5ADgTlmh-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](https://files.peakd.com/file/peakd-hive/roomservice/74ySAgBC-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](https://files.peakd.com/file/peakd-hive/roomservice/7piqMIXq-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](https://files.peakd.com/file/peakd-hive/roomservice/t2CMIgp7-image.png)

#### 200 HIVE Bounty for the first dApp Adoption still available
As mentioned in my [last post](https://peakd.com/hive/@hiveonboard/feature-update-hive-referral-tracker) 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](https://vote.hive.uno/@roomservice)**
👍  , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , and 145 others
👎  
properties (23)
authorroomservice
permlinkmerge-request-referral-system-support-for-condenser-hive-blog
categoryhive
json_metadata{"app":"peakd/2020.05.5","format":"markdown","image":["https://files.peakd.com/file/peakd-hive/roomservice/ZzYoHWaX-badge_developing-on-hive_dark_240.png","https://files.peakd.com/file/peakd-hive/roomservice/O4tVd282-image.png","https://files.peakd.com/file/peakd-hive/roomservice/5ADgTlmh-image.png","https://files.peakd.com/file/peakd-hive/roomservice/74ySAgBC-image.png","https://files.peakd.com/file/peakd-hive/roomservice/7piqMIXq-image.png","https://files.peakd.com/file/peakd-hive/roomservice/t2CMIgp7-image.png"],"links":["/hive/@hiveonboard/open-standard-for-a-hive-account-referral-system","https://hive.blog","https://gitlab.syncad.com/hive/condenser/-/merge_requests/70","/@referral-tester","https://hiveblocks.com/@referral-tester","https://hive.blog/testing/@referral-tester/test-post-for-open-standard-for-a-hive-account-referral-system","http://localhost:8080/testing/@referral-tester/45keom-test-post-for-open-standard-for-a-hive-account-referral-system","/hive/@hiveonboard/feature-update-hive-referral-tracker","/@roomservice","https://vote.hive.uno/@roomservice"],"tags":["hive","condenser","marketing","dapps","referral","developer"],"users":["hiveonboard","referral-tester","roomservice"]}
created2020-06-14 17:29:06
last_update2020-06-14 17:30:00
depth0
children13
last_payout2020-06-21 17:29:06
cashout_time1969-12-31 23:59:59
total_payout_value43.850 HBD
curator_payout_value40.032 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length3,632
author_reputation11,573,428,661,334
root_title"Merge Request - Referral System Support for Condenser (hive.blog)"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id97,963,350
net_rshares174,063,270,589,295
author_curate_reward""
vote details (210)
@bobskibob ·
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 ? 
properties (22)
authorbobskibob
permlinkre-roomservice-2020615t9916447z
categoryhive
json_metadata{"tags":["hive","condenser","marketing","dapps","referral","developer"],"app":"esteem/2.2.5-mobile","format":"markdown+html","community":"hive-125125"}
created2020-06-15 07:09:18
last_update2020-06-15 07:09:18
depth1
children0
last_payout2020-06-22 07:09:18
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length139
author_reputation9,906,780,416,788
root_title"Merge Request - Referral System Support for Condenser (hive.blog)"
beneficiaries
0.
accountesteemapp
weight300
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id97,973,893
net_rshares0
@cadawg ·
Awesome Job! Keep up the great work.
properties (22)
authorcadawg
permlinkre-roomservice-qbz198
categoryhive
json_metadata{"tags":["hive"],"app":"peakd/2020.05.5"}
created2020-06-15 14:22:21
last_update2020-06-15 14:22:21
depth1
children0
last_payout2020-06-22 14:22:21
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length36
author_reputation100,771,927,095,688
root_title"Merge Request - Referral System Support for Condenser (hive.blog)"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id97,979,894
net_rshares0
@codingdefined ·
Great one, it's good to improve hive.blog along with others because that's the face of Hive
properties (22)
authorcodingdefined
permlinkre-roomservice-2020615t81152142z
categoryhive
json_metadata{"tags":["hive","condenser","marketing","dapps","referral","developer"],"app":"esteem/2.2.5-mobile","format":"markdown+html","community":"hive-125125"}
created2020-06-15 02:41:54
last_update2020-06-15 02:41:54
depth1
children0
last_payout2020-06-22 02:41:54
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length91
author_reputation529,083,798,915,529
root_title"Merge Request - Referral System Support for Condenser (hive.blog)"
beneficiaries
0.
accountesteemapp
weight300
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id97,970,650
net_rshares0
@dbuzz ·
$0.03
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](https://discord.gg/4UWq5XB).

~ @dbuzz
👍  
properties (23)
authordbuzz
permlinkre-roomservice-qcd00d
categoryhive
json_metadata{"tags":["hive"],"app":"peakd/2020.05.5"}
created2020-06-23 03:21:51
last_update2020-06-23 03:21:51
depth1
children1
last_payout2020-06-30 03:21:51
cashout_time1969-12-31 23:59:59
total_payout_value0.017 HBD
curator_payout_value0.017 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length263
author_reputation276,817,987,330,091
root_title"Merge Request - Referral System Support for Condenser (hive.blog)"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id98,125,336
net_rshares159,502,505,873
author_curate_reward""
vote details (1)
@roomservice ·
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.
properties (22)
authorroomservice
permlinkre-dbuzz-qcdui6
categoryhive
json_metadata{"tags":["hive"],"app":"peakd/2020.05.5"}
created2020-06-23 14:20:33
last_update2020-06-23 14:20:33
depth2
children0
last_payout2020-06-30 14:20:33
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length326
author_reputation11,573,428,661,334
root_title"Merge Request - Referral System Support for Condenser (hive.blog)"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id98,132,990
net_rshares0
@focusnow ·
@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
properties (22)
authorfocusnow
permlinkqbyylq
categoryhive
json_metadata{"users":["roomservice"],"app":"hiveblog/0.1"}
created2020-06-15 13:25:06
last_update2020-06-15 13:25:06
depth1
children0
last_payout2020-06-22 13:25:06
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length160
author_reputation61,594,718,916,591
root_title"Merge Request - Referral System Support for Condenser (hive.blog)"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id97,979,145
net_rshares0
@hivebuzz ·
Congratulations @roomservice! You have completed the following achievement on the Hive blockchain and have been rewarded with new badge(s) :

<table><tr><td><img src="https://images.hive.blog/60x70/http://hivebuzz.me/@roomservice/upvoted.png?202006142151"></td><td>You received more than 1500 upvotes. Your next target is to reach 1750 upvotes.</td></tr>
</table>

<sub>_You can view [your badges on your board](https://hivebuzz.me/@roomservice) And compare to others on the [Ranking](https://hivebuzz.me/ranking)_</sub>
<sub>_If you no longer want to receive notifications, reply to this comment with the word_ `STOP`</sub>


To support your work, I also upvoted your post!
properties (22)
authorhivebuzz
permlinkhivebuzz-notify-roomservice-20200614t221311000z
categoryhive
json_metadata{"image":["http://hivebuzz.me/notify.t6.png"]}
created2020-06-14 22:13:09
last_update2020-06-14 22:13:09
depth1
children0
last_payout2020-06-21 22:13:09
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length675
author_reputation370,019,588,388,110
root_title"Merge Request - Referral System Support for Condenser (hive.blog)"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id97,967,439
net_rshares0
@hivepeople ·
great work!
properties (22)
authorhivepeople
permlinkre-roomservice-qc0yli
categoryhive
json_metadata{"tags":["hive"],"app":"peakd/2020.05.5"}
created2020-06-16 15:20:06
last_update2020-06-16 15:20:06
depth1
children0
last_payout2020-06-23 15:20:06
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length11
author_reputation28,230,061,427,644
root_title"Merge Request - Referral System Support for Condenser (hive.blog)"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id98,001,520
net_rshares0
@hivepeople ·
$0.04
Hopefully all the dapps will add this. Referrals make way more sense when we get a beneficiary from them.
👍  
properties (23)
authorhivepeople
permlinkre-roomservice-qc0yn0
categoryhive
json_metadata{"tags":["hive"],"app":"peakd/2020.05.5"}
created2020-06-16 15:21:03
last_update2020-06-16 15:21:03
depth1
children0
last_payout2020-06-23 15:21:03
cashout_time1969-12-31 23:59:59
total_payout_value0.020 HBD
curator_payout_value0.021 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length105
author_reputation28,230,061,427,644
root_title"Merge Request - Referral System Support for Condenser (hive.blog)"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id98,001,535
net_rshares162,045,022,571
author_curate_reward""
vote details (1)
@resiliencia ·
Awesome!  :D
properties (22)
authorresiliencia
permlinkre-roomservice-qbxqyu
categoryhive
json_metadata{"tags":["hive"],"app":"peakd/2020.05.5"}
created2020-06-14 21:42:30
last_update2020-06-14 21:42:30
depth1
children0
last_payout2020-06-21 21:42:30
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length12
author_reputation438,637,492,561,057
root_title"Merge Request - Referral System Support for Condenser (hive.blog)"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id97,967,022
net_rshares0
@thepeakstudio ·
![vM1pGHgNcyCbee5hzZJ19X4yXc7wYc7pYNX3YtkeZjhbH5Chyb63M8aj94KaASEt5ZZ53exPPt7SCry1tyCgXmjKSrsnYm5JnT6UfzBBYNxpJohHuH11STFRfrieLKfJDs9ysBT.gif](https://images.hive.blog/DQmWc3ZeJq3mFz7op52X2DiVnBonB6C48iPFx6oe3BmL7fw/vM1pGHgNcyCbee5hzZJ19X4yXc7wYc7pYNX3YtkeZjhbH5Chyb63M8aj94KaASEt5ZZ53exPPt7SCry1tyCgXmjKSrsnYm5JnT6UfzBBYNxpJohHuH11STFRfrieLKfJDs9ysBT.gif)
properties (22)
authorthepeakstudio
permlinkqbyxjw
categoryhive
json_metadata{"image":["https://images.hive.blog/DQmWc3ZeJq3mFz7op52X2DiVnBonB6C48iPFx6oe3BmL7fw/vM1pGHgNcyCbee5hzZJ19X4yXc7wYc7pYNX3YtkeZjhbH5Chyb63M8aj94KaASEt5ZZ53exPPt7SCry1tyCgXmjKSrsnYm5JnT6UfzBBYNxpJohHuH11STFRfrieLKfJDs9ysBT.gif"],"app":"hiveblog/0.1"}
created2020-06-15 13:02:21
last_update2020-06-15 13:02:21
depth1
children0
last_payout2020-06-22 13:02:21
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length356
author_reputation43,074,922,147,534
root_title"Merge Request - Referral System Support for Condenser (hive.blog)"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id97,978,798
net_rshares0
@torrey.blog ·
This is awesome! After feedback and review I hope it is added to Hive.blog and Peakd
properties (22)
authortorrey.blog
permlinkre-roomservice-qbxheo
categoryhive
json_metadata{"tags":["hive"],"app":"peakd/2020.05.5"}
created2020-06-14 18:16:00
last_update2020-06-14 18:16:00
depth1
children0
last_payout2020-06-21 18:16:00
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length84
author_reputation6,751,817,739,213
root_title"Merge Request - Referral System Support for Condenser (hive.blog)"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id97,963,986
net_rshares0
@zahabu ·
Great stuff!
properties (22)
authorzahabu
permlinkqcnbt4
categoryhive
json_metadata{"app":"hiveblog/0.1"}
created2020-06-28 17:12:42
last_update2020-06-28 17:12:42
depth1
children0
last_payout2020-07-05 17:12:42
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length12
author_reputation108,841,617,917
root_title"Merge Request - Referral System Support for Condenser (hive.blog)"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id98,226,603
net_rshares0