You are viewing a single comment's thread from:

RE: Howto: Steemit Bot Tutorial For Newbies #1 - Votebot

in #howto8 years ago

so what if you have more than one votebot... does this work assuming they all have the same posting key?

print(c.upvote(weight=100, voter="votebot"))
print(c.upvote(weight=100, voter="votebot2"))
print(c.upvote(weight=100, voter="votebot3"))

if you had like 8000 votebots running like this, would that likely be prohibitively unstable?

Sort:  

When instanciating Steem() you can pass an array of wif keys:

steem = Steem(keys=[wif1, wif2, wif3]

of you install the keys into the library-internal wallet using pison

piston addkey

then you don't need to deal with keys in the script at all but need to provide the masterpassword for the wallet either in the terminal-prompt, or in the environmental variable UNLOCK

It would be better to put a multi select function that triggers votes from multiple bots in one. Each instance will be pulling the same data, it makes more sense to only do this once.

Yes if all the bots have the same key they can vote like you show.