Giter Club home page Giter Club logo

mining-pool's Introduction

Mining Pool

Stratum Mining pool written in golang

This pool software is not a portal, but a standalone stratum server with high performance.

If you want, you can implement the portal page in frontend web.

How to use it?

Check

Make sure your algorithm is supported, eg: SHA256D, Scrypt, etc, if not, create an issue.

Configuration

Edit config.example.json and modify the configuration to set your Coin Daemon Settings

  • Under daemons, you can add a primary and a backup Coin Server
"daemons": [
   // Primary Server
   {
     "host": "127.0.0.1",
     "port": 19332,
     "user": "litecoinrpc",
     "password": "testnet"
   }
   // Backup Server
   {
     "host": "127.0.0.1",
     "port": 19332,
     "user": "litecoinrpc",
     "password": "testnet",
     "tls": {} // means tls enabled
   }
 ],

Then rename it to config.json

Build

go build

Deploy

Copy mining-pool or mining-pool.exe and config.json to your VPS server and

You will need Go and Redis-Server

$ ./mining-pool

or

mining-pool.exe

Help

  • Bitcoind

$ bitcoind -rpcuser user -rpcpass password --testnet

$ ./btcd -rpcuser user -rpcpass password --testnet

  • Litcoind

$ ./litcoind -rpcuser user -rpcpass password --testnet

TODO

  • Main
  • API
  • More algorithms
  • Web page
  • ...

Donation

  • BTC: bc1qlr36tpdwctfndcdgzx5ukjkqazl5hclkurw08q
  • LTC: M9SbgRV96Pg1rGVAfjvn8tVumio9MpESz5

Tested Network

  • LTC Testnet
  • BTC Testnet

mining-pool's People

Contributors

ashaw1131 avatar c0mm4nd avatar deepsourcebot 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.