Backup your local.conf before running this script. You may also choose to run force-local on your rig to prevent override from a remote config.
To get up and running, you need to do the following:
This script will install to ethos-autominer in your home directory, add it to your PATH, and add a cron entry to start it running:
curl -o- https://raw.githubusercontent.com/GruveTools/ethos-autominer/master/install-autominer.sh | bash
-
First, clone the repository to your rig:
git clone https://github.com/GruveTools/ethos-autominer ~/ethos-autominer/ -
Make your configuration directory:
mkdir ~/.autominer -
Copy the sample config file to your configuration directory:
cp ~/ethos-autominer/config.sample.json ~/.autominer/config.json -
Edit your
config.jsonto set your preferences. The following options in particular:- Set the
whattomine_urlby going to whattomine.com, using the calulator as per your rig setup, and then copy and pasting the URL, replacingwhattomine.com/coinswithwhattomine.com/coins.jsonbut leaving the rest the same. - Set the various
configsto refer to config files that you have for the relevant coins, which you should copy into~/.autominer/configs/.
- Set the
-
Setup a crontask to run the autominer script every minute, run
crontab -eto begin editing and add the following line:* * * * * /home/ethos/ethos-autominer/ethos-autominer
You can also run the script manually, and if you pass --dry-run to the script, it won't do any of the miner restarting, but will still switch configs.
You can send donations to any of the following addresses:
- BTC:
3Ckx1eocUY5fHinbDXZtCGGqwdT1VwGBa4 - ETH:
0xB06EBE124C5fbb12E4551b1FEF647828D0d1AD74 - LTC:
LSXfQid4PZcAdgmEpUJXnJWppY7GKZ4uft - GAS:
AbuMTAwKgGA4AWduDDEQ9UMBa8gnF5sgT2
This script has been adapted by Japh and neokjames.
This script was originally shared by AllCrypto in the YouTube video How I Mine the Most Profitable Altcoins With ethOS, with the snippet linked in the comments.