Skip to content

Sample Usages

Mining with Nicehash

Both AE, BEAM, Grin, ETH are supported on Nicehash, please use your BTC address:

bminer -uri beam://[email protected]:3370
bminer -uri cuckaroo29://[email protected]m:3371
bminer -uri cuckatoo31://[email protected]m:3372
bminer -uri stratum://[email protected]:3357

Mining Grin / Aeternity

Both Grin and Aeternity utilize the Cuckoo-style algorithm which Bminer supports. Below are examples of command lines to mine Grin or Aeternity:

bminer -uri cuckaroo29://bminergrin.worker:[email protected]:13654
bminer -uri cuckatoo31://bminergrin.worker:[email protected]:13654
bminer -uri cuckaroo29://satoshi%40nakamoto%2Ecom%2Fworker:[email protected]:3416
bminer -uri cuckaroo29://satoshi%40nakamoto%2Ecom%2Fworker:[email protected]:6666
bminer -uri aeternity://[email protected]f2pool.com:7898
bminer -uri aeternity://[email protected]pool.beepool.org:9505
bminer -uri cuckaroo29://[email protected]m:3371
bminer -uri cuckatoo31://[email protected]m:3372

There are two points worth noting:

First, you need to escape the @ and the / character in the URI. Escaping essentially means replacing the character @ and / with %2E and %2F in the URI. Please see the FAQs for more details.

Second, both Aeternity / Grin requires significant CPU power to aid the mining. You might have sub-optimal performance if the machine is running on a low-end CPU (e.g. Intel Celeron) with multiple GPUs. Optionally, you can experiment the CPU usage with the -intensity flag:

bminer -uri cuckaroo29://bminergrin.worker:[email protected]:13654 -intensity 6

The intensity is between 0 and 12. Lower intensity has lower CPU usage but potentially slower on mining.

Mining Zcash / ZClassic / Zencash...

The following section describes a few sample usages of the miner. There are a few things that need to be customized for your own usages:

  • Substitute t1ZBtpkUy1y1deYsNJnzdW4tk7HiJEcfUzr with your own address.
  • Substitute worker to your worker name.

Bminer supports mining Equihash-based coins, such as Zcash / ZClassic / Zencash over different pools (e.g., nanopool, coinfoundry, slushpool, and Nicehash).

Here are a few examples of the command lines that mine coins to the specified addresses:

bminer -uri stratum://[email protected]:6666
bminer -uri stratum://[email protected]:3036
bminer -uri stratum://[email protected]:3122
bminer -uri stratum://[email protected]:3126
bminer -uri stratum://[email protected]:4444
bminer -uri stratum://[email protected]:3357

To connect to the mining pool over SSL, you can use stratum+ssl:// instead of stratum:// in the URI. For example:

bminer -uri stratum+ssl://[email protected]:6633

Bminer also support mining towards a multi-algorithm pool like miningpoolhub. The pool automatically switches between the Equihash-based coins to maximize the profits.

bminer -uri stratum://foo.w:[email protected]:17023

The command above will mine towards the username foo, worker name w and password pwd.

Note that your worker should be registered in Hub Workers with Job type Equihash, not default Account's default job.

Mining BitcoinZ / SafeCoin / Zelcash...

Bminer supports mining Equihash 144,5 based coins, such as BitcoinZ / SafeCoin / Zelcash, over different pools (e.g., 2miners.com, axepool, and altpool).

The following section describes a few sample usages. There are a few things that need to be customized for your own usages:

  • Substitute t1ZBtpkUy1y1deYsNJnzdW4tk7HiJEcfUzr with your own address.
  • Substitute foo with your username.
  • Substitute worker with your worker name.
  • Substitute pwd with your password.
  • Specify -pers correctly for the coin you want to mine. Note that -pers can be either a specific personalization string (e.g. BitcoinZ) or auto (for automatic profit switching at pools like zergpool).

Here are a few examples of the command lines that mine coins to the specified addresses:

bminer -uri equihash1445://[email protected]:2020 -pers BitcoinZ
bminer -uri equihash1445://[email protected]:3032 -pers BitcoinZ
bminer -uri equihash1445://[email protected]:9351 -pers ZelProof
bminer -uri equihash1445://foo.worker:[email protected]:6586 -pers BitcoinZ
bminer -uri equihash1445://[email protected]pool.com:2146 -pers auto
bminer -uri equihash1445://[email protected]:4008 -pers auto

To connect to the mining pool over SSL, you can use equihash1445+ssl:// instead of equihash1445:// in the URI (on a different port). For example:

bminer -uri equihash1445+ssl://foo.worker:[email protected]:6588 -pers BitcoinZ

Mining Bitcoin Gold (BTG)

The following section describes a few sample usages of mining Bitcoin Gold (BTG). There are a few things that need to be customized for your own usages:

  • Substitute GNjEhF8dfiCj9JSntTnsovb2c3z2kptfwi with your own address.
  • Substitute foo with your username.
  • Substitute worker with your worker name.
  • Substitute pwd with your password.

Bminer supports mining Zhash (Equihash with parameter set 144,5) based coins, notably Bitcoin Gold (BTG), over different pools (e.g., pool.gold, btgpool.pro, and suprnova.cc).

Here are a few examples of the command lines that mine coins to the specified addresses:

bminer -uri zhash://[email protected]:3050
bminer -uri zhash://[email protected]:3857
bminer -uri zhash://[email protected]:3857
bminer -uri zhash://[email protected]:3857
bminer -uri zhash://foo.worker:[email protected]:8866

To connect to the mining pool over SSL, you can use zhash+ssl:// instead of zhash:// in the URI (on a different port). For example:

bminer -uri zhash+ssl://foo.worker:[email protected]:8817

Mining Ethereum / Ethereum Classic

The following section describes a few sample usages of mining Ethereum. There are a few things that need to be customized for your own usages:

  • Substitute 0xb76d43eAaB2e905028a7f0F3aF13C7A84c477B9f with your own ETH address.
  • Substitute worker to your worker name.

Bminer currently provides supports for mining Ethash-based coins, notably Ethereum and Ethereum Classic. There are three protocols that the mining pools current supports:

  • The classic Stratum protocol whose URI scheme is ethash:// or ethash+ssl:// (i.e., the Stratum protocol over SSL connections). ethermine.org and nanopool.org support this protocol.
  • The Ethereum proxy protocol whose URI scheme is ethproxy://. f2pool.com, dwarfpool.com, and sparkpool.com support this protocol.
  • The Ethereum Stratum protocol whose URI scheme is ethstratum://.

Here are a few examples of the command lines that mine coins towards the specified addresses:

bminer -uri ethash://[email protected]anopool.org:9999
bminer -uri ethash://[email protected]org:4444
bminer -uri ethproxy://[email protected]:8008
bminer -uri ethproxy://[email protected]xyz:8008
bminer -uri ethproxy://[email protected]m:2020
bminer -uri ethproxy://[email protected]ol.com:8008
bminer -uri ethproxy://[email protected]ool.com:3333
bminer -uri ethstratum://[email protected]y.org:3072
bminer -uri ethstratum://[email protected]:3344
bminer -uri ethstratum://foo.worker:[email protected]:20535

You can use ethash+ssl:// instead of ethash:// to connect to the pool via SSL connections:

bminer -uri ethash+ssl://[email protected]org:5555

Dual-mining Ethereum (ETH) and Decred (DCR) / Verge (XVG) / VeriBlock (VBK)

By exploiting the characteristics of the algorithms, Bminer can mine ETH and DCR, XVG or VBK at the same time without affecting the performance of mining ETH. Here are a few examples of the command line to dual mine ETH and DCR / XVG / VBK:

bminer -uri ethash://[email protected]anopool.org:9999 -uri2 blake14r://foo.worker:[email protected]:3252
bminer -uri ethash://[email protected]anopool.org:9999 -uri2 blake2s://DDXKDhq73GRM3hjh6uee57fJ3LS2ctNtyi.worker:[email protected]:8888
bminer -uri ethash://[email protected]anopool.org:9999 -uri2 blake2s://DDXKDhq73GRM3hjh6uee57fJ3LS2ctNtyi.worker:[email protected]:9008
bminer -uri ethash://[email protected]anopool.org:9999 -uri2 blake2s://DDXKDhq73GRM3hjh6uee57fJ3LS2ctNtyi.worker:[email protected]:5766
bminer -uri ethash://[email protected]anopool.org:9999 -uri2 blake2s://DDXKDhq73GRM3hjh6uee57fJ3LS2ctNtyi.worker:[email protected]:5766
bminer -uri ethash://[email protected]anopool.org:9999 -uri2 blake2s://DDXKDhq73GRM3hjh6uee57fJ3LS2ctNtyi.worker:[email protected]:5766
bminer -uri ethash://[email protected]anopool.org:9999 -uri2 blake2s://DDXKDhq73GRM3hjh6uee57fJ3LS2ctNtyi.worker:[email protected]:3165
bminer -uri ethash://[email protected]anopool.org:9999 -uri2 vbk://VAR5uzCpFNfmTDZQQmfHUgbpY7NS93.worker:[email protected]:3500

By default, Bminer automatically tunes the dual mining mode to get the best performance. Sometimes, you may want to adjust the performance manually. One option is to use the -dual-intensity argument:

bminer -uri ethash://[email protected]anopool.org:9999 -uri2 blake2s://DDXKDhq73GRM3hjh6uee57fJ3LS2ctNtyi.worker:[email protected]:8888 -dual-intensity 70

Improving the performance of Ethereum mining with OhGodAnETHlargementPill

OhGodAnETHlargementPill optimizes the DRAM timings on GTX 1080 and GTX 1080Ti to improve the performance of mining Ethereum.

To download and run OhGodAnETHlargementPill:

  • On Windows:
    • Download and install Microsoft Powershell.
    • Open command line prompt and run download_OhGodAnETHlargementPill.bat.
    • Run the downloaded file OhGodAnETHlargementPill-r2.exe. It may require administrative rights on Windows.
  • On Linux:
    • Run download_OhGodAnETHlargementPill.sh to download the program.
    • Run OhGodAnETHlargementPill-r2 to launch the program. It may require root access on Linux.

Mining Beam (BEAM)

The following section describes a few sample usages of mining BEAM (BEAM). There are a few things that need to be customized for your own usages:

  • Substitute 3a13205ec464807c9400f0fde8d56ac49da03bb3812055f08844fe2eaf0b9166 with your own BEAM address.
  • Substitute worker to your worker name.

Bminer currently provides supports for mining BEAM. For example:

bminer -uri beam+ssl://3a13205e[email protected]beam.sparkpool.com:2222
bminer -uri beam://[email protected]:3370

Specifying devices

You can specify which cards that Bminer should mine on using the -devices options. While Bminer runs on the NVIDIA cards by default, you can prefix the device IDs with amd: to run on AMD cards. For example:

bminer -devices amd:0 -uri beam+ssl://3a13205e[email protected]beam.sparkpool.com:2222

Bminer will run on the first AMD card on the system.

Mining Bytom (BTM)

The following section describes a few sample usages of mining Bytom (BTM). There are a few things that need to be customized for your own usages:

  • Substitute bm1q4fcqllxe0k05utju0r8uyd9ysm3y8tdu6al6ta with your own BTM address.
  • Substitute worker to your worker name.

Bminer currently provides supports for mining BTM. For example:

bminer -uri tensority://[email protected]:9221
bminer -uri tensority+ssl://[email protected]:9443

Dual mining for Ethereum (ETH) and Bytom (BTM)

Bminer is capable of dual mining ETH and BTM. In contrast to mining ETH and DCR / XVG, dual mining ETH and BTM produces significantly more shares on BTM while impacting the performances of ETH. You can tweak the ratios by setting the option -dual-intensity to either 2 or 3:

bminer -uri ethproxy://[email protected]:8008 -uri2 tensority://[email protected]:9221 -dual-intensity 2

Strict security for SSL (verifying the certificates)

Use the -strict-secure option to turn on the verification of all certificates of the SSL connections.

bminer -strict-secure \
-uri stratum+ssl://[email protected]:6633

Enabling the management API

The -api option below enables the REST APIs at 127.0.0.1:1880.

bminer -api 127.0.0.1:1880

Suppressing timestamps in the logging messages

bminer -no-timestamps

Logging messages to both console and a file

The -logfile option below enables logging to the specific file.

bminer -logfile=bminer.log

Exit immediately in case of network failures

The following parameters instructs Bminer to exit immediately in case of network failures. You will need your own monitoring tools for production deployments.

bminer -max-network-failures=0 -watchdog=false

Grin Mining Tutorials

Youtube Video

Pools

Tools

The Awesome Miner 4.5 includes BMiner support

SimpleMiningOS includes BMiner support

MinerOS

PiMP OS

PandaMiner GPU

Review

BMINER 10.2.0 NVIDIA GPU MINER REVIEW AND BENCHMARKS by 1st Mining rig