4th Street Bar Hive-Bar

Hive-Bar Powered by Hive beta-fdb5b5b

Community post

Contribution - Actifits NodeJS delegation rewards calculator

Introduction

Hello Utopians! @cryptouru over here with my third contribution :)

This time I come with an automated token calculator and tracker for the @actifit. This development is a direct response of this task:

https://steemit.com/@mcfarhat/actifit-task-nodejs-automated-delegation-rewards-calculation

Even though this post is a bit late for the task request deadline. It is far later than the actual code, which has been delivered weeks ago. @mcfarhat and @actifit have been using this for over a month.

Repository

https://github.com/mcfarhat/actifit-bot

Delegation Calculator Process

This process was divided on two as per the request.

  1. Calculates steem rewards for active delegators
  2. Calculates token rewards for active delegators

It does the previous tasks on a weekly basis and checks active delegations on hourly basis, to know the accumulated steem power for the week. All is calculated as per the task request.

The main technologies involved on this task were:

  • NodeJS
  • Dsteem

For this request I used Dsteem which I like more and eslint, as I was observed on my last request for not using it.

Email Service

The results of the previous calculation are mailed to @mcfarhat so that he can easily pay its delegators.

Ok....

I think that's all of it :)

If anyone has any doubt or concern just let me know. I'll hapilly reply.

Here's the pull request:

https://github.com/mcfarhat/actifit-bot/pull/2/

80 upvotes $8.58

Replies (7)

Review before signing

Posting as . Signing with . Keychain permission: Posting. Hive Keychain will ask you to approve this action next.


  
Technical details

Operation fingerprint: