Giter Site home page Giter Site logo

cryptoswitcher's Introduction

CryptoSwitcher

A script to switch between mining BTC and altcoins as profitability dictates, using the powers of http://dustcoin.com.

Dependencies

  • NumPy
  • BeautifulSoup4
  • urllib2
  • simplejson
  • PycURL
  • btce-api (included)
  • pyvircurex (included)
  • PyCryptsy (included)
  • cgminer (optional)
  • vanityminer (optional)

Usage

Edit the scripts such as bitcoin.sh so that they start mining the appropriate coins with your desired settings. I recommend the scripts start the appropriate miner inside a screen session, which the two example scripts I've included will do. Then poke around in `cryptoSwitcher.config.sample to set everything up, including which coins you wish to try and mine or merged mine. Then run

git submodule init
git submodule update

to download the BTC-e, Vircurex, and Cryptsy python APIs. Then rename cryptoSwitcher.config.sample to cryptoSwitcher.config and run

python cryptoSwitcher.py

The script should work out what the best mining option is, and run the appropriate script. It checks every hour for a change in the situation, and if the options is enabled it will also sell any coins that have been auto-withdrawn to BTC-E. I bear no responsibility for any losses you incur by using this script to sell your cryptocoins. If you wish to use these options, set the auto-withdrawal limits at your pools as low as they will go to limit your exposure to a changing exchange rate. You will also need to add your BTC-E API key and secret to the file key.sample and rename it to key.

Thanks

Dustcoin and fizzisist, for doing most of the heavy-lifting of the data, and Alan McIntyre for making the BTC-API used here. sal002 also deserves thanks for http://www.coinchoose.com.

Tips

In hope, not expectation:

  • Bitcoin: 1NhathL6LpcgofDnHELSS6Hej6kU9xrVgp

This couldn't have been made without the work of others; if you feel like tipping the other people whose work is used here:

cryptoswitcher's People

Contributors

salfter avatar area avatar masterx1582 avatar catmanix 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.