Contribution - Actifits NodeJS delegation rewards calculatorsteemCreated with Sketch.

in utopian-io •  last month

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/

Authors get paid when people like you upvote their post.
If you enjoyed what you read here, create your account today and start earning FREE STEEM!
Sort Order:  
  • The post would benefit from images to improve its quality.
  • Do show some code and explain what it does is alway a good thing as an utopian development contribution.
  • Try to make your post more formal.
  • Looks like the rest of the project could benefit from being linted: ✖ 292 problems (292 errors, 0 warnings)

Your contribution has been evaluated according to Utopian policies and guidelines, as well as a predefined set of questions pertaining to the category.

To view those questions and the relevant answers related to your post, click here.


Need help? Write a ticket on https://support.utopian.io/.
Chat with us on Discord.
[utopian-moderator]

·

Thank you for your review, @helo!

So far this week you've reviewed 2 contributions. Keep up the good work!

·

Thanks for the feedback Helo!

I'll certainly look in to it.

Thanks for the assistance !

Hey @cryptouru
Thanks for contributing on Utopian.
We’re already looking forward to your next contribution!

Want to chat? Join us on Discord https://discord.gg/h52nFrV.

Vote for Utopian Witness!

Congratulations @cryptouru! You have completed the following achievement on Steemit and have been rewarded with new badge(s) :

Award for the total payout received

Click on the badge to view your Board of Honor.
If you no longer want to receive notifications, reply to this comment with the word STOP

Do not miss the last post from @steemitboard:
SteemitBoard and the Veterans on Steemit - The First Community Badge.

Do you like SteemitBoard's project? Then Vote for its witness and get one more award!

Congratulations @cryptouru! You have completed the following achievement on Steemit and have been rewarded with new badge(s) :

Award for the number of upvotes

Click on the badge to view your Board of Honor.
If you no longer want to receive notifications, reply to this comment with the word STOP

Do you like SteemitBoard's project? Then Vote for its witness and get one more award!