CryptoUru avatar

Contribution - Actifits NodeJS delegation rewards calculator

cryptouru

Published: 18 Aug 2018 › Updated: 18 Aug 2018Contribution - Actifits NodeJS delegation rewards calculator

Contribution - Actifits NodeJS delegation rewards calculator

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/

Leave Contribution - Actifits NodeJS delegation rewards calculator to:

Written by

Crypto enthusiast since 2013, invested since 2017. I'm a coder in it for the technology :)

Read more #utopian-io posts


Best Posts From CryptoUru

We have not curated any of cryptouru's posts yet. But you can encourage our curation team to review posts by visiting them regularly and by referring other readers. Because we give priority to frequently read content.

More Posts From CryptoUru