GithubHelp home page GithubHelp logo

gramlinux's Introduction

miningPoolCli

GitHub go.mod Go version GitHub

Open-source mining pool client

To use with ton.ninja mining pool, follow the instructions at https://ton.ninja

Source code

You can always get the source code from the github repository page: https://github.com/truecarry/miningPoolCli/

Build

go build -o miningPoolCli main.go

Usage

When the software starts up, it downloads the miner executable file from the release of the given github repository: https://github.com/tontechio/pow-miner-gpu/

Run ./miningPoolCli with flags:

-pool-id wallet address

Example: -pool-id=UQDu6s_r9_wmgWm5QgZuIeLep2fiSg4ijxGcJ0Sw8g4_9lvI
A unique identifier of a pool participant.

-url string

Mining pool API url. (default "https://api.ton.ninja)

-stats bool

If this flag is set, a "stats.json" file will be created 
with automatically updated statistics. (Hive OS support)

-serve-stat bool

If this flag is set, the local server serving "/stat" is started. 
Accepts GET and POST methods. Returns the miner's statistics in 
JSON format. The HTTP port is automatically selected and will be 
printed in the terminal and written to the "serveraddr.txt" file

-handle-kill bool

Allows server to process HTTP requests to "/kill" to 
force the client to terminate. The flag is applied 
only if -serve-stat was previously specified

Do release

To generate a new release, use do-release.sh.

This script will automatically compile the source code for the required OS, set the version from the config/version.go and create an archive

Usage:

./do-release.sh {linux|windows|darwin} {amd64|arm64}

LICENSE

GPL-3.0 License

The text of the license can be obtained in the file "LICENSE"

gramlinux's People

Contributors

nedogimov-m avatar

Watchers

 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.