Actifit Bot Development Updates

in #actifit6 years ago

Repository

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

Introduction

Actifit bot is an integral part of the whole Actifit project and reward process, and hence continuous development on it is essential for the growth of the platform.
We have implemented several new features, modifications and fixes to enhance Actifit, including new API endpoints, delegation payout process changes, upcoming feature of STEEM/AFIT swap, change of DB storage format and fix for data sorting, as well as fix for preventing missed post rewards in extreme cases.
Below you will find more details about this update.

Technology Stack

The bot is scripted using Node.js, and connects to a MongoDB instance for storing values.

Work Done

Add new API endpoints: Commit Link
  • Implement new end point for retrieving total number of tokens distributed (by reward type but also full total)
  • Implement new end point for retrieving the token rewards per post
Store proper DB date format (Fix Sorting Issue & Relevant APIs): Commit Link
  • Implement change to store date values as dates instead of strings (fix sorting of transactions for user display along with running a one time script to fix all 800K+ stored transactions)
  • Update APIs to function properly with new date format
Process more than 1 post per day per user: Commit Link
  • Implement a change to allow accepting more than 1 post per day (up to max 2) to overcome server time difference limitation. Prevention for more than 1 post per day still occurs at mobile app level.
Allow swapping Steem payments for AFIT tokens: Commit Link
  • Implement bot functionality to track beneficiary payments to a specific actifit account, which would allow users to get fully paid in AFIT tokens after payout.
Implement delegation payout process changes: Commit Link
  • Update delegators payment to include SBD payouts
  • Update user token count right after delegation pay

Roadmap

Further continuous improvements will be done on top of the bot, as we aim to build further on the different new functionality just implemented, and particularly on developing new end points to ease up the website and app experience.

How to contribute?

You can chat to us on the official actifit discord, or to me in discord private @mcfarhat#6013.
Contributions are accepted as pull requests to the official github repo.
We are having continuous tasks assigned to different contributors to our project. More official tasks are continuously announced :)

GitHub Account

https://github.com/mcfarhat

Sort:  

Great updates, great commit messages, and the code is mostly commented.

On a minor note, I see that line is repeated everywhere. It might be good to come up with a reusable solution here.

Allow swapping Steem payments for AFIT tokens: Commit Link

That sounds interesting. Do you think about any fixed price on your mind?

Already looking forward new updates on the Actifit. Thank you.


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]

Thanks! yes price will be announced in few days, along with discounted pricing plans till reaching planned SMT price :)

Thank you for your review, @emrebeyler!

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

Congratulations! Your post has been selected as a daily Steemit truffle! It is listed on rank 8 of all contributions awarded today. You can find the TOP DAILY TRUFFLE PICKS HERE.

I upvoted your contribution because to my mind your post is at least 18 SBD worth and should receive 104 votes. It's now up to the lovely Steemit community to make this come true.

I am TrufflePig, an Artificial Intelligence Bot that helps minnows and content curators using Machine Learning. If you are curious how I select content, you can find an explanation here!

Have a nice day and sincerely yours,
trufflepig
TrufflePig

Great updates and welcome
But the market is facing a significant decline

Nice one sounds good we are improving that what all the big projects go agile way.

Posted using Partiko Android

Hi @mcfarhat!

Your post was upvoted by @steem-ua, new Steem dApp, using UserAuthority for algorithmic post curation!
Your post is eligible for our upvote, thanks to our collaboration with @utopian-io!
Feel free to join our @steem-ua Discord server

Excellent work mate!

thanks for your great efforts !
have a happy nice day with actifit ! :)

Posted using Partiko Android

Hi, @mcfarhat!

You just got a 0.26% upvote from SteemPlus!
To get higher upvotes, earn more SteemPlus Points (SPP). On your Steemit wallet, check your SPP balance and click on "How to earn SPP?" to find out all the ways to earn.
If you're not using SteemPlus yet, please check our last posts in here to see the many ways in which SteemPlus can improve your Steem experience on Steemit and Busy.

Congratulations @mcfarhat! You have completed the following achievement on the Steem blockchain 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 not miss the last post from @steemitboard:

SteemitBoard Ranking update - Resteem and Resteemed added

You can upvote this notification to help all Steemit users. Learn why here!

Thx for sharing good info to know!

Coin Marketplace

STEEM 0.18
TRX 0.14
JST 0.030
BTC 59238.58
ETH 3176.28
USDT 1.00
SBD 2.45