TON Miner from TON-Pool.com

Overview

TON-Pool Miner

Miner from TON-Pool.com

Instructions

Download the latest release of our miner at https://github.com/TON-Pool/miner/releases , then run the corresponding command according to your operating system.

# Windows
miner-windows.exe run https://next.ton-pool.club 
   
    

# Linux
./miner-linux run https://next.ton-pool.club 
    

    
   

If you have updated your hardware settings (like overclocking) or if you accidentally run our miner twice, make sure to delete benchmark_data.txt before running it again to get optimal hashrate.

Hive OS Configuration

Installation URL: go to releases, copy the link of any hiveos file.

Wallet and worker template: %WAL%

Pool URL: https://next.ton-pool.club

Note: The hashing algorithm will show up as darkcoin in the panel, although it is not actually.

Rave OS Configutation

Go to releases, download a RaveOS package, and upload it to custom miners.

Create a new wallet, select our mining pool, and the newly uploaded miner, and you're ready to start mining.

Troubleshooting

If miner is not working properly, you can describe the problem you are experiencing in issues, and attach a screenshot of miner output, as well as your configuration information (graphics card model, operating system, etc.)

Here are also some common problems and corresponding solutions.

It doesn't work on my AMD GPU

We are working on this.

I can't connect to pool

We have two mining domains, https://next.ton-pool.com and https://next.ton-pool.club. If any domain doesn't work, please try to switch to the other one.

I see twice as many cards in the output

Try to add argument -p 0.

Run Python code

If you want to debug the miner, you can run the Python code directly.

You need to have Python 3 and packages pyopencl, numpy, and requests installed.

For Linux users, you can run pip3 install pyopencl numpy requests to install the packages. If you are running old version of Python, try pip3 install "pyopencl<2018.3" and pip3 install "numpy<1.15".

For Windows users, you can run pip3 install numpy requests to install the later two packages. You need to go to https://www.lfd.uci.edu/~gohlke/pythonlibs/#pyopencl and download an pyopencl binary.

The command is

python3 miner.py [pool addr] [wallet address]

An optional dependency is websocket-client, if you install it you can get more timely job fetching.

Dev Fee

You are allowed to use our miner in any mining pool, but if you don't use TON-Pool.com, then 1% of your income will be donated to the developers.

License

GPLv3

