# STEEM Autovote Bot Introduction ===================== [STEEM Autovote](https://github.com/matthewniemerg/python-steem-autovote) is a simple autovoting solution for [STEEM](https://steemit.com/) users. Features include : * Simple, customizable [YAML](http://www.yaml.org) configuration file. * Allows users to monitor multiple accounts and autovote posts (not comments) * Multiple accounts can autovote any monitored account * Monitored accounts can be autovoted immediately or within a random time frame for each voting account * Monitored accounts can be autovoted with a prescribed frequency for each voting account * Upvotes only Dependencies ===================== STEEM Autovote has only two dependencies: [PyYaml](http://pyyaml.org/) and [Requests](http://docs.python-requests.org/). On [Ubuntu](http://www.ubuntu.com/), these dependencies can be installed with the following command: ``` sudo apt-get install python-yaml python-requests ``` Depending on your system's python configuration, additional python packages may need to be installed. First, we will need to install python's pip. ``` sudo easy_install pip ``` Once pip is installed, we can install the other packages. This is accomplished with the following command: ``` sudo pip install python-dateutil ``` Configuration ===================== Example configuration files are provided in the `Examples` directory as `example1.yaml` and `example2.yaml`. The configuration file is specified when calling the `autovote-bot.py` script: ``` python autovote-bot.py /home/username/autovote/autovote.yaml ``` Editting the yaml file may be difficult at first, but the rules are quite easy to remember. * Do not allow for tabbed spaces, only single character white spaces and hard carriage returns. * New accounts to monitor are added in the monitor section. * Allow for two additional white spaces for each sub-list. * The outermost list is the account to monitor. * Voting ccounts of a monitored account are items in the sub-list of a monitored account. * Two entries are required in the sub-list for each voting account: random_wait and frequency. Example Configuration File ====================== ``` settings : wallet_password : walletpword rpc_ip : "127.0.0.1" rpc_port : 8091 rpc_user : "rpcuser" rpc_password : "rpcpassword" log_file : "autoupvote.log" debug : true monitor : complexring : your_account_name : random_wait : 0 # random wait time, anytime from 0 to 0 seconds frequency : 1 # probability that a vote will occur your_sock_puppet_account : random_wait : 100 # random wait time, anytime from 0 to 100 seconds frequency : .1 # probability that a vote will occur your_account_name : your_account_name : random_wait : 0 # random wait time, anytime from 0 to 0 seconds frequency : 1 # probability that a vote will occur your_sock_puppet_account : random_wait : 60 # random wait time, anytime from 0 to 60 seconds frequency : .5 # probability that a vote will occur your_sock_puppet_account : your_account_name : random_wait : 1200 # random wait time, anytime from 0 to 1200 seconds frequency : .333 # probability that a vote will occur your_sock_puppet_account : random_wait : 0 # random wait time, anytime from 0 to 0 seconds frequency : 1 # probability that a vote will occur ``` Random Settings =================== The block_id hash of the post of a monitored account is used as a seed in python's Mersennes Twister Pseudo Random Number Generator. This seed gets updated for each new post of any monitored account. Running STEEM Autovote Bot =================== Running the autovote-bot script requires an open wallet, an instance of `cli_wallet` must be run as a daemon process, listening on an RPC port. On Ubuntu, this is best achieved using [Upstart](http://upstart.ubuntu.com/) services. Please see [this guide](https://github.com/steemed/steem-price-feed/) for starting an upstart service for your cli_wallet. Alternatively, you can run `cli_wallet` in an instance of a screen. After installing `screen` type `screen` and then once you return to the shell, navigate to the cli_wallet directory and then type ```./cli_wallet -u user -p password --rpc-endpoint=127.0.0.1:8091 -d 2>cli-debug.log 1>cli-error.log``` Detach the screen with `Ctrl + a` and then `Ctrl + x` and you now have a `cli_wallet` daemon running. There are at least 2 ways you can run the STEEM Autovote Bot. * Use `screen` and navigate to the appropriate directory, and then run this process in the screened shell with `python autovote-bot.py autovote.yaml` * Use an upstart service Running as an Upstart Service =================== It is highly desirable to run the STEEM Autovote Bot as an upstart service so that on reboot and termination, a respawn of the process will occur. Save the following script in `/etc/init/steem-autovote-bot.conf` (editted for your own system) ``` # steem-autovote-bot service - steem-autovote-bot service for user description "STEEM Autovote bot" author "Ima User <user@example.com>" # Stanzas # # Stanzas control when and how a process is started and stopped # See a list of stanzas here: //upstart.ubuntu.com/wiki/Stanzas # When to start the service start on runlevel [2345] # When to stop the service stop on runlevel [016] # Automatically restart process if crashed respawn # Essentially lets upstart know the process will detach itself to the background # This option does not seem to be of great importance, so it does not need to be set. # expect fork # Specify working directory chdir /home/user/path/to/steem-autovote # Specify the process/command to start, e.g. exec /usr/bin/python autovote-bot.py autovote.yaml 2>autovote-debug.log 1>autovote-error.log ``` Upcoming Features ================== * Upvote with weights * Downvote with weights * Random Interval (not just from 0 to random_wait) * Tracking of when (auto)votes occurred and adjusting times to vote to maximize voting power for both immediate votes and queued votes Acknowledgments =================== I have heavily modified the STEEM witness [steemed's](https://steemit.com/witness-category/@steemed/steemed-witness-thread) source code for creating a [STEEM Price Feed](https://github.com/steemed/steem-price-feed/).
author | spaced |
---|---|
permlink | steem-autovote-bot-steem-autovote-is-a-simple-autovoting-solution-for-steem-users |
category | steem |
json_metadata | {"tags":["steem"],"links":["https://steemit.com/witness-category/@steemed/steemed-witness-thread"]} |
created | 2016-07-11 23:26:27 |
last_update | 2016-07-11 23:26:27 |
depth | 0 |
children | 11 |
last_payout | 2016-08-22 12:38:06 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 6,385 |
author_reputation | 5,400,679,240,242 |
root_title | "STEEM Autovote Bot - STEEM Autovote is a simple autovoting solution for STEEM users." |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 81,408 |
net_rshares | -24,034,265,146,188 |
author_curate_reward | "" |
voter | weight | wgt% | rshares | pct | time |
---|---|---|---|---|---|
dantheman | 0 | 30,162,270,024,297 | 100% | ||
berniesanders | 0 | -34,299,151,930,019 | -100% | ||
summon | 0 | -8,021,409,831,159 | -100% | ||
xeldal | 0 | -5,083,110,332,110 | -100% | ||
enki | 0 | -5,629,619,747,710 | -100% | ||
bitcube | 0 | -2,980,099,989,362 | -100% | ||
recursive | 0 | 69,147,416,054 | 0% | ||
proctologic | 0 | -19,533,507,275 | -100% | ||
hcf27 | 0 | -21,398,961,809 | -100% | ||
proctologic2 | 0 | -1,980,350,509 | -100% | ||
chitty | 0 | -162,143,142,651 | -100% | ||
valentino-romero | 0 | 11,355,653,929 | 100% | ||
chryspano | 0 | -387,313,720,953 | -100% | ||
craig-grant | 0 | 4,105,878,615 | 0% | ||
cryptorune | 0 | 3,867,709,800 | 100% | ||
fkn | 0 | 24,644,029,013 | 100% | ||
creator | 0 | 2,435,669,126,771 | 100% | ||
amihay | 0 | 6,795,311 | 100% | ||
zebbra2014 | 0 | 35,381,070 | 100% | ||
kenny-crane | 0 | -89,654,770,140 | -100% | ||
foma17 | 0 | 2,014,505,646 | 100% | ||
acassity | 0 | 3,691,335,095 | 100% | ||
fonzerrellie | 0 | 1,025,166,861 | 100% | ||
cannav | 0 | -7,739,906,061 | -100% | ||
aeico | 0 | 3,031,192,751 | 100% | ||
kilrathi | 0 | -258,962,879 | -100% | ||
stealthtrader | 0 | 208,543,005 | 100% | ||
derekareith | 0 | -24,582,312,097 | -100% | ||
picokernel | 0 | -2,222,971,342 | -100% | ||
rankine | 0 | 183,782,389 | 100% | ||
spaced | 0 | 4,822,109 | 0% | ||
steemtest | 0 | -4,756,941 | -100% | ||
valen55 | 0 | -25,367,550,517 | -100% | ||
seagul | 0 | 61,520,333 | 100% | ||
fischbrot | 0 | 230,283,060 | 100% | ||
neuro | 0 | -225,568,763 | -100% |
author | amihay |
---|---|
permlink | re-steem-autovote-bot-steem-autovote-is-a-simple-autovoting-solution-for-steem-users |
category | steem |
json_metadata | {} |
created | 2016-08-08 07:20:12 |
last_update | 2016-08-08 07:20:12 |
depth | 1 |
children | 0 |
last_payout | 2016-08-22 12:38:06 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 11 |
author_reputation | 1,271,791,839,323 |
root_title | "STEEM Autovote Bot - STEEM Autovote is a simple autovoting solution for STEEM users." |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 678,377 |
net_rshares | -396,068,855 |
author_curate_reward | "" |
voter | weight | wgt% | rshares | pct | time |
---|---|---|---|---|---|
cheetah92 | 0 | -126,600,619 | -100% | ||
cheetah93 | 0 | -89,745,737 | -100% | ||
cheetah94 | 0 | -89,716,062 | -100% | ||
cheetah95 | 0 | -89,620,143 | -100% | ||
clamps | 0 | -386,294 | -100% |
And, down you go... I'll be watching you!
author | berniesanders |
---|---|
permlink | re-spaced-steem-autovote-bot-steem-autovote-is-a-simple-autovoting-solution-for-steem-users-20160712t023100821z |
category | steem |
json_metadata | {"tags":["steem"]} |
created | 2016-07-12 02:31:00 |
last_update | 2016-07-12 02:31:00 |
depth | 1 |
children | 1 |
last_payout | 2016-08-22 12:38:06 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 42 |
author_reputation | 600,251,775,828,524 |
root_title | "STEEM Autovote Bot - STEEM Autovote is a simple autovoting solution for STEEM users." |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 82,342 |
net_rshares | 147,215,448 |
author_curate_reward | "" |
voter | weight | wgt% | rshares | pct | time |
---|---|---|---|---|---|
mammasitta | 0 | 254,129,662 | 100% | ||
engelbert | 0 | 260,348,290 | 100% | ||
jillstein2016 | 0 | -367,262,504 | -100% |
Just realized this isn't original content. Disregard previous post.
author | recursive |
---|---|
permlink | re-berniesanders-re-spaced-steem-autovote-bot-steem-autovote-is-a-simple-autovoting-solution-for-steem-users-20160712t023833462z |
category | steem |
json_metadata | {"tags":["steem"]} |
created | 2016-07-12 02:37:36 |
last_update | 2016-07-12 02:42:33 |
depth | 2 |
children | 0 |
last_payout | 2016-08-22 12:38:06 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 67 |
author_reputation | 14,577,151,751,433 |
root_title | "STEEM Autovote Bot - STEEM Autovote is a simple autovoting solution for STEEM users." |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 82,362 |
net_rshares | 0 |
I'd rather people upvoted thing's because they found the posts interesting, important etc etc lol this was bound to happen tho
author | fonzerrellie |
---|---|
permlink | re-spaced-steem-autovote-bot-steem-autovote-is-a-simple-autovoting-solution-for-steem-users-20160711t232952152z |
category | steem |
json_metadata | {"tags":["steem"]} |
created | 2016-07-11 23:29:48 |
last_update | 2016-07-11 23:29:48 |
depth | 1 |
children | 0 |
last_payout | 2016-08-22 12:38:06 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 128 |
author_reputation | 801,199,558,323 |
root_title | "STEEM Autovote Bot - STEEM Autovote is a simple autovoting solution for STEEM users." |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 81,428 |
net_rshares | 238,106,999 |
author_curate_reward | "" |
voter | weight | wgt% | rshares | pct | time |
---|---|---|---|---|---|
kilrathi | 0 | 5,395,059 | 0% | ||
devnull | 0 | 232,711,940 | 100% |
This is a copy and paste from an article on steemit from 2 months ago: https://steemit.com/steem/@complexring/steem-autovote-bot I am down voting. It it turns out I am mistaken I will remove my down vote.
author | kenny-crane |
---|---|
permlink | re-spaced-steem-autovote-bot-steem-autovote-is-a-simple-autovoting-solution-for-steem-users-20160711t233555421z |
category | steem |
json_metadata | {"tags":["steem"],"links":["https://steemit.com/steem/@complexring/steem-autovote-bot"]} |
created | 2016-07-11 23:35:39 |
last_update | 2016-07-11 23:35:39 |
depth | 1 |
children | 4 |
last_payout | 2016-08-22 12:38:06 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 2.060 HBD |
curator_payout_value | 0.205 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 205 |
author_reputation | 233,810,978,356,290 |
root_title | "STEEM Autovote Bot - STEEM Autovote is a simple autovoting solution for STEEM users." |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 81,475 |
net_rshares | 9,114,482,408,753 |
author_curate_reward | "" |
voter | weight | wgt% | rshares | pct | time |
---|---|---|---|---|---|
xeldal | 0 | 5,083,110,332,110 | 100% | ||
complexring | 0 | 3,605,051,323,152 | 100% | ||
chryspano | 0 | 387,313,720,953 | 100% | ||
bacchist | 0 | 5,919,115,059 | 100% | ||
cannav | 0 | 7,739,906,061 | 100% | ||
kilrathi | 0 | 253,567,819 | 100% | ||
derekareith | 0 | 25,094,443,599 | 100% |
Good catch. Doing the same. You can see in the Examples dir there's a "complexring" configuration set too. :P
author | kilrathi |
---|---|
permlink | re-kenny-crane-re-spaced-steem-autovote-bot-steem-autovote-is-a-simple-autovoting-solution-for-steem-users-20160711t234040458z |
category | steem |
json_metadata | {"tags":["steem"]} |
created | 2016-07-11 23:40:42 |
last_update | 2016-07-11 23:40:42 |
depth | 2 |
children | 1 |
last_payout | 2016-08-22 12:38:06 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 110 |
author_reputation | 1,442,906,808,611 |
root_title | "STEEM Autovote Bot - STEEM Autovote is a simple autovoting solution for STEEM users." |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 81,504 |
net_rshares | 67,603,512 |
author_curate_reward | "" |
voter | weight | wgt% | rshares | pct | time |
---|---|---|---|---|---|
bullfrog | 0 | 67,603,512 | 100% |
@dantheman has upvoted this, so I am questioning myself. We'll see how it plays out. I admit I may be wrong and will correct my vote if I am.
author | kenny-crane |
---|---|
permlink | re-kilrathi-re-kenny-crane-re-spaced-steem-autovote-bot-steem-autovote-is-a-simple-autovoting-solution-for-steem-users-20160711t234251812z |
category | steem |
json_metadata | {"tags":["steem"],"users":["dantheman"]} |
created | 2016-07-11 23:42:36 |
last_update | 2016-07-11 23:42:36 |
depth | 3 |
children | 0 |
last_payout | 2016-08-22 12:38:06 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 143 |
author_reputation | 233,810,978,356,290 |
root_title | "STEEM Autovote Bot - STEEM Autovote is a simple autovoting solution for STEEM users." |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 81,511 |
net_rshares | 0 |
Sorry, take no offense, I was testing API code :) I should have sent it to spam, was not aware that was a category.
author | spaced |
---|---|
permlink | re-kenny-crane-re-spaced-steem-autovote-bot-steem-autovote-is-a-simple-autovoting-solution-for-steem-users-20160712t012140387z |
category | steem |
json_metadata | {"tags":["steem"]} |
created | 2016-07-12 01:21:39 |
last_update | 2016-07-12 01:21:39 |
depth | 2 |
children | 1 |
last_payout | 2016-08-22 12:38:06 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 115 |
author_reputation | 5,400,679,240,242 |
root_title | "STEEM Autovote Bot - STEEM Autovote is a simple autovoting solution for STEEM users." |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 82,050 |
net_rshares | 85,484,996,004 |
author_curate_reward | "" |
voter | weight | wgt% | rshares | pct | time |
---|---|---|---|---|---|
kenny-crane | 0 | 85,484,996,004 | 100% |
No offense taken at all :-) I may be testing some API code in the future and expect to have something similar happen to me at some point! I've seen and up voted some of your other quality posts. Glad to have you here on steemit!
author | kenny-crane |
---|---|
permlink | re-spaced-re-kenny-crane-re-spaced-steem-autovote-bot-steem-autovote-is-a-simple-autovoting-solution-for-steem-users-20160712t014510140z |
category | steem |
json_metadata | {"tags":["steem"]} |
created | 2016-07-12 01:45:09 |
last_update | 2016-07-12 01:45:09 |
depth | 3 |
children | 0 |
last_payout | 2016-08-22 12:38:06 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 231 |
author_reputation | 233,810,978,356,290 |
root_title | "STEEM Autovote Bot - STEEM Autovote is a simple autovoting solution for STEEM users." |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 82,165 |
net_rshares | 0 |
404 on the GitHub project link.
author | kilrathi |
---|---|
permlink | re-spaced-steem-autovote-bot-steem-autovote-is-a-simple-autovoting-solution-for-steem-users-20160711t233104544z |
category | steem |
json_metadata | {"tags":["steem"]} |
created | 2016-07-11 23:31:06 |
last_update | 2016-07-11 23:31:06 |
depth | 1 |
children | 1 |
last_payout | 2016-08-22 12:38:06 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 31 |
author_reputation | 1,442,906,808,611 |
root_title | "STEEM Autovote Bot - STEEM Autovote is a simple autovoting solution for STEEM users." |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 81,440 |
net_rshares | 66,195,106 |
author_curate_reward | "" |
voter | weight | wgt% | rshares | pct | time |
---|---|---|---|---|---|
bullfrog | 0 | 66,195,106 | 100% |
https://github.com/matthewniemerg/steem-autovote-bot
author | kilrathi |
---|---|
permlink | re-kilrathi-re-spaced-steem-autovote-bot-steem-autovote-is-a-simple-autovoting-solution-for-steem-users-20160711t233307644z |
category | steem |
json_metadata | {"tags":["steem"],"links":["https://github.com/matthewniemerg/steem-autovote-bot"]} |
created | 2016-07-11 23:33:09 |
last_update | 2016-07-11 23:33:09 |
depth | 2 |
children | 0 |
last_payout | 2016-08-22 12:38:06 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 52 |
author_reputation | 1,442,906,808,611 |
root_title | "STEEM Autovote Bot - STEEM Autovote is a simple autovoting solution for STEEM users." |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 81,458 |
net_rshares | 66,195,106 |
author_curate_reward | "" |
voter | weight | wgt% | rshares | pct | time |
---|---|---|---|---|---|
bullfrog | 0 | 66,195,106 | 100% |