mécène: French for sponsor, donator, patron. wiktionary
This is a bot to support communities on the steem blockchain. It automatically upvote the chosen communities tags.
Repository
https://github.com/cryptohazard/mecene
New Features
Minimum voting power
The bot has a minimum voting power at which it operates. Voting is halted if the power is below that minimum.
The API call to chekc the voting power is asynchronous so I placed it in the voter function. Then we can compare it with the minimum allowed:
if (parseInt(response[0].voting_power) < minimum_power ){
console.log("Voting power too low to proceed!")
return;
}
Minimum/Maximum reputation
We can now specify the reputation of the steemians we want to support. You can now target minnows, newbies, or wise old steemians.
Whitelist power
The whitelisted accounts get automatic upvotes on all the articles they publish. You can now choose the voting power percentage in the configuration.
Blacklist tags
Running this bot, I noticed a lot of tag abuse/spam. I already implemented a blacklist and filled it. I noticed some abusers were using the same tags. The idea for the bot is to avoid the tags I am not interested in.
//tags blacklisted
config.blacklist_tags.forEach(function(blacklistTag){
if (metaJSON.tags.includes(blacklistTag)){
console.log("Tag blacklisted: ", blacklistTag," for article " + operation.permlink);
}
});
default values documentation
Option | Definition | Default Values |
---|---|---|
minimum_power | the minimum voting power at which the bot operates | 10 % |
minimum_reputation | the minimum reputation of authors | 25 |
maximum_reputation | the maximum reputation of authors | 70 |
voting_weight | vote weight (in percent) to apply on every vote | 70 % |
voting_delay | waiting time in minutes before the actual vote | 30 minutes |
whitelist_power | voting weigth for whitelisted authors | 70 % |
small fixes
- configuration: the bot can run with non essential fields missing thanks to the default values
- bug on vote re-trials: I forgot to call
voter
with retry set to 0(was set toundefined
).
Next features
- tests suite
- criteria per tags
Wow, a competitor to tagbot :)
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
you are the reference :-D. I even made suggestions to tagbot last time.
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
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]
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
Hey @cryptohazard
Thanks for contributing on Utopian.
We’re already looking forward to your next contribution!
Contributing on Utopian
Learn how to contribute on our website or by watching this tutorial on Youtube.
Want to chat? Join us on Discord https://discord.gg/h52nFrV.
Vote for Utopian Witness!
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
very good friends to live a new life
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit