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)
Twitch Points Miner for multiple accounts with Discord logging

Twitch Points Miner for multiple accounts with Discord logging Creator of the Twitch Miner -- PLEASE NOTE THIS IS PROBABLY BANNABLE -- Made on python

null 8 Apr 27, 2022
Reference python implementation of Chia pool operations for pool operators

This repository provides a sample server written in python, which is meant to server as a basis for a Chia Pool. While this is a fully functional implementation, it requires some work in scalability and security to run in production.

Chia Network 451 Dec 13, 2022
Tncli - TON smart contract command line interface

Tncli TON smart contract command line interface State Not working, in active dev

Disintar IO 100 Dec 18, 2022
TonplaceApi - Ton.place api wrapper

tonplaceApi ton.place/tonplaceApi Обертка для ton.place Установка pip install ht

Nickolay Samedov 3 Feb 21, 2022
TON Command Line Interface - easy smart contract manipulation

toncli The Open Network cross-platform smart contract command line interface. Easy to deploy and interact with TON smart contracts. Installation Toncl

Disintar IO 100 Dec 18, 2022
Pool funds to bootstrap a Uniswap pair

Seed liquidity A contract to pool funds which are then used to boostrap a new Uniswap liquidity pair. Specification A new SeedLiquidity contract is de

null 66 Dec 9, 2022
A simple Ethereum mining pool

A simple getWork pool for ethereum mining Payouts are still manual. TODO: write payouts when someone mines 10 blocks. Also, make the submit actually

null 93 Oct 5, 2022
A simple Ethereum mining pool

A simple getWork pool for ethereum mining

null 93 Oct 5, 2022
Switch among Guest VMs organized by Resource Pool

Proxmox PCI Switcher Switch among Guest VMs organized by Resource Pool. main features: ONE GPU card, N OS (at once) Guest VM command client Handler po

Rosiney Gomes Pereira 111 Dec 27, 2022
The Intelligent Bitcoin Miner, Part II

The Intelligent Bitcoin Miner, Part II At a Glance This app simulates the behavior and profitability of Bitcoin miners for The Intelligent Bitcoin Min

Karim Helmy 20 Dec 16, 2022
A fire and forget command-line tool to allow for easy transitions of VPN connections between a pool of AWS machines.

VPN Swapper A fire and forget command-line tool to allow for easy transitions of VPN connections between a pool of AWS machines. Dependencies poetry -

Workday 5 Jul 7, 2022
A Python library to utilize AWS API Gateway's large IP pool as a proxy to generate pseudo-infinite IPs for web scraping and brute forcing.

A Python library to utilize AWS API Gateway's large IP pool as a proxy to generate pseudo-infinite IPs for web scraping and brute forcing.

George O 929 Jan 1, 2023
Another Provably Rare Gem Miner 💎 (for Raritygems)

Provably Rare Gem Miner Go (for Rarity) Pull Request is strongly welcome as I don't know anything about Golang/Python/Web3. Usage Install Python 3.x i

朱里 6 Apr 22, 2022
Aiotor - a pool of proxies, shifting on each request

Aiotor - a pool of proxies, shifting on each request

Leon 32 Dec 26, 2022
Deep Web Miner Python | Spyder Crawler

Webcrawler written in Python. This crawler does dig in till the 3 level of inside addressed and mine the respective data accordingly

Karan Arora 17 Jan 24, 2022
XMRiGUI is free and open-source crypto miner for Linux. It uses XMRig for mining and GTK3 for GUI.

XMRiGUI is free and open-source crypto miner for Linux. It uses XMRig for mining and GTK3 for GUI.

null 29 Jul 7, 2022
Que es S4K Builder?, Fácil un constructor de tokens grabbers con muchas opciones, como BTC Miner, Clipper, shutdown PC, Y más! Disfrute el proyecto. <3

S4K Builder Este script Python 3 de código abierto es un constructor del muy popular registrador de tokens que está en [mi GitHub] (https://github.com

SadicX 1 Oct 22, 2021
Basic Ethereum Miner Lib

EthMine ⛏ Basic Ethereum Miner Library. Developers can integrate this algorithm to mine blocks from their ethereum supported chain efficiently. Instal

Jaival Patel 1 Oct 30, 2021
A simple watcher for the XTZ/kUSD pool on Quipuswap

Kolibri Quipuswap Watcher This repo holds the source code for the QuipuBot bot deployed to the #quipuswap-updates channel in the Kolibri Discord Setup

Hover Labs 1 Nov 18, 2021
Turn crypto miner on/off depending on powerwall charge level

Mining Crypto with Tesla Solar and Powerwalls This script turns a crypto miner on and off when the Tesla Powerwall level drops/rises above a certain t

Matt 1 Nov 9, 2021