Git Product home page Git Product logo

distributedbitcoinminer's Introduction

Distributed Client Side Bitcoin Miner

This is an app aimed at assisting servers in monetizing client sessions by providing an API through which to use javascript to calculate bitcoin hashes.

By having multiple client sessions you can distribute the work across multiple clients.

If a site were popular enough it could be quite successful!

Getting Started

So, starting the server is easy.

Just clone the repo, cd into it and use PHP's internal server.

php -S localhost:8000

Then open the demo at localhost:8000/index.html

Development

Look inside of credentials.class.php, adjust those variables for your local instance of bitcoind.

If you're looking for an easy way to set up a bitcoind instance, and you know vagrant, you can try bitcoin-vagrant.

Just jump in and it will work beautifully!

API

begin_mining()

/*
RETURN VALUE

This function will perform a continuous, multi-worker series of function calls.
If we're not in test mode we call
*/

get_work(true);
long_poll();

Contributors

Original Source being improved upon the original by derjanb

distributedbitcoinminer's People

Contributors

davidawad avatar

Stargazers

 avatar Oskar Zajac avatar  avatar  avatar Dario Tarantini avatar  avatar Michael Jett avatar zakdoek avatar Md. Abu Taher avatar Yanin Elbi avatar  avatar Jonathan Sun avatar Victor Apolonio avatar Andrés M.G. avatar

Watchers

 avatar  avatar

distributedbitcoinminer's Issues

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.