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.
You can find a similar service here: tagbot.
You can skip this part if you have already installed nodejs/nmp.
$ sudo apt-get update
$ curl -sL https://deb.nodesource.com/setup_9.x | sudo -E bash -
$ sudo apt-get install -y nodejs
$ sudo apt-get install npm
$ sudo apt-get install nodejs-legacy
Clone the project repository and install using NPM:
$ git clone https://github.com/cryptohazard/mecene.git
$ cd mecene
$ npm install
Update the configuration file config.json
with your account and the posting private key (See description).
If you are using Docker, you can use the following commands:
docker build -t mecene .
docker run -itd --rm --name mecene mecene
Check the status with docker logs
docker logs mecene
You can use the PM2 software to manage and run your nodejs programs in background:
$ npm install pm2 -g
$ pm2 start app.js --name mecene
$ pm2 logs mecene
Configuration is stored in the JSON config.json
.
Option | Definition | Default Values |
---|---|---|
rpc_node | a steem node to connect | steemit API node |
account | bot account | |
posting_key | the private posting key of the bot account | |
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 |
tags | communities tags to upvote posts like #fr, #art,... | |
whitelist | list of authors to automatically sponsor | |
whitelist_power | voting weigth for whitelisted authors | 70 % |
blacklist | A list of authors to ignore | |
blacklist_tags | A list of authors to ignore |
- vote weight per sponsored tags/authors
- additional criteria per tag:
- reputation
- author name
- additional tags required
- voting power recovery:
- vote at X% power
- until power at Y%
- then recover until Z% power
- blacklist downvote (I am not keen on that one)
Thanks @radudangratian for the cool logo!