Skip to content

Sample Usages

Mining Zcash / ZClassic / Zencash / Bitcoin Gold (BTG)...

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://foo.worker:[email protected]:8816
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 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:

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

bminer -uri ethash://[email protected]nopool.org:9999
bminer -uri ethash://[email protected]rg:4444
bminer -uri ethproxy://[email protected]:8008
bminer -uri ethproxy://[email protected]yz:8008
bminer -uri ethproxy://[email protected]:2020
bminer -uri ethproxy://[email protected]l.com:8008
bminer -uri ethproxy://[email protected]ol.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]rg:5555

Dual mining for Ethereum (ETH) and Decred (DCR) / Verge (XVG)

The following section describes a few sample usages of dual mining mode. For example, within dual mining mode, Bminer can mine ETH&DCR or ETH&XVG at the same time without affecting ETH mining speed. In general, Bminer can support dual mining on other Ethash-based coins with Blake14r-based coins and Blake2s-based coins as well.

There are a few things that need to be customized for your own usages:

  • Substitute 0xb76d43eAaB2e905028a7f0F3aF13C7A84c477B9f with your own ETH address.
  • Substitute DsZt1npFipRNuUyM9nLY46oRTya3J2ETE88 with your own DCR address.
  • Substitute DDXKDhq73GRM3hjh6uee57fJ3LS2ctNtyi with your own XVG address.
  • Substitute foo with your username.
  • Substitute worker with your worker name.
  • Substitute pwd with your password.

Bminer supports mining Blake14r-based coins as a secondary coin, such as Decred (DCR), over different pooss. Here are a few examples:

bminer -uri ethash://[email protected]nopool.org:9999 -uri2 blake14r://foo.worker:[email protected]:3343
bminer -uri ethash://[email protected]nopool.org:9999 -uri2 blake14r://DsZt1npFipRNuUyM9nLY46oRTya3J2ETE88.worker:[email protected]:2222
bminer -uri ethash://[email protected]nopool.org:9999 -uri2 blake14r://foo.worker:[email protected]:3252
bminer -uri ethash://[email protected]nopool.org:9999 -uri2 blake14r://foo.worker:[email protected]:4801

Bminer supports mining Blake2s-based coins as a secondary coin, such as Verge (XVG), over different pools. Here are a few examples:

bminer -uri ethash://[email protected]nopool.org:9999 -uri2 blake2s://DDXKDhq73GRM3hjh6uee57fJ3LS2ctNtyi.worker:[email protected]:8888
bminer -uri ethash://[email protected]nopool.org:9999 -uri2 blake2s://DDXKDhq73GRM3hjh6uee57fJ3LS2ctNtyi.worker:[email protected]:9008
bminer -uri ethash://[email protected]nopool.org:9999 -uri2 blake2s://DDXKDhq73GRM3hjh6uee57fJ3LS2ctNtyi.worker:[email protected]:5766
bminer -uri ethash://[email protected]nopool.org:9999 -uri2 blake2s://DDXKDhq73GRM3hjh6uee57fJ3LS2ctNtyi.worker:[email protected]:5766
bminer -uri ethash://[email protected]nopool.org:9999 -uri2 blake2s://DDXKDhq73GRM3hjh6uee57fJ3LS2ctNtyi.worker:[email protected]:5766
bminer -uri ethash://[email protected]nopool.org:9999 -uri2 blake2s://DDXKDhq73GRM3hjh6uee57fJ3LS2ctNtyi.worker:[email protected]:3165

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. Here is one example:

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

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

You can use tensority+ssl:// instead of tensority:// to connect to the pool via SSL connections (on a different port).

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

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

Escaping characters in the URI

You can follow RFC 1738 to escape special characters (e.g., @, /) in the URI. This is useful when the mining pool requires you to specify email address as part of the username.

For example, the following command asks nanopool to send email notifications to [email protected]:

bminer -uri stratum+ssl://t1ZBtpkUy1y1deYsNJnzdW4tk7HiJEcfUzr.worker%2Ffoo%40gmail.com:[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

Youtube Video

A video guide showing how to mine Zcash By IMineBlock

Pools

Miningpoolhub

Flypool

2miner.com

Tools

The Awesome Miner 4.5 includes BMiner support

SimpleMiningOS includes BMiner support