hello_nurse

in radiator •  3 months ago

You should not use this bot unless you understand exactly what it does. It requires your active_key and its use is not recommended. Do not ask me for support if it sends all of your money somewhere.

As with all of my tools, this disclaimer applies:

Affirmer offers the Work as-is and makes no
representations or warranties of any kind
concerning the Work, express, implied,
statutory or otherwise, including without
limitation warranties of title,
merchantability, fitness for a particular
purpose, non infringement, or the absence of
latent or other defects, accuracy, or the
present or absence of errors, whether or not
discoverable, all to the greatest extent
permissible under applicable law.

Features

  • YAML config.
    • global
      • mode
        • head - the last block
        • irreversible - (default) the block that is confirmed by 2/3 of all block producers and is thus irreversible!
    • voting_rules
      • trigger_vote_weight - exact voting amount to trigger a transfer.
      • enable_comments - enable or disable comments to trigger votes.
      • max_vote_elapse - to detect if the bots are offline (we don't want to transfer if the bot isn't voting).
    • voters - list of accounts to send transfers from after they vote.
    • bots - list of bots to send transfers to, separated by spaces

Overview

Hello Nurse (hello_nurse) is a bot that will transfer money to Dr. Otto bots when you vote a certain way.

For example, you can configure this bot to watch for 1% votes by you, and when that happens, transfer 2 SBD to your favorite pay-for-vote bot. The memo will be set to the post that got a 1% upvote.


Install

To use this Radiator bot:

Linux
$ sudo apt-get install ruby-full git openssl libssl1.0.0 libssl-dev
$ gem install bundler
macOS
$ gem install bundler

I've tested it on various versions of ruby. The oldest one I got it to work was:

ruby 2.0.0p645 (2015-04-13 revision 50299) [x86_64-darwin14.4.0]

First, clone this gist and install the dependencies:

$ git clone https://github.com/inertia186/hello_nurse.git
$ cd hello_nurse
$ bundle install

Edit the configuration file hello_nurse.yml

:global:
  :mode: irreversible

:voting_rules:
  :trigger_vote_weight: 2.00 %
  :enable_comments: true
  :max_vote_elapse: 600
  
:voters:
  :social:
    :active_key: 5JrvPrQeBBvCRdjv29iDvkwn3EQYZ9jqfAHzrCyUvfbEbRkrYFC
    :amount: 4.000 SBD
  :bad.account:
    :active_key: 5XXXBadWifXXXdjv29iDvkwn3EQYZ9jqfAHzrCyUvfbEbRkrYFC
    :amount: 4.000 SBD

:bots: booster

:chain_options:
  :chain: steem
  :url: https://steemd.steemit.com

Before you run it, make sure you and understand and fully control the voter accounts. Any vote that matches the trigger weight will initiate a transfer. Before running this bot, ensure all automated voting has been disabled or else this bot may transfer unexpected amounts.


Then run it:

$ ruby hello_nurse

Check here to see an updated version of this bot:

https://github.com/inertia186/hello_nurse


Upgrade

Typically, you can upgrade to the latest version by this command, from the original directory you cloned into:

$ git pull

Usually, this works fine as long as you haven't modified anything. If you get an error, try this:

$ git stash --all
$ git pull --rebase
$ git stash pop

If you're still having problems, I suggest starting a new clone.


Troubleshooting

Problem: What does this error mean?
hello_nurse.yml:1: syntax error, unexpected ':', expecting end-of-input
Solution: You ran ruby hello_nurse.yml but you should run ruby hello_nurse.

Problem: Everything looks ok, but every time hello_nurse tries to post, I get this error:
`from_base58': Invalid version (RuntimeError)
Solution: You're trying to vote with an invalid key.

Make sure the .yml file voters item have the correct account name and WIF posting key.

Problem: The node I'm using is down.

Is there a list of nodes?

Solution: Yes, special thanks to @ripplerm.

https://ripplerm.github.io/steem-servers/




See my previous Ruby How To posts in: #radiator #ruby

Get in touch!

If you're using hello_nurse, I'd love to hear from you. Drop me a line and tell me what you think! I'm @inertia on STEEM and SteemSpeak.

License

I don't believe in intellectual "property". If you do, consider hello_nurse as licensed under a Creative Commons CC0 License.

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!
Sort Order:  trending

hello inertia,
is hello_nurse offline???

https://github.com/inertia186/hello_nurse

·

Oops. No, it wasn't offline. I just forgot to make it public. It's public now, thanks for checking!!

·
·

Thanks to you for programming it!

Wow, this is really cool. It seems to be for much larger accounts, but damn I wish I had the right reasons to play with this. Seriously this is awesome @inertia - very impressed. I need to spend more time programming 🤣

I am downloading this and firing it up straight away! ;)
I have no idea what this does, but the warnings caught my attention.

·

Yes, me too, haha @whatsup

·

HA HA same here but I have windows :D plus I never did anything simmilar :}

·
·

even if I could, I would transfer 99% of my money to "Savings" as I troll the bot giving me errors like "error transfer - not enough SBD" XD

Captain.jpg

Will this work on pay for bots not using Dr otto like randowhale?

Wow, another awesome tool by @inertia Thanks buddy for all you do , these tools are really great!

Nice, Im a bit jealous on you developer guys, when I see some developing, I like it a lot, I have never learned the skill though :)

If you don't recommend to use it, why do you promote it?

·
·
·

feel the burn..lol

·
·

nice reply inertia xD

Hi, reading this post I didn't know anything about what you are talking about. I am not an expert on script program. But thanks a lot for what you wrote down here.
Regard from Indonesia.

I have nooooooo clue whats going on here @inertia.... omg it sucks to be such a noob in tech and programming....

This post has received a 100.00 % upvote from @minnowhelper thanks to: @eutectico. For more information, click here!

I wish I could write scripts etc like this, to build my own bots and use them online. I take my hat of for you @inerta for everything you do on here!