Mining with an ASIC machine

Everything you need to know for efficient mining on our stratum servers.

Select closest location

for more efficient mining

Generate stratum
How to choose the optimal stratum?

username: YourBitcoinAddress
password: x

How much can you earn

see what your earning potential is

Calculate the profitability of your miner

Tips & Tricks

for efficient mining with your ASIC machine

Note that many ASIC devices use older versions of mining software. Some of these versions are not compatible with NiceHash, due to the extranonce2-bug (resulting in 99-100% rejects) and most of them do not (yet) support advanced stratum extranonce subscription for better efficiency (no disconnections).

Make sure that you have checked the mining software/firmware page above with the download links and instructions for ASIC mining first.

General

  • use your Bitcoin address as you stratum username and "x" (or any character) as your stratum password
  • you can add worker name in your stratum username; use the following format: "YourBitcoinAddress.WorkerName" where WorkerName is up to fifteen alphanumeric (Aa-Zz, 0-9) characters; example: 13pkLyfskZ3qWmHUoLpk8XZa6gACKQ2jDX.MyASIC01
  • make sure you are using the latest firmware on your miner
  • if possible, use a miner with extranonce.subscribe support (by adding #xnsub stratum+tcp URL parameter); you can check if you miner has extranonce.subscribe enabled at our miners page; Example
  • if you have the possibility to choose between various mining software, we recommend BFGMiner with extranonce subscription support, please take a look here
  • if your miner is using cgminer without extranonce.subscribe, please ask your ASIC manufacturers to include the extranonoce.subscribe patch from our GIT repository and provide updated cgminer binaries or firmwares with extranonoce.subscribe subscription. Details can be found here.
  • keep in mind that your miners will also be mining altcoins with lower difficulties, therefore you should test your miner in case you are overclocking
  • if you have access to software fine-tuning, you can experiment with these cgminers/BFGMiners additional settings: --queue 0 --scan-time 1 --expiry 1
  • it is very important for you to monitor the average mid-term hashrate, reported on our website (it is calculated from shares, rewarded to your miner) and the actual earnings, not only the hashrate that is displayed by your miner hardware/software, since in some cases you will be rewarded for more than your miner is showing you in terms of hashrate
  • bitcointalk.org forums are great resources for tuning ASIC miners. You are welcome to check our bitcointalk thread.
  • you are also welcome to try the stratum-proxy, explained below - especially if you hit the 99-100% reject ratio due to extranonce2-bug

Scrypt ASIC

Scrypt ASIC mining software is integrated in the mining devices and can usually be upgraded by upgrading the device firmware.

Enable extranonce.subscription by adding #xnsub suffix for stratum URL.

BFGMiner

Mind the slash '/' before #xnsub. To download the latest BFGMiner, take a look here.

stratum+tcp://scrypt.[location].nicehash.com:port_num/#xnsub

KNC Titans

Mind the slash '/' before #xnsub and add the #skipcbcheck parameter. To download the latest KNC Titan firmware, take a look here.

stratum+tcp://scrypt.[location].nicehash.com:port_num/#xnsub#skipcbcheck

cgminer

stratum+tcp://scrypt.[location].nicehash.com:port_num#xnsub

A2 Terminator

Take a look at overclocked image for A2 Innosilicon devices with extranonce.subscribe support.

Antminer L3+

SHA256 ASIC

SHA256 ASIC mining software is integrated in the mining devices and can usually be upgraded by upgrading the device firmware.

Enable extranonce.subscription by adding #xnsub suffix for stratum URL.

BFGMiner

Mind the slash '/' before #xnsub. To download the latest BFGMiner, take a look here.

stratum+tcp://sha256.[location].nicehash.com:port_num/#xnsub

cgminer

stratum+tcp://sha256.[location].nicehash.com:port_num#xnsub

Bitmaintech's AntMiners

the extranonce.subscribe feature is already included in the latest firmwares, but we recommend that you upgrade the firmware with our patches for the following devices.

Instructions on how to replace the stock AntMiner cgminer binary are included in the zip packages as a README file. A full firmware upgrade is performed via the usual official firmware upgrade procedure.

Spondoolies's SP20, SP3x

Upgrade to the latest stable firmware and you'll find an option to set

Canaan Creative's Avalon 6

extranonce.subscribe feature has been included in the xnsub release of the firmware, which was prepared by Canaan Creative Avalon developers and can be downloaded through the following links.



X11 ASIC

X11 ASIC mining software is integrated in the mining devices and can usually be upgraded by upgrading the device firmware.

Enable extranonce.subscription by adding #xnsub suffix for stratum URL.

AntMiner D3

Other ASICs

Various mining algorithms are implemented with ASIC devices, such as X11, Quark, Qubit, etc.

General

various ASIC manufacturers are integrating different mining software into their ASIC devices; in general all modern ASIC devices for any algorithms should work out-of-the-box without the need of any special tuning

Baikal Multi-algo ASIC

Baikal is Multi-Algorithm ASIC miner; some Baikal multi-algorithm ASIC miner comes with support for automatic best-profit switching for NiceHash; in order to use this feature you should set "enable-nicehashsma: true" under "Sgminer options":"value" settings

If you are an existing user of Baikal device you should download the latest firmware and upgrade your device. After upgrade, you'll be able to see NiceHash multipool with special 'enable-nicehash' option which implements our special Simple Multi-Algorithm protocol



I don't have an ASIC machine

What can I do?

Sell your CPU/GPU power Buy hashing power