[Pool Miner Client & Hive OS] Introduction to miningPoolCli: An Open-source Client for TON Mining Pools

Introduction:

miningPoolCli is an open-source client designed to facilitate mining in the TON blockchain, particularly with the ton.ninja mining pool. This guide aims to provide a comprehensive overview of the project, including how to build, use, and contribute to the development of miningPoolCli.

Project Overview

Aspect Details
Go Version GitHub go.mod Go version
License GitHub
Source Code Available at GitHub Repository
Mining Pool Compatible with ton.ninja mining pool

Building miningPoolCli

To compile miningPoolCli from source, execute the following command in your terminal:

go build -o miningPoolCli main.go

How to Use

After building, you can start miningPoolCli with various flags to customize its operation:

Flag Type Description
-pool-id string Unique identifier of a pool participant. Example: -pool-id=UQDu6s_r9_wmgWm5QgZuIeLep2fiSg4ijxGcJ0Sw8g4_9lvI
-url string Mining pool API URL. Default: “https://api.ton.ninja
-stats bool If set, generates a “stats.json” file with updated statistics. Supports Hive OS.
-serve-stat bool Starts a local server to serve “/stat” for miner statistics in JSON. HTTP port is auto-selected.
-handle-kill bool Allows server to process “/kill” HTTP requests to terminate the client. Requires -serve-stat.

Creating a Release

Use do-release.sh script to compile the source code for specific OS and architectures, setting the version from config/version.go and creating an archive.

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

Contributing

Contributions are welcome! Feel free to fork the repository, make your changes, and submit a pull request on GitHub. For detailed instructions, visit the project’s repository.

Conclusion

miningPoolCli offers an efficient way to participate in TON mining pools, enhancing the mining experience with customizable options and support for statistics monitoring. Dive into the source code, contribute to the project, and optimize your TON mining operations today.

For more information and updates, follow the GitHub repository.

1 Like

R u the TrueCurry???