Dear Steemians, **Upvote bot** in less than 10 lines of code ``` from piston.steem import Steem import os import json steem = Steem(wif=os.environ["WIF"]) authors = json.loads(os.environ["AUTHORS"]) for c in steem.stream_comments(): if c["author"] in authors: print(c.upvote()) ``` It reqquires that you put your WIF key and JSON list of AUTHORS into an environmental variable: ``` export WIF="<wif-posting-key>" AUTHORS='["xeroc", "dantheman", "ned", "arhag"]' ``` ### Note This currently requries that you install the python-steem library as well as piston from the development branch. Have fun!
author | xeroc |
---|---|
permlink | upvote-bot-in-less-than-10-lines-of-code |
category | steem |
json_metadata | {} |
created | 2016-05-30 08:51:33 |
last_update | 2016-05-30 11:48:39 |
depth | 0 |
children | 30 |
last_payout | 2016-08-20 18:43:12 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 110.297 HBD |
curator_payout_value | 110.272 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 615 |
author_reputation | 118,819,064,085,695 |
root_title | "Upvote bot in less than 10 lines of code" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 18,498 |
net_rshares | 50,615,284,595,833 |
author_curate_reward | "" |
voter | weight | wgt% | rshares | pct | time |
---|---|---|---|---|---|
barrie | 0 | 0 | 100% | ||
summon | 0 | 14,392,803,284,050 | 100% | ||
fattire | 0 | 154,802,758,200 | 100% | ||
firstclass | 0 | 6,736,705,751,140 | 100% | ||
freedom | 0 | 5,633,204,313,301 | 100% | ||
modprobe | 0 | 351,032,988,407 | 100% | ||
badassmother | 0 | 3,305,516,586,386 | 100% | ||
fuzzyvest | 0 | 5,560,696,291,835 | 100% | ||
abit | 0 | -2,740,899,096,354 | -100% | ||
liondani | 0 | 550,207,472,747 | 100% | ||
steemit200 | 0 | 7,011,324,225,961 | 100% | ||
xeroc | 0 | 902,615,895,191 | 100% | ||
complexring | 0 | 2,908,778,050,879 | 100% | ||
joseph | 0 | 681,456,731,178 | 100% | ||
bhuz | 0 | 840,582,763,372 | 100% | ||
au1nethyb1 | 0 | 2,875,537,849,540 | 100% | ||
mineralwasser | 0 | 0 | 100% | ||
boombastic | 0 | 0 | 100% | ||
mrs.agsexplorer | 0 | 0 | 100% | ||
bingo-0 | 0 | 0 | 100% | ||
bingo-1 | 0 | 0 | 100% | ||
benjojo | 0 | 627,189,333,477 | 100% | ||
steempower | 0 | 58,065,573,667 | 100% | ||
cass | 0 | 19,583,245,200 | 100% | ||
proctologic | 0 | 12,352,481,117 | 100% | ||
idol | 0 | 7,884,649,998 | 100% | ||
markopaasila | 0 | 10,340,977,032 | 100% | ||
tuck-fheman | 0 | 125,602,072,404 | 100% | ||
donkeypong | 0 | 150,107,097,904 | 100% | ||
dab | 0 | 5,460,173,945 | 100% | ||
hcf27 | 0 | 1,423,579,701 | 100% | ||
clains | 0 | 113,875,715,147 | 100% | ||
steemrollin | 0 | 1,140,719,095 | 100% | ||
chitty | 0 | 5,830,744,530 | 100% | ||
unosuke | 0 | 42,517,679,634 | 100% | ||
pstrident | 0 | 935,723,576 | 100% | ||
vato | 0 | 130,560,389,849 | 100% | ||
jamtaylor | 0 | 511,012,382 | 100% | ||
dana-edwards | 0 | 544,173,386 | 100% | ||
nuno-nutcrusherz | 0 | 503,876,289 | 100% | ||
cryptorune | 0 | 497,510,694 | 100% | ||
idealist | 0 | 53,975,012,907 | 100% | ||
richman | 0 | 543,091,826 | 100% | ||
pal | 0 | 48,141,927,960 | 100% | ||
cryptopuffin | 0 | 360,580,581 | 100% | ||
jerome-colley | 0 | 298,370,695 | 100% | ||
john-kimmel | 0 | 6,546,622,729 | 100% | ||
xav | 0 | 4,239,508,583 | 100% | ||
amartinezque | 0 | 421,257,221 | 100% | ||
stino-san | 0 | 423,585,256 | 100% | ||
murh | 0 | 1,458,787,317 | 33.01% | ||
b4bb4r-5h3r | 0 | 242,960,782 | 100% | ||
john-khan | 0 | 402,818,656 | 100% | ||
jeky-jeky | 0 | 402,198,590 | 100% | ||
akaninyene-etuk | 0 | 184,952,321 | 100% | ||
sunshinecrypto | 0 | 1,802,015,746 | 100% | ||
rubybian | 0 | 0 | 100% | ||
horselditty | 0 | 229,804,485 | 100% | ||
magix | 0 | 671,684,649 | 100% | ||
seagul | 0 | 61,520,333 | 100% | ||
kell234 | 0 | 2,865,024,091 | 100% | ||
alecsinspace | 0 | 1,132,129,259 | 100% | ||
dudutaulois | 0 | 11,167,087,546 | 100% | ||
s4in | 0 | 116,249,403 | 100% | ||
xcode18 | 0 | 91,153,771 | 100% | ||
alex.chien | 0 | 0 | 100% | ||
arrogantobserver | 0 | 112,009,239 | 100% | ||
makimoto | 0 | 42,089,448 | 100% | ||
evgenyche | 0 | 59,557,579 | 100% | ||
shneakysquirrel | 0 | 0 | 100% | ||
marieta88 | 0 | 0 | 100% | ||
teebz | 0 | 0 | 100% | ||
beeridiculous | 0 | 0 | 100% | ||
adham | 0 | 0 | 100% | ||
progamatic | 0 | 0 | 100% | ||
mikeill | 0 | 0 | 100% | ||
pillowz | 0 | 0 | 100% | ||
badrobby | 0 | 0 | 100% | ||
mike29 | 0 | 0 | 100% | ||
tcrypto86 | 0 | 0 | 100% | ||
kiranrh | 0 | 0 | 100% | ||
brysj22952 | 0 | 0 | 100% | ||
syarifahalhabsyi | 0 | 0 | 100% | ||
dylen | 0 | 0 | 100% | ||
cloudconnect | 0 | 0 | 100% | ||
rockyt | 0 | 0 | 100% | ||
sheloumith | 0 | 0 | 100% | ||
jayb435 | 0 | 0 | 100% |
It seems your packages have no wheels. edit: Nevermind I think I got it We don't need wheels because we don't need roads where we're going.
author | aaseb |
---|---|
permlink | re-xeroc-upvote-bot-in-less-than-10-lines-of-code-20160725t205624146z |
category | steem |
json_metadata | {"tags":["steem"]} |
created | 2016-07-25 20:56:42 |
last_update | 2016-07-25 21:11:09 |
depth | 1 |
children | 0 |
last_payout | 2016-08-20 18:43:12 |
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 | 142 |
author_reputation | 470,722,236,683 |
root_title | "Upvote bot in less than 10 lines of code" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 357,200 |
net_rshares | 0 |
Wanna to vote against the voting bots. Sorry.
author | abit |
---|---|
permlink | re-xeroc-upvote-bot-in-less-than-10-lines-of-code-20160531t090443870z |
category | steem |
json_metadata | {} |
created | 2016-05-31 09:04:42 |
last_update | 2016-05-31 09:04:42 |
depth | 1 |
children | 0 |
last_payout | 2016-08-20 18:43:12 |
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 | 45 |
author_reputation | 141,171,499,037,785 |
root_title | "Upvote bot in less than 10 lines of code" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 19,438 |
net_rshares | 0 |
author_curate_reward | "" |
voter | weight | wgt% | rshares | pct | time |
---|---|---|---|---|---|
proctologic | 0 | 0 | 100% |
This is not good for the system really. To be clear I'm not "blaming" you - people will do what they have to do given a certain rule set. It's just that the system needs to tweak the incentives so that scripted participation, instead of human judgement in terms of quality, is *not* rewarded. Otherwise what's the point?
author | alexgr |
---|---|
permlink | re-xeroc-upvote-bot-in-less-than-10-lines-of-code-20160530t093118995z |
category | steem |
json_metadata | {} |
created | 2016-05-30 09:31:18 |
last_update | 2016-05-30 09:31:18 |
depth | 1 |
children | 1 |
last_payout | 2016-08-20 18:43:12 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.032 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 320 |
author_reputation | 45,645,291,230,585 |
root_title | "Upvote bot in less than 10 lines of code" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 18,518 |
net_rshares | 37,291,410,505 |
author_curate_reward | "" |
voter | weight | wgt% | rshares | pct | time |
---|---|---|---|---|---|
proctologic | 0 | 0 | 100% | ||
alexgr | 0 | 22,910,479,895 | 100% | ||
tshering-tamang | 0 | 543,195,744 | 100% | ||
gavvet | 0 | 2,509,693,603 | 100% | ||
teatree | 0 | 460,887,927 | 100% | ||
john-kimmel | 0 | 6,677,555,184 | 100% | ||
limitless | 0 | 905,996,503 | 100% | ||
stino-san | 0 | 415,279,662 | 100% | ||
bacchist | 0 | 2,868,321,987 | 100% | ||
comeonecomeall | 0 | 0 | 100% |
I agree with "voting bots" not bringing value. The purpose of this post was to show how easy it is to write one with the new libs. Technically, you could write any kind of bot with this!
author | xeroc |
---|---|
permlink | re-alexgr-re-xeroc-upvote-bot-in-less-than-10-lines-of-code-20160530t105925452z |
category | steem |
json_metadata | {} |
created | 2016-05-30 10:59:24 |
last_update | 2016-05-30 10:59:24 |
depth | 2 |
children | 0 |
last_payout | 2016-08-20 18:43:12 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.268 HBD |
curator_payout_value | 0.268 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 186 |
author_reputation | 118,819,064,085,695 |
root_title | "Upvote bot in less than 10 lines of code" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 18,548 |
net_rshares | 1,276,061,236,120 |
author_curate_reward | "" |
voter | weight | wgt% | rshares | pct | time |
---|---|---|---|---|---|
xeroc | 0 | 884,917,544,305 | 100% | ||
ajvest | 0 | 390,532,280,000 | 100% | ||
proctologic | 0 | 0 | 100% | ||
alexgr | 0 | 421,186,467 | 100% | ||
stijn | 0 | 190,225,348 | 100% | ||
comeonecomeall | 0 | 0 | 100% |
I have several accounts and each time I post I have to log into each one to up-vote my post, so this bot its actually very usefull.. Thanks xeroc!
author | chitty |
---|---|
permlink | re-xeroc-upvote-bot-in-less-than-10-lines-of-code-20160530t213121648z |
category | steem |
json_metadata | {} |
created | 2016-05-30 21:31:21 |
last_update | 2016-05-30 21:31:21 |
depth | 1 |
children | 0 |
last_payout | 2016-08-20 18:43:12 |
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 | 146 |
author_reputation | 86,901,300,608,582 |
root_title | "Upvote bot in less than 10 lines of code" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 19,042 |
net_rshares | 0 |
can i setup this from windows 8.1 ? or only from linux?
author | coar |
---|---|
permlink | re-xeroc-upvote-bot-in-less-than-10-lines-of-code-20160727t135131887z |
category | steem |
json_metadata | {"tags":["steem"]} |
created | 2016-07-27 13:51:36 |
last_update | 2016-07-27 13:51:36 |
depth | 1 |
children | 0 |
last_payout | 2016-08-20 18:43:12 |
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 | 55 |
author_reputation | 4,231,602,317,552 |
root_title | "Upvote bot in less than 10 lines of code" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 404,390 |
net_rshares | 0 |
Why make it easier for people to bring vote quality down? If someone else wants to write their own anti-social bot, they can do it themselves.
author | code |
---|---|
permlink | re-xeroc-upvote-bot-in-less-than-10-lines-of-code-20160530t100701185z |
category | steem |
json_metadata | {} |
created | 2016-05-30 10:07:36 |
last_update | 2016-05-30 10:07:36 |
depth | 1 |
children | 2 |
last_payout | 2016-08-20 18:43:12 |
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 | 142 |
author_reputation | 306,184,252,363 |
root_title | "Upvote bot in less than 10 lines of code" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 18,534 |
net_rshares | 0 |
author_curate_reward | "" |
voter | weight | wgt% | rshares | pct | time |
---|---|---|---|---|---|
proctologic | 0 | 0 | 100% |
The purpose of this post was to show people how easy it has become to write such a bot. It could do way more than just upvote posts.
author | xeroc |
---|---|
permlink | re-code-re-xeroc-upvote-bot-in-less-than-10-lines-of-code-20160530t110535868z |
category | steem |
json_metadata | {} |
created | 2016-05-30 11:05:36 |
last_update | 2016-05-30 11:05:36 |
depth | 2 |
children | 1 |
last_payout | 2016-08-20 18:43:12 |
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 | 132 |
author_reputation | 118,819,064,085,695 |
root_title | "Upvote bot in less than 10 lines of code" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 18,554 |
net_rshares | 619,835,544 |
author_curate_reward | "" |
voter | weight | wgt% | rshares | pct | time |
---|---|---|---|---|---|
proctologic | 0 | 0 | 100% | ||
alexgr | 0 | 429,610,196 | 100% | ||
stijn | 0 | 190,225,348 | 100% |
The bot can have utility. It can take an article written in one language and translate it to another then post it on Steem. So for example a person writes an article in Chinese and the bot downloads the text, runs it through a translator process, then uploads the English version. The whole thing can be automated or humans can be rewarded to translate.
author | dana-edwards |
---|---|
permlink | re-xeroc-re-code-re-xeroc-upvote-bot-in-less-than-10-lines-of-code-20160530t120042556z |
category | steem |
json_metadata | {} |
created | 2016-05-30 12:00:42 |
last_update | 2016-05-30 12:01:54 |
depth | 3 |
children | 0 |
last_payout | 2016-08-20 18:43:12 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.172 HBD |
curator_payout_value | 0.172 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 354 |
author_reputation | 353,623,611,191,427 |
root_title | "Upvote bot in less than 10 lines of code" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 18,591 |
net_rshares | 885,107,769,653 |
author_curate_reward | "" |
voter | weight | wgt% | rshares | pct | time |
---|---|---|---|---|---|
xeroc | 0 | 884,917,544,305 | 100% | ||
proctologic | 0 | 0 | 100% | ||
stijn | 0 | 190,225,348 | 100% |
That looks like Greek to me. I want to create an upvote bot. Can someone help me? Email me on brazendale@gmail.com thanks
author | colinbrazendale |
---|---|
permlink | re-xeroc-upvote-bot-in-less-than-10-lines-of-code-20170724t185851615z |
category | steem |
json_metadata | {"tags":["steem"],"app":"steemit/0.1"} |
created | 2017-07-24 18:58:51 |
last_update | 2017-07-24 18:58:51 |
depth | 1 |
children | 0 |
last_payout | 2017-07-31 18:58:51 |
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 | 121 |
author_reputation | 46,234,111,950,124 |
root_title | "Upvote bot in less than 10 lines of code" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 9,573,755 |
net_rshares | 0 |
I suppose you could vote first, ask questions later and remove vote if you don't like it.
author | dantheman |
---|---|
permlink | re-xeroc-upvote-bot-in-less-than-10-lines-of-code-20160530t124311710z |
category | steem |
json_metadata | {} |
created | 2016-05-30 12:43:12 |
last_update | 2016-05-30 12:43:12 |
depth | 1 |
children | 0 |
last_payout | 2016-08-20 18:43:12 |
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 | 89 |
author_reputation | 240,292,002,602,347 |
root_title | "Upvote bot in less than 10 lines of code" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 18,629 |
net_rshares | 190,225,348 |
author_curate_reward | "" |
voter | weight | wgt% | rshares | pct | time |
---|---|---|---|---|---|
proctologic | 0 | 0 | 100% | ||
stijn | 0 | 190,225,348 | 100% |
Hey @xeroc, love your stuff but I found a small bug with this logic: > if c["author"] in authors: This will be true for substring matches in authors. So if `authors` contains a name such as "longtestname" and `c["author"]` contains a name such as "name" or "test" It will evaluate as true (Python is still new for me)
author | discombobulated |
---|---|
permlink | re-xeroc-upvote-bot-in-less-than-10-lines-of-code-20160809t225340625z |
category | steem |
json_metadata | {"tags":["steem"],"users":["xeroc"]} |
created | 2016-08-09 22:53:39 |
last_update | 2016-08-10 15:42:51 |
depth | 1 |
children | 3 |
last_payout | 2016-08-20 18:43:12 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 1.214 HBD |
curator_payout_value | 0.398 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 322 |
author_reputation | 13,090,894,039,053 |
root_title | "Upvote bot in less than 10 lines of code" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 713,421 |
net_rshares | 2,054,141,131,590 |
author_curate_reward | "" |
voter | weight | wgt% | rshares | pct | time |
---|---|---|---|---|---|
anonymous | 0 | 28,850,488,570 | 1% | ||
boy | 0 | 2,463,907,793 | 100% | ||
xeroc | 0 | 1,975,079,749,104 | 100% | ||
bue-witness | 0 | 2,990,166,832 | 100% | ||
bunny | 0 | 571,974,504 | 100% | ||
bue | 0 | 41,271,539,830 | 100% | ||
mini | 0 | 1,320,931,169 | 100% | ||
moon | 0 | 167,039,189 | 100% | ||
healthcare | 0 | 490,152,439 | 100% | ||
daniel.pan | 0 | 705,422,677 | 100% | ||
helen.tan | 0 | 229,759,483 | 100% | ||
teddycool | 0 | 0 | 100% |
Thanks for taking a closer look, but since this expression "a" in ["aa"] evaluates to `False` in python, I'd say that python interprets all elements of `authors` independently and in full. That's because `authors` is an *array* or *list*. If it was just a single author then you would be right since "a" in "aa" evaluates to `True` Agreed?
author | xeroc |
---|---|
permlink | re-discombobulated-re-xeroc-upvote-bot-in-less-than-10-lines-of-code-20160810t123419152z |
category | steem |
json_metadata | {"tags":["steem"]} |
created | 2016-08-10 12:34:18 |
last_update | 2016-08-10 12:35:18 |
depth | 2 |
children | 2 |
last_payout | 2016-08-20 18:43:12 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 1.018 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 353 |
author_reputation | 118,819,064,085,695 |
root_title | "Upvote bot in less than 10 lines of code" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 723,481 |
net_rshares | 1,443,154,878,769 |
author_curate_reward | "" |
voter | weight | wgt% | rshares | pct | time |
---|---|---|---|---|---|
anonymous | 0 | 1,442,516,850,985 | 100% | ||
erikclark13 | 0 | 638,027,784 | 100% |
Just [tested this more](https://repl.it/languages/python3) and found out what the error was: If you include the single quotes around the array, both statements return True stringList = '["list","of","strings"]' print("list" in stringList) True print ("li" in stringList) True But if you remove the single quotes around the array, it functions as intended: stringList = ["list","of","strings"] print("list" in stringList) True print ("li" in stringList) False Hope this helps!
author | discombobulated |
---|---|
permlink | re-xeroc-re-discombobulated-re-xeroc-upvote-bot-in-less-than-10-lines-of-code-20160810t154102727z |
category | steem |
json_metadata | {"tags":["steem"],"links":["https://repl.it/languages/python3"]} |
created | 2016-08-10 15:41:03 |
last_update | 2016-08-10 15:41:03 |
depth | 3 |
children | 1 |
last_payout | 2016-08-20 18:43:12 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.033 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 520 |
author_reputation | 13,090,894,039,053 |
root_title | "Upvote bot in less than 10 lines of code" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 726,527 |
net_rshares | 66,969,783,339 |
author_curate_reward | "" |
voter | weight | wgt% | rshares | pct | time |
---|---|---|---|---|---|
discombobulated | 0 | 66,969,783,339 | 100% | ||
mex-power | 0 | 0 | 100% |
Forgive a non-techie question. Given two or more users employing the same bot for quick action, which one gets in first? Does it matter where your computer is located and how fast your network speed is, etc.?
author | donkeypong |
---|---|
permlink | re-xeroc-upvote-bot-in-less-than-10-lines-of-code-20160530t175456215z |
category | steem |
json_metadata | {} |
created | 2016-05-30 17:55:03 |
last_update | 2016-05-30 17:55:03 |
depth | 1 |
children | 1 |
last_payout | 2016-08-20 18:43:12 |
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 | 208 |
author_reputation | 431,667,636,679,304 |
root_title | "Upvote bot in less than 10 lines of code" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 18,853 |
net_rshares | 0 |
Very good questions!! In fact it depends on who gets his transaction to the next block signer the fastest. That depends on your connectivity and the distance to the next block producer. However, since you don't know the distance to the next block producer and them being spread around the world, it mostly comes down to luck :)
author | xeroc |
---|---|
permlink | re-donkeypong-re-xeroc-upvote-bot-in-less-than-10-lines-of-code-20160531t064404525z |
category | steem |
json_metadata | {} |
created | 2016-05-31 06:44:03 |
last_update | 2016-05-31 06:44:03 |
depth | 2 |
children | 0 |
last_payout | 2016-08-20 18:43:12 |
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 | 327 |
author_reputation | 118,819,064,085,695 |
root_title | "Upvote bot in less than 10 lines of code" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 19,312 |
net_rshares | 58,908,393 |
author_curate_reward | "" |
voter | weight | wgt% | rshares | pct | time |
---|---|---|---|---|---|
unicornmeth666 | 0 | 58,908,393 | 100% |
As much as I like bots and automating things, once an author knows they have certain users "bot voting" for them, they can start to "spam up" inferior content and still be assured of the votes. Also bot users will be favored to get the first couple and most valuable up-votes in. This could be very frustrating for the non-bot community or authors not on the bot list.
author | gavvet |
---|---|
permlink | re-xeroc-upvote-bot-in-less-than-10-lines-of-code-20160530t095742783z |
category | steem |
json_metadata | {} |
created | 2016-05-30 09:57:45 |
last_update | 2016-05-30 09:57:45 |
depth | 1 |
children | 3 |
last_payout | 2016-08-20 18:43:12 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.738 HBD |
curator_payout_value | 0.738 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 368 |
author_reputation | 889,099,611,791,780 |
root_title | "Upvote bot in less than 10 lines of code" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 18,530 |
net_rshares | 2,743,060,464,354 |
author_curate_reward | "" |
voter | weight | wgt% | rshares | pct | time |
---|---|---|---|---|---|
abit | 0 | 2,740,756,933,068 | 100% | ||
dana-edwards | 0 | 533,503,319 | 100% | ||
teatree | 0 | 470,105,685 | 100% | ||
limitless | 0 | 905,996,503 | 100% | ||
andu | 0 | 393,925,779 | 100% | ||
libertylol | 0 | 0 | 100% | ||
comeonecomeall | 0 | 0 | 100% |
Can't the bot scan the text for key words?
author | dana-edwards |
---|---|
permlink | re-gavvet-re-xeroc-upvote-bot-in-less-than-10-lines-of-code-20160530t115806396z |
category | steem |
json_metadata | {} |
created | 2016-05-30 11:58:06 |
last_update | 2016-05-30 11:58:06 |
depth | 2 |
children | 1 |
last_payout | 2016-08-20 18:43:12 |
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 | 353,623,611,191,427 |
root_title | "Upvote bot in less than 10 lines of code" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 18,589 |
net_rshares | 0 |
It can: https://steemit.com/steem/@xeroc/notification-bot-for-steem-in-30-lines-of-code
author | xeroc |
---|---|
permlink | re-dana-edwards-re-gavvet-re-xeroc-upvote-bot-in-less-than-10-lines-of-code-20160530t120227822z |
category | steem |
json_metadata | {} |
created | 2016-05-30 12:02:27 |
last_update | 2016-05-30 12:02:27 |
depth | 3 |
children | 0 |
last_payout | 2016-08-20 18:43:12 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.172 HBD |
curator_payout_value | 0.172 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 87 |
author_reputation | 118,819,064,085,695 |
root_title | "Upvote bot in less than 10 lines of code" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 18,595 |
net_rshares | 885,338,730,772 |
author_curate_reward | "" |
voter | weight | wgt% | rshares | pct | time |
---|---|---|---|---|---|
xeroc | 0 | 884,917,544,305 | 100% | ||
alexgr | 0 | 421,186,467 | 100% | ||
mido324 | 0 | 0 | 100% |
Voting is just "one" thing to automate. You could automate anything with a library like this
author | xeroc |
---|---|
permlink | re-gavvet-re-xeroc-upvote-bot-in-less-than-10-lines-of-code-20160530t110206347z |
category | steem |
json_metadata | {} |
created | 2016-05-30 11:02:06 |
last_update | 2016-05-30 11:02:06 |
depth | 2 |
children | 0 |
last_payout | 2016-08-20 18:43:12 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.176 HBD |
curator_payout_value | 0.176 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 92 |
author_reputation | 118,819,064,085,695 |
root_title | "Upvote bot in less than 10 lines of code" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 18,551 |
net_rshares | 902,615,895,191 |
author_curate_reward | "" |
voter | weight | wgt% | rshares | pct | time |
---|---|---|---|---|---|
xeroc | 0 | 902,615,895,191 | 100% |
kill all bots before they kill all humans
author | jillstein2016 |
---|---|
permlink | re-xeroc-upvote-bot-in-less-than-10-lines-of-code-20160727t010508284z |
category | steem |
json_metadata | {"tags":["steem"]} |
created | 2016-07-27 01:05:09 |
last_update | 2016-07-27 01:05:09 |
depth | 1 |
children | 0 |
last_payout | 2016-08-20 18:43:12 |
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 | 41 |
author_reputation | -7,404,135,151,022 |
root_title | "Upvote bot in less than 10 lines of code" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 390,918 |
net_rshares | -21,505,886 |
author_curate_reward | "" |
voter | weight | wgt% | rshares | pct | time |
---|---|---|---|---|---|
cheetah21 | 0 | -21,505,886 | -100% |
http://s2.quickmeme.com/img/09/09aafa37dd14701cfd302eb8963d1e1c0faa5119d60e2671eea5f13620231492.jpg
author | magix |
---|---|
permlink | re-xeroc-upvote-bot-in-less-than-10-lines-of-code-20160726t233542677z |
category | steem |
json_metadata | {"tags":["steem"],"image":["http://s2.quickmeme.com/img/09/09aafa37dd14701cfd302eb8963d1e1c0faa5119d60e2671eea5f13620231492.jpg"]} |
created | 2016-07-26 23:35:42 |
last_update | 2016-07-26 23:35:42 |
depth | 1 |
children | 0 |
last_payout | 2016-08-20 18:43:12 |
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 | 99 |
author_reputation | 98,880,203,726 |
root_title | "Upvote bot in less than 10 lines of code" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 389,113 |
net_rshares | 0 |
Here is an Archive of Cryptocurrency App building Code on Github for anyone creating a Steemit app https://steemit.com/steem/@marsresident/github-cryptocurrency-app-creation-archive
author | marsresident |
---|---|
permlink | re-xeroc-upvote-bot-in-less-than-10-lines-of-code-20160722t020004474z |
category | steem |
json_metadata | {"tags":["steem"],"links":["https://steemit.com/steem/@marsresident/github-cryptocurrency-app-creation-archive"]} |
created | 2016-07-22 02:00:18 |
last_update | 2016-07-22 02:00:18 |
depth | 1 |
children | 0 |
last_payout | 2016-08-20 18:43:12 |
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 | 181 |
author_reputation | 10,013,229,877,794 |
root_title | "Upvote bot in less than 10 lines of code" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 263,975 |
net_rshares | 0 |
Everyone be like "This is bad, you shouldn't upvote indiscriminately! Y U luv spam, xeroc??" but am I the only one saying "Pardon me, but put your WIF in an environment variable??" ;) And this is a brilliant hello-world style example of the power and expressiveness of this library. Great work!
author | modprobe |
---|---|
permlink | re-xeroc-upvote-bot-in-less-than-10-lines-of-code-20160530t165952401z |
category | steem |
json_metadata | {} |
created | 2016-05-30 16:59:51 |
last_update | 2016-05-30 16:59:51 |
depth | 1 |
children | 3 |
last_payout | 2016-08-20 18:43:12 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 1.048 HBD |
curator_payout_value | 1.047 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 295 |
author_reputation | 57,055,357,664,878 |
root_title | "Upvote bot in less than 10 lines of code" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 18,808 |
net_rshares | 3,501,356,156,703 |
author_curate_reward | "" |
voter | weight | wgt% | rshares | pct | time |
---|---|---|---|---|---|
xeroc | 0 | 831,822,491,646 | 100% | ||
arhag | 0 | 2,659,180,931,284 | 100% | ||
hcf27 | 0 | 1,395,666,373 | 100% | ||
chitty | 0 | 5,714,129,639 | 100% | ||
john-khan | 0 | 410,875,029 | 100% | ||
bacchist | 0 | 2,809,784,803 | 100% | ||
streak | 0 | 22,277,929 | 100% | ||
photono | 0 | 0 | 100% | ||
beeridiculous | 0 | 0 | 100% | ||
mikeill | 0 | 0 | 100% | ||
dan0ss | 0 | 0 | 100% | ||
interaktfilms | 0 | 0 | 100% | ||
qu3kl0rd | 0 | 0 | 100% | ||
nelson.micofilo | 0 | 0 | 100% | ||
comeonecomeall | 0 | 0 | 100% | ||
teddycool | 0 | 0 | 100% | ||
jayb435 | 0 | 0 | 100% |
Yes, this.
author | streak |
---|---|
permlink | re-modprobe-re-xeroc-upvote-bot-in-less-than-10-lines-of-code-20160718t002807434z |
category | steem |
json_metadata | {"tags":["steem"]} |
created | 2016-07-18 00:28:06 |
last_update | 2016-07-18 00:28:06 |
depth | 2 |
children | 2 |
last_payout | 2016-08-20 18:43:12 |
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 | 10 |
author_reputation | -10,929,914,238 |
root_title | "Upvote bot in less than 10 lines of code" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 156,491 |
net_rshares | 0 |
author_curate_reward | "" |
voter | weight | wgt% | rshares | pct | time |
---|---|---|---|---|---|
cuckold | 0 | 0 | 100% |
Pardon my ignorance, I'm kind of new, and not all up with what you're trying to say. So it's not a good thing to put your WIF in the environment variable or is it a good thing?
author | oscarblue04 |
---|---|
permlink | re-streak-re-modprobe-re-xeroc-upvote-bot-in-less-than-10-lines-of-code-20180208t232206404z |
category | steem |
json_metadata | {"tags":["steem"],"app":"steemit/0.1"} |
created | 2018-02-08 23:22:09 |
last_update | 2018-02-08 23:22:09 |
depth | 3 |
children | 1 |
last_payout | 2018-02-15 23:22:09 |
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 | 177 |
author_reputation | 35,391,239,887 |
root_title | "Upvote bot in less than 10 lines of code" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 36,025,289 |
net_rshares | 0 |
Thanks man. I really appreciate the time you took to write this library!
author | vidallia |
---|---|
permlink | re-xeroc-upvote-bot-in-less-than-10-lines-of-code-20170816t042757204z |
category | steem |
json_metadata | {"tags":["steem"],"app":"steemit/0.1"} |
created | 2017-08-16 04:27:57 |
last_update | 2017-08-16 04:27:57 |
depth | 1 |
children | 0 |
last_payout | 2017-08-23 04:27:57 |
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 | 72 |
author_reputation | 252,226,177,161 |
root_title | "Upvote bot in less than 10 lines of code" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 11,946,618 |
net_rshares | 0 |
Wow! Few lines of killer bot, thanks mate.. 🙂
author | vlasmp |
---|---|
permlink | re-xeroc-upvote-bot-in-less-than-10-lines-of-code-20171218t084138808z |
category | steem |
json_metadata | {"tags":["steem"],"app":"steemit/0.1"} |
created | 2017-12-18 08:41:39 |
last_update | 2017-12-18 08:41:39 |
depth | 1 |
children | 0 |
last_payout | 2017-12-25 08:41:39 |
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 | 45 |
author_reputation | 20,897,183,443 |
root_title | "Upvote bot in less than 10 lines of code" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 23,991,968 |
net_rshares | 0 |