Now Curators, Community Accounts, Hive Members, Community Moderators will be rewarded as beneficiaries

View this thread on: d.buzz | hive.blog | peakd.com | ecency.com
ยท@sagarkothari88ยท
0.000 HBD
Now Curators, Community Accounts, Hive Members, Community Moderators will be rewarded as beneficiaries
## Too Long Did Not Read

- Just check following image to get the idea of this post.

![Screenshot 2023-09-08 at 7.06.40 AM.png](https://files.peakd.com/file/peakd-hive/sagarkothari88/EnyoaessQFbof4yoxEATUFgwBiLiFgAQTLvowmtLeFZGp8S3dUND87QUKqgaM6dWV9G.png)


## How do I reward curators & Community Moderators?

- This was a long pending action item from my end. 
- I have been wondering about this for long.
- How should I reward community moderators for the work day do?
- How should I reward the curators who actively motivates community members?

## Solution

- I've found a solution.
- Based on command received for HivePower distribution, my bot leaves a comment after sending HivePower reward.
- For each of those comments, following beneficiaries are added.
    - Curator
    - Content Author
    - Community Account
- Reward that I get from upvote on that comment, I intend to give it back to communities.


![Screenshot 2023-09-08 at 7.12.06 AM.png](https://files.peakd.com/file/peakd-hive/sagarkothari88/EoJyYMV35a2KboEN83buzuFWYHZrYjBrWNUYrxMgMhjb8cD4RuaPw25tXvtHQZn8RUG.png)


## How did I achieve above solution?

- Instead of keeping ZERO beneficiaries, I updated it as follows.

```
  let beneficiaries = [
    { account: account, weight: 2500 }, // @sagarkothari88
    { account: newAuthor, weight: 2500 }, // @submitter / curator
    { account: communityId, weight: 2500 }, // @community
    { account: receiver, weight: 2500 }, // @receiver
  ];
  beneficiaries = beneficiaries.sort((a, b) => {
    let fa = a.account.toLowerCase(),
      fb = b.account.toLowerCase();
    if (fa < fb) return -1;
    if (fa > fb) return 1;
    return 0;
  });
  let benefactorData = [[0, { beneficiaries: beneficiaries }]];
```

- Instead of setting `max_accepted_payout` to `0.00000 HBD`, I updated it as follows.

```
  const operations = [
    ["comment", commentOperation],
    [
      "comment_options",
      {
        author: account,
        permlink: permlink2,
        max_accepted_payout: "100000.000 HBD",
        percent_hbd: 10000,
        allow_votes: true,
        allow_curation_rewards: true,
        extensions: benefactorData,
      },
    ],
  ];
```

## Example output


![Screenshot 2023-09-08 at 7.06.40 AM.png](https://files.peakd.com/file/peakd-hive/sagarkothari88/EnyoaessQFbof4yoxEATUFgwBiLiFgAQTLvowmtLeFZGp8S3dUND87QUKqgaM6dWV9G.png)

- Reference link - https://peakd.com/hive-189157/@sagarkothari88/20230908t013535512z
- Here you can see that, 25% goes to @franz54 - content-creator. More Power to the content creator.
- @hive-189157 is the community in which @franz54 posted the content. 25% goes to that community. More power to communities
- @takeru255 is a curator here - 25% goes to curator.
- @sagarkothari88 (I) gets 25% which I intend to use it for supporting community members.

## CC section.

- I don't want to spam. But at the same time, I also want following members to keep informed about it.
- Here are the members to whom I would like to notify - @hive-15966, @hive-14396, @hive-108539, @hive-189157, @hive-192096, @hive-134572, @hive-155221, @hive-106316, @hive-124452, @hive-119670, @hive-179017, @hive-101265, @hive-180569, @hive-120586, @hive-197685, @hive-173296, @hive-125730, @hive-132248, @hive-167922, @hive-13323, @hive-147010, @hive-179927, @hive-181335, @hive-151961, @hive-110011, @hive-150210, @hive-127911, @hive-189641, @stresskiller, @flaxz, @alive.chat, @mondoshawan, @tengolotodo, @thekittygirl, @melinda010100, @nelinoeva, @jaydr, @brittandjosie, @bhattg, @takeru255, @tibfox, @sirenahippie 

Dear Community Moderators, Members, Curators,

The POWER IS YOURS.

![image](https://media.tenor.com/YMAt_1_FryQAAAAC/captain-planet-planet.gif)
[source](https://media.tenor.com/YMAt_1_FryQAAAAC/captain-planet-planet.gif)

## Support me

- Do you like the work I do?
- Do you want me to keep going?
- Please Reblog
- Please help me connect with more communities
- Please vote me as Hive Witness

| Please ๐Ÿ™ | Support Me |
|-|-|
| [Vote me as Hive Witness](https://hivesigner.com/sign/account-witness-vote?witness=sagarkothari88&approve=1) | [Donate Hive Or HBD](https://hivelive.me/donate/sagarkothari88) |
๐Ÿ‘ , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,