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)
A Recommendation System For Diabetes Detection And Treatment

Diabetes-detection-tg-bot A Recommendation System For Diabetes Detection And Treatment Данная система помогает определить наличие или отсутствие сахар

Alexander Kanonirov 1 Nov 22, 2021
TG-Streaming-bot - TG Simple Streaming bot

TG Simple Streaming bot telegram video straming bot 🎚️ Features Play youtube li

HyDrix 4 May 05, 2022
Bot Realm of the Mad God Exalt (ROTMG). (Auto_nexus, Auto_HP, Auto_Loot)

Bot_ROTMG Bot Realm of the Mad God Exalt (ROTMG). (Auto_nexus, Auto_HP, Auto_Loot) *Este projeto visa apenas o aprendizado, quem faz mal uso é o único

Guilherme Silva Uchoa 1 Oct 30, 2021
An interactive and multi-function Telegram bot, made especially for Telegram groups.

PyKorone An interaction and fun bot for Telegram groups, having some useful and other useless commands. Created as an experiment and learning bot but

Amano Team 17 Nov 12, 2022
Savecontentbot - Telegram Save Content Bot With Same more Features

Save Restricted Content Bot A simple telegram bot to save restricted content wit

Group Dc Bots 3 Jan 26, 2022
This is a simple unofficial async Api-wrapper for tio.run

Async-Tio This is a simple unofficial async Api-wrapper for tio.run

Tom-the-Bomb 7 Oct 28, 2022
Pincer-ext-commands - A simple, lightweight package for pincer prefixed commands

pincer.ext.commands A reimagining of pincer's command system and bot system. Ins

Vincent 2 Jan 11, 2022
Repository for the IPvSeeYou talk at Black Hat 2021

IPvSeeYou Geolocation Lookup Tool Overview IPvSeeYou.py is a tool to assist with geolocating EUI-64 IPv6 hosts. It takes as input an EUI-64-derived MA

57 Nov 08, 2022
python script to buy token from pancakeswap

pancakeswapBot python script to buy token from pancakeswap Change your privatekey!!! on line 58 (signed_txn = web3.eth.account.sign_transaction(pancak

206 Dec 31, 2022
A discord bot with information and template tracking for pxls.space.

pyCharity A discord bot with information and template tracking for pxls.space. Inspired by Mikarific's Charity bot. Try out the beta version on your s

1 Dec 03, 2021
Open Source Discord bot with many cool features like Weather, Balance, Avatar, User, Server, RP-commands, Gif search, YouTube search, VK post search etc.

Сокобот Дискорд бот с открытым исходным кодом. Содержит в себе экономику, полезные команды (!аватар, !юзер, !сервер и тд.), рп-команды (!обнять, !глад

serverok 2 Jan 16, 2022
Td-Ameritrade, Tradingview, Webhook, AWS Chalice

TDA-Autobot TDA-Autobot is an automated fire and forget trading mechanism utilizing Alex Golec's(Author) tda-api wrapper, Tradingview webhook alerts,

Kyle Jorgensen 2 Dec 12, 2021
IOGen - An Open source discord token generator

_____ ____ _____ |_ _/ __ \ / ____| | || | | | |

0xVichy#1234 85 Nov 03, 2022
Discord Token Generator - Python (Generates Tokens and Joins your Server Automatically) hCaptcha Bypass **FREE**

Best Discord Token Generator {hCaptcha bypass FREE Unlimited Memberboost} Install few requirements & run main.py it will redirect you to the Download

1 Oct 27, 2021
A Telegram Music Bot written in Python using Pyrogram and Py-Tgcalls

A Telegram Music Bot written in Python using Pyrogram and Py-Tgcalls. This is Also The Source Code of The UserBot Which is Playing Music in @S1-BOTS Support Group ❤️

SAF ONE 224 Dec 28, 2022
REPO USERBOT YANG DIBUAT DARI BERBAGAI REPO USERBOT GITHUB.

Lord Userbot Userbot Yang Digunakan Untuk Bersenang-Senang Di Telegram Repo Lord Userbot Repo Yang Dibuat Alvin Dari Berbagai Repo Userbot Github CARA

Alvin 70 Jan 02, 2023
Chronocalc - Calculates the dates and times when the sun or moon is in a given position in the sky

Chronocalc I wrote this script after I was busy updating my article on chronoloc

16 Dec 13, 2022
A FORKED AND Modded version of TL:GD for 🅱️3R0K🧲support

for support join here working example group Leech Here For Any Issues/Imrovements or Discussions go here or here Please Leave A star And Fork this Rep

XcodersHub 165 Mar 12, 2022
IMDb + Auto + Unlimited Filter BoT

Telegram Movie Bot Features Auto Filter Manuel Filter IMDB Admin Commands Broadcast Index IMDB search Inline Search Random pics ids and User info Stat

Team AlinaX 1 Dec 03, 2021
Мои личные наработки по новому API Тинькофф. Не официально.

TinkoffNewAPI Мои личные наработки по новому API Тинькофф. Не официально. Официально по ссылке: https://github.com/Tinkoff/investAPI/ Выложено по прос

1 Jan 20, 2022