Coder Social home page Coder Social logo

auto_switch's Introduction

This script switches to the most profitable coin on whattomine.com

Installation

Put the "configs" and "scripts" folder in your /home/ethos/ folder

Run:

sudo su

crontab -e

Add following line to your crontabs for an hourly coin switch:

0 * * * * /home/ethos/scripts/main.sh

ethOS system changes might be needed for ccminer support!

CCMiner did not come with the default installation and the upgrade to 1.2.6. Many of my config files I provided are using ccminer as the global miner.

I had to manually modify parts of the ethOS system to get additional miners supported ( e.g. ccminer, ewbf-zcash ).

The modified ethos files can probably be copied without issues to your own 1.2.6 ethOS system but will most likely not allow ethOS to be upgraded without corrupting the system in one way or another.

Backup of your /opt/ folder before applying the modified files!

This has not been tested on a new system: I don't take responsibility in case the modifications on your system lead to any problems.

Usage

To enable a new coin you'll have to place the config file in the configs folder. The script will automatically use the tag in the filename to associate the config for the specific coin.

E.g. poolname-ETH.conf = ETH

poolname-KMD.conf = KMD

Donations welcome

BTC: 1By4eLJuRu18iQG2GpazsxzvnAbLSvsNv9

ETH: 0x723929ab2da99BaF5EAC9EEAaF650E0770A9d6C0

BCC: 1QFDDn2XA4GHcUXe7pUHtAPKvUQEVdgxVc

auto_switch's People

Contributors

allcrypto avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.