Skip to content

expanse-org/expanse-proxy

Repository files navigation

exp-proxy

Expanse mining proxy with web-interface.

Proxy feature list:

  • Rigs availability monitoring
  • Keep track of accepts, rejects, blocks stats
  • Easy detection of sick rigs
  • Daemon failover list

Setup Instructions in README.text or scroll down for build instructions.

Demo

Installation

Dependencies:

  • go >= 1.4
  • gexp

GOPATH:

  • mkdir /home/user/gosrc
  • Run and Add to your .bashrc
  • export GOPATH=/home/user/gosrc

Install required packages:

go get github.com/nrpatten/ethash
go get github.com/expanse-project/go-expanse/common
go get github.com/goji/httpauth
go get github.com/gorilla/mux
go get github.com/yvasiyarov/gorelic

Compile:

go build -o ether-proxy main.go

Configuration

Configuration is self-describing, just copy config.example.json to config.json and specify endpoint URL and upstream URLs.

Running

./ether-proxy config.json

Mining

ethminer -F http://x.x.x.x:3333/miner/5/gpu-rig -G
ethminer -F http://x.x.x.x:3333/miner/0.1/cpu-rig -C

TODO

Currently it's solo-only solution.

  • Report block numbers
  • Report average luck
  • Report luck per rig
  • Add support for pools
  • Maybe add more stats
  • Maybe add charts

Donations

License

The MIT License (MIT).

About

Expanse mining proxy with web-interface

Resources

License

Stars

Watchers

Forks

Packages

No packages published