Giter Club home page Giter Club logo

zcash-proxy's Introduction

zcash-proxy

ZCash and ZClassic mining stratum with Web interface.

Latest stable release.

Features

  • Your personal solo ZCash & ZClassic stratum
  • Rigs availability monitoring
  • Keep track of accepts, rejects, blocks stats
  • Easy detection of sick rigs
  • Daemon failover list

Configuration

Just copy config.example.json to config.json and specify stratum endpoint URL and upstream URLs.

{
  "proxy": {
    // Stratum host:port
    "listen": "0.0.0.0:9999",
    "clientTimeout": "20m",
    "blockRefreshInterval": "1s",
    "estimationWindow": "15m",
    "luckWindow": "24h",
    "largeLuckWindow": "72h",
    "nonceOffset": 0,
    // Recommended diff for 5xGPU rigs
    "difficulty": 512
  },

  // t-address for block rewards. NOT EXCHANGE!
  "coinbase": "t1K9CtKh4rZXEVfjhNovozLeLysyx9AwYrH",

  "frontend": {
    // Web-UI host:port
    "listen": "0.0.0.0:8080",
    "login": "admin",
    "password": "",
    "hideIP": false
  },

  "upstreamCheckInterval": "5s",

  // List of zcash daemons
  "upstream": [
    {
      "name": "Main",
      "url": "http://127.0.0.1:8232",
      "login": "rpcuser",
      "password": "rpcpassword",
      "timeout": "10s"
    },
    {
      "name": "Backup",
      "url": "http://127.0.0.2:8232",
      "login": "rpcuser",
      "password": "rpcpassword",
      "timeout": "10s"
    }
  ]
}

Running

./zcash-proxy config.json 2>&1 | tee -a log.txt

Mining

nheqminer -l 192.168.1.2:9999 -u workerId -p x

Sharding

If you want to run many proxy instances with a single daemon use unique nonceOffset per instance.

Stats API

All the stats are available in JSON format at http://your.host:8080/stats URI. Change your.host to a frontend hostname or IP address.

DevFee

This proxy charges 2.0% devfee. Fee is a part of coinbase transaction.

Copyright

Copyright © 2016 sammy007.

This is proprietary software. No warranty, explicit or implicit, provided. Reverse engineering, redistribution, repackaging are not allowed.

zcash-proxy's People

Contributors

sammy007 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.