GithubHelp home page GithubHelp logo

bitcoin-gpu-miner's Introduction

Python Bitcoin GPU Miner

This is a forked version of m0mchil's version. I plan on doing some reworking to the client in the near future, for now this exists to be an easy installation version of the library.

Installation (OSX)

I have only tested this on Mac OSX, but it should work on other *nix variants.

Pre-requisites:

Let's get Boost installed. My recommended way is through brew:

ruby -e "$(curl -fsSL https://raw.github.com/gist/323731)";
brew install boost;

Site back and relax for this one, it took half an hour to compile on my brand new laptop.

Let's get virtualenv up and running. This is going to be used to isolate our install of the miner.

easy_install virtualenv

Now let's create our new virtual environment:

virtualenv ~/.miner --distribute --no-site-packages;
cd ~/.miner;
source bin/activate

Lastly, we will need to install numpy. Due to some weirdness with PyOpenCL and the way it expects to find numpy we can't list it as a dependency in setup.py so it needs to be done by hand:

pip install numpy; 
pip install https://github.com/unscene/bitcoin-gpu-miner/tarball/master;

##Usage

If you want detailed instructions run:

gpu_miner --help

To join a pooler like mining.bitcoin.cz you could issue the following on a *nix based system:

nohup gpu_miner -o api.bitcoin.cz -p 8332 -u <username>.<password> --pass <password> -d 0 & 

This will detach the process from the shell and you can go on your merry way.

bitcoin-gpu-miner's People

Contributors

brocktice avatar kylegibson avatar laanwj avatar m0mchil avatar unscene avatar

Watchers

 avatar  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.