Skip to content

Ethereum Solo Pool

License

GPL-3.0, GPL-3.0 licenses found

Licenses found

GPL-3.0
LICENSE
GPL-3.0
LICENSE.md
Notifications You must be signed in to change notification settings

e4p1k0/ethash-solo-pool

 
 

Repository files navigation

eth-solo-pool

Ethereum Solo Pool

To change block reward payouts/unlocker.go#33

Use crontab syntax for time intervals of charts at api.json.

You can use screen or tmux to open api, minerproxy,unlocker and payout modules separately. (at production I do not recommend to open all of them in one screen.)

example: screen -mS api ./build/bin/open-ethereum-pool api.json

Building Frontend

Install nodejs. I suggest using LTS version >= 4.x from https://github.com/nodesource/distributions or from your Linux distribution or simply install nodejs on Ubuntu Xenial 16.04.

The frontend is a single-page Ember.js application that polls the pool API to render miner stats.

cd www

Change ApiUrl: '//example.net/' in www/config/environment.js to match your domain name. Also don't forget to adjust other options.

npm install -g [email protected]
npm install -g bower
npm install
bower install
./build.sh

Configure nginx to serve API on /api subdirectory. Configure nginx to serve www/dist as static website.

Serving API using nginx

Create an upstream for API:

upstream api {
    server 127.0.0.1:8080;
}

and add this setting after location /:

location /api {
    proxy_pass http://api;
}

Customization

You can customize the layout using built-in web server with live reload:

ember server --port 8082 --environment development

Don't use built-in web server in production.

Check out www/app/templates directory and edit these templates in order to customise the frontend.


Based on sammy007/open-ethereum-pool

About

Ethereum Solo Pool

Resources

License

GPL-3.0, GPL-3.0 licenses found

Licenses found

GPL-3.0
LICENSE
GPL-3.0
LICENSE.md

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 73.3%
  • Handlebars 11.6%
  • JavaScript 10.9%
  • CSS 2.0%
  • HTML 1.5%
  • Shell 0.5%
  • Makefile 0.2%