Lucky Luke is a reimplementation of Dr. Phil, but instead of voting for new articles, it votes for posts mentioned in the memo field of a transfer operation. By default, it votes for any transfer sent to booster but you can configure any bot that receives pay-for-vote transfers. You can also set a minimum transfer amount to ignore small amounts.
voting_rules
min_transfer allows you to specify the minimum amount in the transfer to vote on.min_wait and max_wait (in minutes) so that you can fine-tune voting delay.enable_comments option to vote for post replies (default false).max_rep option, useful for limiting votes to newer authors (default 99.9).vote_signals account list.
min_rep can now accept either a static reputation or a dynamic property.
25.0dynamic:100. This will occasionally query the top 100 trending posts and use the minimum author reputation.vote_weight: 0.00 % and skipping without broadcast.
min_voting_power to create a floor with will allow the voter to recharge over time without having to stop the script.only_tags (optional) which only votes on posts that include these tags.voters as a separate filename. E.g:
voters: voters.txt
account wif (no leading dash, separated by space)skip_accountsskip_tagsflag_signalsvote_signalsbots is a list of bots to watch transfer operations for.replay: allows a replay of n blocks allowing you to catch up to the present.
ruby luckyluke.rb replay:90 will replay the last 90 blocks (about 4.5 minutes).^C will have.cashout_time value (if present).
The goal is to vote before the pay-for-vote bot. To achieve this, Lucky Luke watches for transfer operations.
You might configure the bot to only watch for transfers over 10.000 SBD, for example. The bot will also use a few other rules like to avoid voting for declined payouts and automatically suspend voting if it needs to recharge.
To use this Radiator bot:
$ sudo apt-get update
$ sudo apt-get install ruby-full git openssl libssl1.0.0 libssl-dev
$ sudo apt-get upgrade
$ gem install bundler
$ gem install bundler
You can try the system version of ruby, but if you have issues with that, use this how-to, and come back to this installation at Step 4:
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://gist.github.com/07cfb044f625beb22724371b85cea0e4.git luckyluke
$ cd luckyluke
$ bundle install
Then run it:
$ ruby luckyluke.rb
Lucky Luke will now do it's thing. Check here to see an updated version of this bot:
https://gist.github.com/inertia186/07cfb044f625beb22724371b85cea0e4
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.
luckyluke.yml:1: syntax error, unexpected ':', expecting end-of-input
ruby luckyluke.yml but you should run ruby luckyluke.rb.Unable to vote with <account>. Invalid version
Make sure the .yml file voter items have the account name, followed by a space, followed by the account's WIF posting key. Also make sure you have removed the example accounts (social and bad.account are just for testing).
Is there a list of nodes?
https://ripplerm.github.io/steem-servers/
See my previous Ruby How To posts in: #radiator #ruby
If you're using Lucky Luke, I'd love to hear from you. Drop me a line and tell me what you think! I'm @inertia on STEEM and SteemSpeak.
I don't believe in intellectual "property". If you do, consider Lucky Luke as licensed under a Creative Commons