
Bug Fixes
- Timer was not working properly
The timer for counting down to configured voting power appeared stuck with the same time. This is because it didn't update the amount of vp in realtime. Now I added the code and it fixed the issue.
function StartTimer() {
let x = async () => {
await getVP();
let nTimer = utils.mTimer(vp);
- Better presentation of data in table form :
This is done by using cli-table 2 npm library which makes everything prettier and easier to look at :
var Table = require('cli-table2');
var table = new Table({
head: ["index", "author", "permlinks"],
wordWrap: true
});
for (var i = 0; i < min; i++) {
table.push([i+1, authors[i], permlinks[i]]);
}
console.log(table.toString());
- Extended list of frontrun posts to upvote
The frontrun bot was upvoting to a number of posts limit setted in config.json. And this make it to reloop over the old range of posts without proceeding to the new one. Frontrun bot will now attempt to upvote more posts but still preserving the configured amount of VP.
if (++j < permlinks.length && vp >= VPlimit) {
myLoop(j);
console.log('j1 in if loop : ' + j);
}
My Project
What is the project about?
This project is to help those who wish to frontrun the posts that are available in steembottracker.com by @yabapmatt. Those who doesn't wish to manually upvote everytime can use this bot to earn some sizeable curation steem power. Front run posts are posts that are going to be hitted by big bid bots. So if you upvote it before they do, you can earn a sizeable amount of SP but depending on your vote weight of course. This bot will lessen your burden to check and upvote it everytime.
Technology Stack
Nodejs with npm library from steem, cli-table2 and axios.
How to contribute?
If you wish to work on this bot, you can contact me personally here. Or reach out to me at discord @tngflx. Thanks!
Posted on Utopian.io - Rewarding Open Source Contributors