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)
:spaghetti: Pastas is an open-source Python framework for the analysis of hydrological time series.

Pastas: Analysis of Groundwater Time Series Pastas: what is it? Pastas is an open source python package for processing, simulating and analyzing groun

Pastas 277 Dec 29, 2022
🧑‍💼 Python wrapper for the Seek API

seek-com-au-api 🧑‍💼 Python wrapper for the seek.com.au API (unofficial) Installation Using Python = 3.6: pip install -e git+https://github.com/tomq

Tom Quirk 1 Oct 24, 2021
How to make a QR Code of your own in python

QR CODE Bilgilendirme! " pip install qrcode pillow " kurmalısınız.

Aktali 1 Dec 24, 2021
Python wrapper for Xeno-canto API 2.0. Enables downloading bird data with one command line

Python wrapper for Xeno-canto API 2.0. Enables downloading bird data with one command line. Supports multithreading

_zza 9 Dec 10, 2022
Create Fast and easy image datasets using reddit

Reddit-Image-Scraper Reddit Reddit is an American Social news aggregation, web content rating, and discussion website. Reddit has been devided by topi

Wasin Silakong 4 Apr 27, 2022
The official Discord Python framework for thenewboston blockchain.

Project Setup Follow the steps below to set up the project on your environment. Mac Setup Homebrew requires the Xcode command-line tools from Apple's

Bucky Roberts 18 Jul 15, 2022
Get an SNS alert for High Severity GuardDuty findings

Automation AWS-GuardDuty findings Get an SNS alert for High Severity GuardDuty findings Problem: Getting notified when there is Red finding in AWS Gua

Giten Mitra 4 Nov 18, 2022
GroupMenter : New Telegram Group Manager Bot🔸Fast 🔸Python🔸Pyrogram 🔸

GroupMenter An PowerFull Group Manager Bot. Written In Pytelethon. Info • A modular Telegram Python bot running on python3. • Can be found on telegram

Group Menter 24 Jun 28, 2022
An unoffcial python API client for primeuploads.com

primeuploads-py An unoffcial python API wrapper for primeuploads.com Installation pip3 install primeuploads-py Usage example from prime import PrimeUp

W4RR10R 41 Dec 05, 2022
A delivery protection and notification system

DeliveryProtect This project builds a delivery protection and notification system, based on integration of Arduino Uno and Raspberry Pi 4. The codes a

2 Dec 13, 2021
Discord bot to monitor collection of mods on the Steam Workshop and notify on update to selected discord server via Nextcordbot API.

Steam-Workshop-Monitor Discord bot to monitor collection of mods on the Steam Workshop and notify on update to selected Discord channel via Nextcordbo

7 Nov 03, 2022
A Discord bot to scrape textfiles from messages and put them to Hastebin

A Discord bot to scrape textfiles from messages and put them to Hastebin. Intended to use on support servers to help users read textfiles on mobile.

1 Jan 23, 2022
Share your files on local network just by one click.

Share Your Folder This script helps you to share any folder anywhere on your local network. it's possible to use the script on both: Windows (Click he

Mehran Seifalinia 15 Oct 23, 2022
A python library for creating selfbots/automating your Nertivia account.

nertivia-selfbot (WIP) A python library for creating selfbots/automating your Nertivia account. how to use Download the nertivia_selfbot folder from t

Ben Tettmar 2 Feb 03, 2022
One version package to rule them all, One version package to find them, One version package to bring them all, and in the darkness bind them.

AwesomeVersion One version package to rule them all, One version package to find them, One version package to bring them all, and in the darkness bind

Joakim Sørensen 39 Dec 31, 2022
Injector/automatic translator (using deepL API) for Tsukihime Remake

deepLuna Extractor/Editor/Translator/Injector for Tsukihime Remake About deepLuna, from "deepL", the machine translation service, and "Luna", the name

30 Dec 15, 2022
Python SDK for the Buycoins API.

This library provides easy access to the Buycoins API using the Python programming language. It provides all the feature of the API so that you don't need to interact with the API directly. This libr

Musa Rasheed 48 May 04, 2022
SpamBot.py allows you, to spam other Chat Partners etc.

SpamBot -SpamBot.py allows you, to spam other Chat Partners etc. Install If you downloaded it yet, you have to install "requirements.txt" write the di

Marco 1 Jan 16, 2022
WhatsApp Multi Device Client

WhatsApp Multi Device Client

23 Nov 18, 2022
A Simple Telegram Bot that can Download Files From Mega.nz and Upload It to Telegram

MegaDL-Bot A Simple Telegram Bot By @mrkpbots to Download Files From Mega.nz and Upload It to Telegram Features No Login Required All Mega.nz File Lin

MRKP BOTS 5 Feb 20, 2022