How to connect an Antminer, Whatsminer or Avalon
Industrial SHA-256 miners work on MergedHash as they are. This guide covers the pool settings, when to use the high-difficulty ports, and how to run proxies and fleets.
Pool settings
On an Antminer open the miner's web page, then Miner Configuration → Pools (or Settings → Pools on newer firmware). Whatsminer: Configuration → CGMiner configuration or the WhatsMinerTool. Avalon: Configuration → Pool. Fill in pool 1:
stratum+tcp://mine.mergedhash.com:3335bc1q…yourAddress.s19-01xSwap the port for the chain and mode you want: 3335 eCash solo, 3338 eCash shared, 3345 Bitcoin solo, 3348 Bitcoin shared. Save and apply; the miner reconnects within a minute.
- Use a bc1q… address from a wallet where you hold the private key or seed. That key receives your eCash or Bitcoin, Namecoin and Fractal Bitcoin rewards.
- Never use an exchange deposit address. Coinbase rewards sent there may be lost.
- bc1p (Taproot) and 3… addresses work for eCash and Bitcoin but are not paid on Namecoin, so bc1q is recommended.
- Rewards are spendable after 100 confirmations, like any coinbase.
All ports
| Chain | Solo (finder gets the block) | Shared (PPLNS) |
|---|---|---|
| eCash (ECX) | mine.mergedhash.com:3335 | mine.mergedhash.com:3338 |
| Bitcoin (BTC) | mine.mergedhash.com:3345 | mine.mergedhash.com:3348 |
| eCash · high difficulty | mine.mergedhash.com:3337 | mine.mergedhash.com:3339 |
| Bitcoin · high difficulty | mine.mergedhash.com:3346 | mine.mergedhash.com:3349 |
The high-difficulty ports start each connection at difficulty 1,048,576 and never go below 262,144. A single ASIC can use either set; proxies, farms and rented hashrate should use the high-difficulty ports.
The d= password option
Vardiff tunes every connection to about 6–12 shares a minute, and settles even a very large connection within seconds. If you want to skip the burst of easy shares at the start, set a starting difficulty in the password. It is also the lowest difficulty the pool will set for that connection.
| Hashrate on one connection | Password |
|---|---|
| Single ASIC, up to 1 PH/s | x or x,d=262144 |
| 1–20 PH/s | x,d=4194304 |
| 20–200 PH/s | x,d=67108864 |
| 200 PH/s and up | x,d=1073741824 |
Options are separated by commas with no spaces. Add htr=H… to also earn Hathor, for example x,d=4194304,htr=H….
Proxies, fleets and ASICBoost
- Farm proxies (Braiins Farm Proxy and other stratum proxies): one upstream connection with many workers behind it is fine. Point the proxy at a high-difficulty port.
- ASICBoost:
mining.configureversion rolling is supported, so miners that use overt ASICBoost keep their efficiency gain. - Extranonce:
mining.extranonce.subscribeis supported, and extranonce2 is 8 bytes, which leaves plenty of room to split work between downstream machines. - Many direct connections from one site are fine too. Each connection is kept to a few shares per second at most.
- Stratum V2 is on the roadmap, not available yet.
Worker names
Everything after the first dot in the user name is the worker name, used only for your own statistics: bc1q….row3-rack12. Machines with the same address are grouped as one miner with several workers on your miner page and the pool pages. Payouts always go to the address, never to a worker.
How large miners are paid
On solo ports the block pays the finder's address directly, minus 1%. On shared ports each block pays the miners in the recent-shares window (shares worth twice the network difficulty), by their share of the work, inside the coinbase. A coinbase holds a limited number of payout outputs, currently 19 miners plus the fee; the largest contributors are paid in that block and the rest keep their shares for a later block. The pool has no wallet, so it does not offer PPS or FPPS. See Farms and solo vs PPLNS.
ASIC questions
Do I need a special firmware?
No. Stock firmware and common third-party firmware both work. Anything that speaks Stratum V1 can connect.
Can I mine eCash and Bitcoin at the same time?
Each connection mines one parent chain, chosen by the port. Most ASICs take three pools as fallbacks, not as a split. To split, run machines on different ports or use a proxy.
My hashrate on the pool looks lower than on the miner.
The pool estimates hashrate from accepted shares over time, so the 10-minute value moves around. Compare the 24-hour value after the miner has run for a day.
Is there a minimum payout?
No. Rewards are written to your address inside the blocks themselves. There is no balance and no withdrawal.
More guides: Bitaxe, NerdQAxe and NerdOctaxe · Antminer, Whatsminer and Avalon · Rented hashrate · Merged mining · Solo vs PPLNS · FAQ