zefirka / stratum-miner

toncoinpool.io mining client based on official pow-miner-gpu

Home Page:https://toncoinpool.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Ton Coin Pool stratum-miner

Ton Coin Pool mining client based on official tontechio/pow-miner-gpu

Translations

Prerequirements

Usage

Download the appropriate executable for your platform from Releases page:

  • Windows: file with .exe extension
  • MacOS: .zip archive containing .app file
  • Linux: .AppImage file with GUI or linux-headless.tar.gz archive containing CLI-only binary

GUI Fields

  • Mining binary: select pow-miner-gpu binary for your system. Each binary has a Custom version built from our fork of the official miners. Custom miners are not well-tested but should have higher GPU utilization, especially on high end GPUs. Use at your own risk!
  • GPUs: GPUs, that you want to use for mining
  • Wallet address: correct TON Wallet address. DO NOT USE ANY CRYPTO EXCHANGE SERVICES WALLETS!!!
  • Rig name: rig name for statistics on website. Allowed symbols are latin, numeric, , -, _, max 24 symbols length

HiveOS integration

This instructions are targeted at users experienced with HiveOS

Add your TON wallet

Following official instructions: https://hiveos.farm/guides-how_to_start_mine_in_Hive_OS

  • Coin - toncoin
  • Address - you TON wallet address
  • Name - any name
  • Source - leave blank
  • leave switch Fetch wallet balance unchecked

Creating Flight Sheet

Following official instructions: https://hiveos.farm/getting_started-start_custom_miner

Creating flight sheet:

  • Flight Sheet Name - any name
  • Coin - toncoin you made previously
  • Wallet - select one you made previously
  • Pool - Configure in miner
  • Miner - select Custom and press Setup Miner Config

Setting up custom miner:

  • Miner name - should be populated automatically once you enter Installation URL. If it didn't, enter TON_Stratum_Miner_HiveOS

  • Installation URL - https://github.com/toncoinpool/stratum-miner/releases/latest/download/TON_Stratum_Miner_HiveOS-<version>.tar.gz where <version> - is the last client version(1.0.5, 1.1.0, etc.). Example: https://github.com/.../TON_Stratum_Miner_HiveOS-1.0.5.tar.gz

  • Hash algorithm - leave blank

  • Wallet and worker template - strictly type %WAL% with no spaces

  • Pool URL - can be any url, not used by the client. Example: stratum+tcp://p2p.antpool.com:3333

  • Extra config arguments - the most important field with client configuration:

    • TONPOOL_BIN - one of:
      • pow-miner-cuda-ubuntu-18 - CUDA mining binary
      • pow-miner-cuda-ubuntu-18-custom - Experimental CUDA mining binary, see GUI Fields
      • pow-miner-opencl-ubuntu-18 - OpenCL mining binary
      • pow-miner-opencl-ubuntu-18-custom - Experimental OpenCL mining binary, see GUI Fields
    • TONPOOL_GPUS - comma-separated list of GPU device Ids that should be used by miner where 0 - the first device, 1 - second, and so on. Examples: 0 for single GPU; 0,3,4 for the first, fourth and fifth GPUs.
    • TONPOOL_RIGNAME - name of this rig to use on the stats screen on the website. Can be any string composed of english letter and digits(no spaces, symbols and non-english letters allowed)

    Example:

    TONPOOL_BIN=pow-miner-cuda-ubuntu-18
    TONPOOL_GPUS=0,1,2
    TONPOOL_RIGNAME=myHiveRig1
    
  • Press Apply Changes

  • Press Create Flight Sheet

To apply new Flight Sheet follow the instructions in chapter How to start mine in Hive OS? on https://hiveos.farm/guides-how_to_start_mine_in_Hive_OS/#how-to-start-mine-in-hive-os

Miner logs are written into /var/log/miner/TON_Stratum_Miner_HiveOS/TON_Stratum_Miner_HiveOS.log

Automatic updates are not yet supported. When a new version is released you should repeat the procedure described above

Headless

You can run the client without the GUI directly from the command line:

$ ./TON-Stratum-Miner --headless --wallet <your-wallet-address> [--bin <name>] [--gpus <ids>] [--pool <uri>] [--rig <name>]
  • -h, --headless: Required. Pass this flag to not open the client's GUI window

  • -w, --wallet: Required. Your TON wallet's address

  • -b, --bin <name>: Name of the miner binary. Can be one of:

    Linux:

    • pow-miner-cuda-ubuntu-18
    • pow-miner-cuda-ubuntu-20
    • pow-miner-opencl-ubuntu-18
    • pow-miner-opencl-ubuntu-20

    Windows:

    • pow-miner-cuda.exe
    • pow-miner-opencl.exe

    Each binary has a <name>-custom version as well, see GUI Fields. Example: pow-miner-cuda-custom.exe

    Defaults to pow-miner-cuda-ubuntu-20

  • -g, --gpus <ids>: Comma-separated list of GPU device Ids that should be used by miner. Defaults to 0. Only necessary on multi-GPU systems. Example: --gpus 0,3,4

  • -p, --pool: Pool address to connect to. Defaults to wss://pplns.toncoinpool.io/stratum

  • -r, --rig: How this client's stats will be seen on toncoinpool.io. Defaults to default

Ton Coin Pool endpoints

  • [ pplns: wss://pplns.toncoinpool.io/stratum ]

Stratum

Ton Coin Pool is based on Stratum protocol

License

MIT

About

toncoinpool.io mining client based on official pow-miner-gpu

https://toncoinpool.io

License:MIT License


Languages

Language:TypeScript 61.3%Language:Vue 25.5%Language:Shell 8.0%Language:JavaScript 3.0%Language:CSS 0.9%Language:Dockerfile 0.6%Language:HTML 0.6%