Comments
  • public api to get balance for 3rd party app integration

    public api to get balance for 3rd party app integration

    Hello,

    I have my own application to track my mining revenues, profits, costs etc. And I want to implement my toncoin input to my application. Can you provide a public api to fetch my balance?

    https://next.ton-pool.com/wallet/WALLET_ID https://next.ton-pool.club/wallet/WALLET_ID

    I found this, but it returns unnecessary infos, such as : {"ok":true,"registered":true}

    for example tonwhales pool has similar api:

    https://pool.services.tonwhales.com/wallet/WALLET_ID

    and it returns balance too, such as : {"ok":true,"balance":48582400,"registered":true}

    Looks like you're using same infrastructure since the responses are almost same, can you please add balance parameter to the api so we can use it to implement 3rd party tracking apps, instead using very unuseful (for developers) telegram bot:)

    opened by KralMurat 2
  • Exception: ValueError: invalid literal for int() with base 10

    Exception: ValueError: invalid literal for int() with base 10

    Hi! I try to run miner.py and I have an exception:

    Traceback (most recent call last): File "c:\Mining\TONCOIN\source\miner.py", line 145, in update_task load_task(r, '/job', (pool_url, wallet)) File "c:\Mining\TONCOIN\source\miner.py", line 106, in load_task hash_state = np.array(sha256.generate_hash(input[:64])).astype(np.uint32) ValueError: invalid literal for int() with base 10: b'?\x02t\xde[b6\x1eS\xe3\xe4z\x17\xe3G\xf8\xdc\xa1\xb1z\x89\xc3`\xa21y\x03\xed-\x0c\xd1&'

    opened by mistercx 1
  • No way to change/delete/transfer your wallet address in the @next_ton_pool_bot bot

    No way to change/delete/transfer your wallet address in the @next_ton_pool_bot bot

    At the moment, there is no way to change/delete/transfer your wallet address in the @next_ton_pool_bot bot. To link a new wallet, you will need a new Telegram account. This is super inconvenient because new version of wallets arrived with subscription support and address of wallet changed and i cant change it in bot to track mining process Please resolve asap thank you :)

    opened by am1re 1
  • Kernel object has no attribute _enqueue

    Kernel object has no attribute _enqueue

    When running TON-Pool.com Miner 0.3.4 with python 3.8.12 and py-opencl 2018.2_6 I am getting this error:

    Traceback (most recent call last):
      File "/usr/local/lib/python3.8/threading.py", line 932, in _bootstrap_inner
        self.run()
      File "/usr/local/lib/python3.8/threading.py", line 870, in run
        self._target(*self._args, **self._kwargs)
      File "./miner.py", line 368, in run
        self.run_benchmark(pending_benchmark)
      File "./miner.py", line 347, in run_benchmark
        it, el = self.warmup(self.find_kernel('hash_solver_3'), 15)
      File "./miner.py", line 287, in warmup
        self.run_task(kernel, iterations)
      File "./miner.py", line 251, in run_task
        kernel(self.queue, (self.threads,), None, args_g, res_g)
      File "/usr/local/lib/python3.8/site-packages/pyopencl/__init__.py", line 832, in kernel_call
        return self._enqueue(self, queue, global_size, local_size, *args, **kwargs)
    AttributeError: 'pyopencl._cl.Kernel' object has no attribute '_enqueue'
    

    It looks like the kernel objects are not initialized for some reason, in fact _enqueue is set by generate_enqueue_and_set_args in __init__ of py-opencl, I assume they are called by the constructors.

    Am I missing something?

    opened by DmitriyKarl 0
  • wss://eu1.stratum.ton-pool.com/stratum HTTP/1.1 403 Forbidden

    wss://eu1.stratum.ton-pool.com/stratum HTTP/1.1 403 Forbidden

    Trying to get a job with wss://eu1.stratum.ton-pool.com/stratum but getting an error: WebSocketLog : Response: HTTP/1.1 403 Forbidden, 10 Bytes Transferred

    Works with other pools without errors.

    Full connection logs :

    2022.02.23 09:00:55.296 Connect...
    2022.02.23 09:00:55.296 WebSocketLog : Connecting to: wss://eu1.stratum.ton-pool.com/stratum
    2022.02.23 09:00:55.343 WebSocketLog : Sending Request: GET (HTTP 1.1) to wss://eu1.stratum.ton-pool.com/stratum
    2022.02.23 09:00:55.344 WebSocketSSLStatus : Message : Attempting to connect to server.
    2022.02.23 09:00:55.491 WebSocketConnectionStatus : StatusCode : 0 | Description : OK | ConnectionEvent : Remote host connection complete.
    2022.02.23 09:00:55.491 WebSocketSSLStatus : Message : Using platform security API.
    2022.02.23 09:00:55.491 WebSocketSSLStatus : Message : Socket connection established.
    2022.02.23 09:00:55.491 WebSocketSSLStatus : Message : Starting secure channel handshake.
    2022.02.23 09:00:55.492 WebSocketSSLStatus : Message : Enabling TLS versions: TLS1.2 TLS1.1 TLS1.0 
    2022.02.23 09:00:55.492 WebSocketSSLStatus : Message : Cipher Suites:
        TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384 (0xc02c);
        TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256 (0xc02b);
        TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (0xc030);
        TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (0xc02f);
        TLS_DHE_RSA_WITH_AES_256_GCM_SHA384 (0x009f);
        TLS_DHE_RSA_WITH_AES_128_GCM_SHA256 (0x009e);
        TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA384 (0xc024);
        TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256 (0xc023);
        TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384 (0xc028);
        TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256 (0xc027);
        TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA (0xc00a);
        TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA (0xc009);
        TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA (0xc014);
        TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA (0xc013);
        TLS_RSA_WITH_AES_256_GCM_SHA384 (0x009d);
        TLS_RSA_WITH_AES_128_GCM_SHA256 (0x009c);
        TLS_RSA_WITH_AES_256_CBC_SHA256 (0x003d);
        TLS_RSA_WITH_AES_128_CBC_SHA256 (0x003c);
        TLS_RSA_WITH_AES_256_CBC_SHA (0x0035);
        TLS_RSA_WITH_AES_128_CBC_SHA (0x002f);
        TLS_RSA_WITH_3DES_EDE_CBC_SHA (0x000a);
        Unknown (65413);
        TLS_GOSTR341001_WITH_28147_CNT_IMIT (0x0081)
    2022.02.23 09:00:55.492 WebSocketSSLStatus : Message : Sending 190 bytes of handshake data.
    2022.02.23 09:00:55.567 WebSocketSSLStatus : Message : Receiving 2048 bytes of handshake data.
    2022.02.23 09:00:55.567 WebSocketSSLStatus : Message : Selected TLS Version: TLS1.2
    2022.02.23 09:00:55.567 WebSocketSSLStatus : Message : Selected Cipher Suite: TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256 (0xc02b)
    2022.02.23 09:00:55.567 WebSocketSSLStatus : Message : Receiving 478 bytes of handshake data.
    2022.02.23 09:00:55.568 WebSocketSSLStatus : Message : Sending 93 handshake bytes.
    2022.02.23 09:00:55.707 WebSocketSSLStatus : Message : Receiving 258 bytes of handshake data.
    2022.02.23 09:00:55.735 WebSocketSSLServerAuthentication Accept
    2022.02.23 09:00:55.735 WebSocketSSLStatus : Message : Negotiated SSL parameters: Protocol: TLS1.2 Cipher: AES Cipher strength: 128 Hash: SHA256 Hash strength: 256 Key exchange: ECDH Ephemeral RSA Key exchange strength: 255 
    2022.02.23 09:00:55.735 WebSocketConnectionStatus : StatusCode : 0 | Description : OK | ConnectionEvent : SSL handshake complete.
    2022.02.23 09:00:55.937 WebSocketLog : Response: HTTP/1.1 403 Forbidden, 10 Bytes Transferred
    2022.02.23 09:00:55.937 WebSocketConnectionStatus : StatusCode : 0 | Description : OK | ConnectionEvent : Remote host disconnected.
    2022.02.23 09:00:55.937 WebSocketConnectionStatus : StatusCode : 1001 | Description : Going Away | ConnectionEvent : Websocket disconnected.
    2022.02.23 09:00:55.937 WebSocketLog : WebSocket Connection Closed: Going Away
    2022.02.23 09:00:55.937 WebSocketDisconnected : StatusCode : 1001 | Description : Going Away
    2022.02.23 09:00:56.059 ERROR TThreadWSJob.Execute Processing 301: Interrupted.
    
    opened by EvgeniyKorepov 0
  • Can't change wallet on pool / lost ton coin

    Can't change wallet on pool / lost ton coin

    Hello! I have 46.40 tons on pool bot. I lost access to my wallet, because my SSD damaged. I got a backup copy of files from a broken ssd drive, but files damaged, and i don't have access to wallet. My coins are in your bot. Plz help me. I wanted to change my wallet, but you wrote that after changing the wallet, all coins are lost. Please pool admins help me. I can provide you with any information. IP address from which it was mined and any other data that you ask. Help me transfer my coins to another wallet. My telegram account: @felix_font My email account: [email protected]. I really hope that you will not ignore my request.

    opened by felixfont 0
  • Failed to execute script '_miner' due to unhandled exception!

    Failed to execute script '_miner' due to unhandled exception!

    OS: Ubuntu 20.04

    Command:

    ./miner-linux https://next.ton-pool.com wallet ./miner-linux https://next.ton-pool.club wallet

    Result:

    2022-01-05 16:51:04,240 [INFO] starting TON-Pool.com Miner 0.3.4 on pool https://next.ton-pool.club wallet wallet ...
    Traceback (most recent call last):
      File "_miner.py", line 457, in <module>
    pyopencl._cl.LogicError: clGetPlatformIDs failed: PLATFORM_NOT_FOUND_KHR
    [425277] Failed to execute script '_miner' due to unhandled exception!
    
    
    opened by ErfanBahramali 0
  • PLease Send my ton back

    PLease Send my ton back

    i made mistake and i sent 6.8 ton to this wallet with that comment EQBoG6BHwfFPTEUsxXW8y0TyHN9_5Z1_VIb2uctCd-NDmCbx comment : a01945f6-fab0-4f6e-8863-c2bfc79a6847 please send back my ton same adress :(

    opened by Quake3d 0
Releases(0.3.4)
Automate HoYoLAB Genshin Daily Check-In Using Github Actions

Genshin Daily Check-In 🤖 Automate HoYoLAB Daily Check-In Using Github Actions KOR, ENG Instructions Fork the repository Go to Settings - Secrets Cli

Leo Kim 41 Jun 24, 2022
Track live sentiment for stocks from Reddit and Twitter and identify growing stocks

Market Sentiment About This repository can mainly be used for two things. a. Tracking the live sentiment of stocks from Reddit and Twitter b. Tracking

Market Sentiment 345 Dec 17, 2022
Advanced Number Validator Using telnyx api

Number Validator Python v1.0.0 Number Validator Using telnyx api DISCLAIMER This Tool is only for educational purposes You'll be responsible yourself

xBlackxCoder 3 Sep 24, 2022
Python API to interact with Uwazi

Python Uwazi API Quick Start To use the API install the requirements pip3 install -r requirements.txt and use it like this: uwazi_adapter = UwaziAdap

HURIDOCS 2 Dec 16, 2021
Brute Force Attack On Facebook Accounts

Brute Force Attack On Facebook Accounts For Install: pkg install update && pkg upgrade -y pkg install python pip install requests pip install mechani

MK X Shaon 1 Oct 30, 2021
A simple bot to upload file to various cloud servers.

Cloudsy Bot A simple bot to upload file to various cloud servers. Variables API_HASH Your API Hash from my.telegram.org API_ID Your API ID from my.tel

Flying Santas 8 Oct 31, 2022
Diablo II Resurrected helper

Diablo II Resurrected 快捷施法辅助 功能: + 创建守护进程,注册全局热键 alt+/ 启用和关闭功能 (todo: 播放声音提示) + 按 x 强制移动 + 按 1 ~ 0 快捷施法到鼠标区域 使用 编辑配置 settings.py 技能信息做如下定义: SKILLS:

Wan 2 Nov 06, 2022
See trending stock tickers on Reddit and check Stock perfomance

See trending stock tickers on Reddit and check Stock perfomance

Abbas 1.5k Jan 06, 2023
PRAW, an acronym for "Python Reddit API Wrapper", is a python package that allows for simple access to Reddit's API.

PRAW: The Python Reddit API Wrapper PRAW, an acronym for "Python Reddit API Wrapper", is a Python package that allows for simple access to Reddit's AP

Python Reddit API Wrapper Development 3k Dec 29, 2022
Web-music-bot - A telegram bot which get a *site Url* and sends all songs contain in the Url to telegram

web music bot this is a telegram bot which get a site Url and sends all songs co

Arya Shabane 4 Apr 02, 2022
This is to notify you via Discord whenever there is a new beacon.

BeaconNotifier-Discord This is to notify you via Discord whenever there is a new beacon. Make sure you have python3 installed Steps: Create a Discord

26 Dec 28, 2022
Monitoring plugin for MikroTik devices

check_routeros - Monitoring MikroTik devices This is a monitoring plugin for Icinga, Nagios and other compatible monitoring solutions to check MikroTi

DinoTools 6 Dec 24, 2022
Create custom Vanity URLs for Discord without 30 boosts

CustomVanity - Made by udp#6666 aka Apolo - OpenSource Custom Discord Vanity Creator How To Use Open CustomVanity.py Write your server invite code Wri

apolo 17 Aug 23, 2022
TG-Url-Uploader-Bot - Telegram RoBot to Upload Links

MW-URL-Uploader Bot Telegram RoBot to Upload Links. Features: 👉 Only Auth Users

Aadhi 3 Jun 27, 2022
Brute force instagram account / actonetor, 2021

Brute force instagram account / actonetor, 2021

actonetor 6 Nov 16, 2022
修改自SharpNoPSExec的基于python的横移工具 A Lateral Movement Tool Learned From SharpNoPSExec -- Twitter: @juliourena

PyNoPSExec A Lateral Movement Tool Learned From SharpNoPSExec -- Twitter: @juliourena 根据@juliourena大神的SharpNOPsExec项目改写的横向移动工具 Platform(平台): Windows 1

<a href=[email protected]"> 23 Nov 09, 2022
Download apps and remove icloud

Download apps and remove icloud

A python oriented telegram with API of yobit.net

YoBit-BTC A python oriented telegram bot with API of https://yobit.net/ Developed By @riz4d What is Yobit? ➪ YoBit is a cryptocurrency exchange that w

Muhammed Rizad 6 Apr 02, 2022
Simple Python script that lets you upload image/video to imgur

Pymgur 🐍 Simple Python script that lets you upload image/video to imgur! Usage 🔨 Git Clone this repository install the requirements (pip install -r

3 Feb 20, 2022
SOCMINT tool to get personal infos from an Instagram account via analysis of its followers and/or following

S T E R R A 🔭 A SOCMINT tool to get infos from an Instagram acc via its Followers / Following Allows you to analyse someone's followers, following, a

aet 316 Dec 28, 2022