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
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.
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;
}
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