Coder Social home page Coder Social logo

thetornadotitan / web-ethereum-mining Goto Github PK

View Code? Open in Web Editor NEW

This project forked from trtiwari/web-ethereum-mining

0.0 1.0 0.0 111.89 MB

HTML 44.57% JavaScript 16.47% Python 25.26% Shell 0.09% Go 0.93% C++ 9.95% CSS 1.98% PureBasic 0.75%

web-ethereum-mining's Introduction

WebEth: a distributed, browser-based Ethereum Miner in WASM and JS

Usage: There is 2 aspects to this: the client (browser) and the server (the one that distributes the PoW)

Server:

  1. To create a central server that distributes the PoW, we use a modified version of Geth.
  2. To obtain this modified version, install Geth and add the files present in the ``geth-modification'' folder to the /consensus/ethash/ folder in Geth source tree. Note that sealer.go already exists in Geth, and so you would need to overwrite it with the one provided in this repository.
  3. Compile this modified version of Geth (instructions available in the Geth repository) and start the server.
  4. The server will listen at port 9000 for any incoming client connections from browsers.

Client:

  1. Change the ip of provided in miner.js (present in both the wasm and js implementations) to be the IP of the central server
  2. Run start-browser.sh (assumes linux with google chrome for now), and the browser will connect to the central server, get the current header hash and cache and then will start mining.

web-ethereum-mining's People

Contributors

trtiwari avatar djfinn14 avatar incidr avatar

Watchers

James Cloos 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.