Contribution - Actifits NodeJS delegation rewards calculator

Words
216
Reading
1 min
Listen
Play
8y

Introduction

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

This time I come with an automated token calculator and tracker for the actifit@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@mcfarhat and actifit@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@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/

Contribution - Actifits NodeJS delegation rewards calculator | Ecency