Automatically Supporting the Robinhood Whale Project

5년 전

Thank you to the hard working coders and please use this to support the robinhood whale! 
I'll throw the SBD to the fund so if you can't install the bot an upvote is pretty close.



So if you don't know about The Robinhood Whale initiative checkout this intro post: https://steemit.com/robinhoodwhale/@robinhoodwhale/announcing-robinhoodwhale-the-steemit-deep-sea-savior and join us on https://steemit.chat/channel/robinhood

Intro
Bots are inevitable, this is a middle ground. Supporting Robinhood is great, for one they liked one of my posts, but even better, they have an open community in robinhood-links where you can share users you think are great for the platform, so we can keep those great people around. @repholder who runs the project said I can post this on my account.

Credits to Creators
This amazing software was created by @lukestokes. It is still under development. If you're a forker on github checkout the php-steem-tools repo: https://github.com/lukestokes/php-steem-tools - As many other projects do, it's based on piston by @xeroc which is a great all around tool for interfacing with steemit without a node: https://github.com/xeroc/piston

From comment: lukestokes
PSA:
This is test code, so please keep that in mind if it breaks in the future. I have no version numbering or anything at this point.

Setup

Requirements:
A Linux computer or VPS. In this guide I am assuming you have Ubuntu use the appropriate package manager.

  • sudo apt-get -y install python3-pip php5 php-pear php5-mysql php5-curl git
  • sudo pip3 install steem-piston
  • piston addkey [posting private key]
  • choose a password
  • git clone https://github.com/lukestokes/php-steem-tools
  • cd php-steem-tools
  • wget https://getcomposer.org/installer
  • php composer.phar install
  • cd /bot/php-steem-tools/tests/Bots
  • nano CopyCatVoterTest.php
  • change username to your piston added user
  • php CopyCatVoterTest.php
  • you will need to enter your password for each vote

If you wish to autovote you can use the UNLOCK env variable. PLEASE ONLY ADD POSTING KEY TO PISTON AND USE A PASSPHRASE YOU DO NOT USE OTHER PLACES

so i assume nano is easiest for you on linux

  • from root of github, cd /bot/php-steem-tools/src/SteemTools/Bots, then nano CopyCatVoter.php, look for public function vote at bottom part. You'll see:
    $command = piston upvote --voter ' . $voter;
  • add UNLOCK="genericpistonpassword"
  • will look like this: $command = 'UNLOCK="genericpistonpassword" piston upvote --voter ' . $voter;

Double warning using the unlock variable will allow anyone that can see the code to access your piston wallet, so only add a posting key, a password you DO NOT USE other places, and take appropriate security caution.

Be nice ;)
Please be kind and keep it locked to robinhoodwhale. You'll still get rewards, and you're supporting something great. If you want to influence who is listed as I said visit the robinhood-links channel and share a link of someone you love and if it fits for the group they'll be supported.

Authors get paid when people like you upvote their post.
If you enjoyed what you read here, create your account today and start earning FREE STEEM!
STEEMKR.COM IS SPONSORED BY
ADVERTISEMENT
Sort Order:  trending

If I had known so many people would want to use this code, maybe I would have waited to release it until it was cleaned up more. :)

PSA: This is test code, so please keep that in mind if it breaks in the future. I have no version numbering or anything at this point.

Also, if you do get it running, you might like this as well (note: you'll have to edit the file to include your own account):

➜  Bots git:(master) ✗ php CopyCatVoterTestCurationReport.php
0.04,kazumba/modern-day-edgar-cayce-nostradamus
0.236,webosfritos/thoughts-on-steemit-power-distribution-and-steempower-an-anthropology-based-approach
0.239,naquoya/sometimes-we-just-need-to-rage-against-the-machine
0.038,dorit-israeli/experimental-learning-space-education-by-dr-dorit-israeli
0.038,tonypeacock/join-a-niche-online-community-here-s-10-reasons-why
0.181,jaytaylor/on-international-dog-day-be-more-dog
0.036,sitaru/yes-you-are-right-to-fear-and-hate-islam-there-are-1-7-billion-potential-criminals-out-there
0.331,anahilarski/graphic-design-and-social-media-pro-from-panama
0.371,owdy/color-for-the-color-blind-the-science-behind-the-enchroma-glasses
0.663,lukmarcus/wicker-heart-with-roses-made-from-paper-and-ribbon-beautiful-present-from-my-wife-to-hers-grandmother-on-70th-birthday
0.983,kiddarko/time-lapse-daisy-painting-start-to-finish-in-4-minutes
0.054,mada/buying-organic-tobacco-leaves-as-an-agricultural-commodity-to-make-your-own-affordable-high-quality-cigarettes-a-guide-in
0.156,robinhoodwhale/announcing-robinhoodwhale-the-steemit-deep-sea-savior
0.034,sauravrungta/quantum-computers-the-future-of-computing
0.03,dantheman/re-ervin-lemark-re-steemitblog-introducing-promoted-content-20160829t223639882z
0.028,artist1989/the-creation-of-the-book-beatrix-percival-inspiration-and-creative-process
0.037,tltran/15-year-old-regret-is-laid-to-rest-a-poem
0.039,kainmarx/child-abuse-and-my-experiences-dealing-with-it-as-a-child-the-actions-effects-and-outcomes
0.915,emsenn/is-it-better-to-starve
0.424,creationlayer/synereo-analysis-let-s-do-it-right-this-time
0.042,aaronburt/how-i-made-bank-selling-my-school-s-wifi-password
0.029,diana.catherine/benetton-the-creativity-the-controversy-and-the-reality-that-we-try-to-avoid
0.106,gonzo/the-dark-side-of-the-blockchain-chapter-eight-ned
0,mione/how-english-was-made-one-language-s-long-journey-from-humble-to-honorificabilitudinitatibus
0,steemitpatina/this-year-a-dj-s-saving-my-life-meet-david-olam
0,papa-pepper/why-children-are-like-pit-bulls-part-1
0,sarahjordan/a-totally-different-life-in-one-year
0,mattclarke/the-new-normal
0,melisalerue/hello-steemit-welcome-to-my-world-may-the-adventure-begin
0,strangerarray/taking-the-mask-off-steemit-does-steemit-work-for-you-or-do-you-work-for-steemit
0,


Total SP Earned by CopCatVoter: 5.05

File saved: copy_cat_voter_history_with_curation_rewards_2016-08-31.txt%     

I admire robinhoodwhale.

@creationlayer, thanks for creating this guide and putting down all the steps needed :)

·

sure i hope it works well, i was in "tech support" for a bit, so I try to document it like this. It took me actually maybe a couple hours to figure it all out, hah. I didn't know about piston UNLOCK. I didn't know composer really, so had to figure out building that. I'm half decent at PHP so that wasn't an issue. Let me know if you run into an issue, I think I got it all.

Very good project, following!