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)
Exchange indicators & Basic functions for Binance API.

binance-ema Exchange indicators & Basic functions for Binance API. This python library has been written to calculate SMA, EMA, MACD etc. functions wit

Emre MENTEŞE 24 Jan 06, 2023
An incomplete add-on extension to Pyrogram, to create telegram bots a bit more easily

PyStark A star ⭐ from you means a lot An incomplete add-on extension to Pyrogram

Stark Bots 36 Dec 23, 2022
N3RP (the NFT Rental Protocol) allows users to trustlessly rent out their ERC721-based assets.

N3RP • N3RP - An NFT Rental Protocol (pronounced "nerp") Smart Contracts Passing Tests, Frontend Functional But Is Being Beautified. 🛠 Introduction T

Grant Stenger 56 Dec 07, 2022
Script Crack Facebook, and Instagram 🚶‍♂

in-mbf Script Crack Facebook, and Instagram 🚶‍♂ Bukti Install Script $ pkg update && pkg upgrade $ pkg install git $ pkg install python2 $ pip2 insta

Yumasaa 5 Dec 27, 2021
短信发送 Python 程序(包含1000+有效接口)

短信轰炸 Python 程序(包含1000+有效接口) 前言 这是一个爬取网络上在线轰炸的接口,后通过 Python 异步 请求接口以达到 手机短信轰炸 的目的。 此为开源项目,仅供娱乐学习使用,使用者所带来的一切后果与作者无关,使用请遵守相关的法律法规,合理使用,请勿滥用。 食用方法 1. 爬取接

蓝鲸落 10.2k Jan 02, 2023
A wrapper for the Discord Python Pixels API.

DPYPX A simple wrapper around Python Discord Pixels. Requires Python 3.7+ (3.x where x = 7). Requires pillow and aiohttp from pip. Example import dpy

Artemis 3 Oct 01, 2022
AWS Workmail Migration Tool

WMigrate A tool for migrating AWS Workmail Users and Groups cross region and cross accounts. It also creates user and group aliases and adds the users

NK 1 Oct 27, 2021
Library written in Python that wraps Halo Infinite API.

haloinfinite Library written in Python that wraps Halo Infinite API. Before start It's unofficial, reverse-engineered, neither stable nor production r

Miguel Ferrer 4 Dec 28, 2022
This is a TG Video Compress BoT. Product by BINARY Tech

🌀 Video Compressor Bot Product by BINARY Tech Deploy to Heroku The Hard Way virtualenv -p python3 VENV . ./VENV/bin/activate pip install -r requireme

1 Jan 04, 2022
Cytotron - A unique discord bot like never before. Add it to your server to keep it active, motiviated, and amazing!!

Cytotron - Take your server to the next level Most of the details are in the website. Go to https://cytotron-bot.gq for more information. If that link

LeviathanProgramming 6 Jun 13, 2021
Esse script procura qualquer, dados que você queira na wikipedia! Em breve traremos um com dados em toda a internet.

Buscador de dados simples Dependências necessárias Para você poder começar a utilizar esta ferramenta, você vai precisar da dependência "wikipedia", p

Erick Campoy 4 Feb 24, 2022
AWS Blog post code for running feature-extraction on images using AWS Batch and Cloud Development Kit (CDK).

Batch processing with AWS Batch and CDK Welcome This repository demostrates provisioning the necessary infrastructure for running a job on AWS Batch u

AWS Samples 7 Oct 18, 2022
An example of matrix addition, demonstrating the basic method of Python calling C library functions

Example for Python call C functions An example of matrix addition, demonstrating the basic method of Python calling C library functions. How to run Bu

Quantum LIu 2 Dec 21, 2021
Telegram Bot to learn English by words and more.. ( in Arabic )

Get the mp3 files Extract the mp3.rar on the same file that bot.py on install requirements pip install -r requirements.txt #Then enter you bot token

Plugin 10 Feb 19, 2022
Another secured and Yet Fastest telegram userbot

Vision-UserBot A stable, simple Telegram UserBot in Pyrogram! Support Variables ➨ TG_APP_ID - Your Telegram Api id. ➨ TG_API_HASH - Your Telegram Api

TeamVision 40 Oct 24, 2022
摩尔庄园手游脚本

摩尔庄园 BlueStacks 脚本 手游上线,情怀再起,但面对游戏中枯燥无味的每日任务和资源采集,你是否觉得肝疼呢? 本项目通过生成 BlueStacks 模拟器的宏脚本,帮助玩家护肝。 使用脚本请阅读 使用方式 和对应的 功能及说明 联系 Telegram 频道 @mole61 Telegram

WH-2099 43 Dec 16, 2022
A Phyton script working for stream twits from twitter by tweepy to mongoDB

twitter-to-mongo A python script that uses the Tweepy library to pull Tweets with specific keywords from Twitter's Streaming API, and then stores the

3 Feb 03, 2022
Set up recurring buys in Gemini

Overview Set up recurring buys in Gemini. Given some keys (Create API Keys), allows you to configure a recurring buy using the reduced API maker and t

Ahmad Abuomar 3 Jan 06, 2022
⚡ ʑɠ ცơɬ Is One Of The Fastest & Smoothest Bot On Telegram Based on Telethon ⚡

『ʑɠ ცơɬ』 ⚡ ʑɠ ცơɬ Is One Of The Fastest & Smoothest Bot On Telegram Based on Telethon ⚡ Status Of Bot Telegram 🏪 Dєρℓογ το нєяοκυ Variables APP_ID =

ʑɑʑɓɦɑɪ 0 Feb 12, 2022
Bot playing "mathbattle" game from Telegram messenger

mathbattlebot Bot playing mathbattle game from Telegram messenger Installing: run in command line pip3 install -r requirements.txt Running: Example c

Egor 1 May 30, 2022