Edit this page on GitHub (opens in a new tab)
Point your Equihash ASIC (or hobby GPU) at a pool, share the work with other miners, and get steady ZEC payouts instead of waiting years for a solo block.
Further reading
For a complementary privacy-focused field guide covering home mining (including 240 V power and heat reuse), no-account / KYC-free pools, shielded payouts, hosted mining, and hashrate rental, see minezec.org. It is an independent community resource.
u1…) addresses for shielded payouts where the pool supports them. Shield transparent payouts promptly.getblocktemplate RPC.Mining is how new Zcash blocks get made. Miners race to solve an Equihash puzzle; the first valid solution adds the next block and earns the block reward. The more hashrate you contribute, the more often you win, but against today's network a single home rig would almost never win on its own.
A mining pool fixes that. The pool hands each miner smaller pieces of work called shares. Every accepted share proves you contributed hashrate. When anyone in the pool finds a block, the reward is split according to shares, and you get paid automatically once your balance passes the pool's minimum.
The setup has five parts, covered step by step below:
YOUR_ADDRESS.WORKER_NAME as the user name.Zcash (ZEC) is a privacy-focused cryptocurrency that uses the Equihash proof-of-work algorithm for mining. Mining Zcash involves using computational power to solve complex mathematical problems, validating transactions, and securing the network in exchange for ZEC rewards. Due to the network's high difficulty, solo mining is not recommended for most users. Joining a mining pool is the best way to earn consistent rewards by combining your hash power with others.
This guide focuses on mining Zcash using personal hardware. ASICs are far more efficient than GPUs. Check profitability with a tool such as WhatToMine or the minezec.org calculator, because electricity costs, hardware prices, and the ZEC price all change the result. Mining may not be profitable for everyone; research local regulations and energy rates.
NU7 activated ZIP 218, which shortens the target block time from 75 seconds to 25 seconds (3,456 blocks per day) and sets the block subsidy to 0.52083333 ZEC. Of each subsidy, 80% goes to the miner (~0.4167 ZEC), 12% to a coinholder-controlled fund, and 8% to Zcash Community Grants. Daily issuance remains roughly the same as before NU7 because blocks arrive three times as often. The halving interval is 5,040,000 blocks. See for the full schedule.
For a miner this means blocks and pool shares arrive more often, with a smaller reward each. Your expected share of the daily reward still depends on your hashrate compared with the whole network.
ASIC Mining (recommended):
GPU Mining (hobby / testing only):
General: Stable internet and a computer for setup/monitoring. ASICs dominate the network.
u1…) for shielded payouts where the pool supports it.t1…) addresses are simpler but less private — shield promptly.u1…) address for shielded payouts if the pool supports it. Note it down.t1…), use it only for mining and shield the funds promptly.For ASICs:
For GPUs (hobby only):
Warning: Ensure proper ventilation. Mining generates substantial heat. Start small to test.
Mining pools distribute work and share rewards based on your contributed hashrate. Select based on fees (typically 0–3%), payout method, minimum payout, shielded/unified support, server location (low latency), reliability, and whether an account or KYC is required.
Pools the community uses. Fees, payout minimums, and rules change — confirm them on each pool's site:
For a privacy-oriented directory that lists no-account / KYC-free pools first (including options with shielded coinbase or u1 payouts), see minezec.org/pools. Prefer smaller pools when practical to support decentralization. Always verify current stratum endpoints, fees, and payout rules on the pool's own site.
For ASICs (example: Bitmain Antminer):
stratum+tcp://zec.2miners.com:1010 (or the pool's recommended endpoint)YOUR_WALLET_ADDRESS.WORKER_NAMEx (or as specified by the pool)For GPUs (example: lolMiner):
lolMiner.exe --coin ZEC --pool zec.2miners.com:1010 --user YOUR_WALLET_ADDRESS.WORKER_NAME --pass x
Replace YOUR_WALLET_ADDRESS with your ZEC address and set a worker name. Use regional servers when available (e.g., eu.zec.2miners.com:1010).
For other software (e.g., GMiner):
miner.exe --algo 125_4 --server zec.2miners.com:1010 --user YOUR_WALLET_ADDRESS.WORKER_NAME --pass x
Test: Run for 10–15 minutes; check console for accepted shares and hashrate.
For Foundry Zcash Pool users:
Because Foundry uses a PPLNS reward model, mining rewards depend on contributed shares over the pool's reward window rather than instant hashrate alone.
Recommended monitoring practices:
Sovright (sovright.com) runs a Stratum V2 mining pool and a separate block relay network. They do different jobs, so they are covered separately below.
Sovright's pool runs on a public Zcash testnet (NU6, Stratum V2), not mainnet. The testnet does not pay out real ZEC. Use it to test your miner configuration, not to earn.
No account is required to start. Point a CPU or ASIC Equihash miner at the pool and your shares show up on a live dashboard.
Sovright also publishes an open source Stratum V2 proxy for miners who want to choose their own block templates instead of just taking the pool's jobs:
git clone https://github.com/sovright/mining-infra
cd mining-infra
cargo build --release -p sovright-v1-stratum-proxy
./target/release/sovright-v1-stratum-proxy --listen 0.0.0.0:3334 --upstream 34.28.134.13:3333
Point your miner at the proxy instead of the pool directly:
stratum+tcp://<your-proxy-ip>:3334
using a worker name like yourname.rig1.
Sovright's transparency page states an "include all" policy for shielded transactions, unlike some pools that filter them out. Each block gets a signed attestation so the policy can be checked independently.
Create an account at mining.sovright.com (Google or email sign in) to track your own workers instead of the sample dashboard data.
Sovright separately runs a public block relay network on Zcash mainnet. When a pool finds a block, how fast that block reaches the rest of the network determines how often it gets orphaned, meaning it loses the propagation race and the reward for it is lost. The relay forwards blocks across four regions using compact block relay with forward error correction.
The public dashboard shows the effect live: relay-connected regions see new blocks in well under half the time plain peer to peer gossip takes, and the dashboard tracks the network's live orphan rate.
This is infrastructure for pool operators, not individual miners. Sovright's open source mining-infra repository documents a submitblock relay gateway for fanning found blocks into the mesh faster than native P2P. To connect, contact Sovright directly (support@sovright.com) for relay peer addresses and an auth key.
Everything above points your miner at someone else's pool. The other route is to run a node yourself and have your mining software ask it for work. Since zcashd halted on 18 July 2026, that means , the node this section covers.
Zebra's part is small and specific: it builds block templates and accepts solved blocks over its RPC interface. The hashing is done by mining software, and sharing rewards between several miners is the job of pool software. Whether mining alone ever finds a block depends on your share of the network's hash rate, which this section does not try to estimate. That is why the introduction to this page does not recommend solo mining for most users.
The steps follow two Zebra Book pages, Mining Zcash with Zebra and Mining with Zebra in Docker, as they stood on 8 October 2026. Key names and defaults change between releases, so check the Book before you rely on one.
Create a config file with the default settings, then edit it:
mkdir -p ~/.config
zebrad generate -o ~/.config/zebrad.toml
A miner address is required (Book: Miner address):
[mining]
miner_address = "YOUR_ADDRESS"
Zebra accepts a transparent P2PKH or P2SH address, a Sapling address, or a Unified Address. For a Unified Address with more than one receiver, the Book says Zebra pays a single receiver, "preferring Orchard, then Sapling, then transparent".
Two optional keys go in the same [mining] section:
| Key | What it does | Limit |
|---|---|---|
extra_coinbase_data | Adds a public tag, such as a pool name, to the coinbase input of every block you mine, after Zebra's own marker (Book) | 86 bytes. Above that, "Zebra refuses to start" |
miner_memo | Attaches a shielded memo to the reward output. Unlike extra_coinbase_data it is not public: only someone with a viewing key for the receiving address can read it (Book) | 512 bytes. It only works when the reward goes to a shielded receiver. With a transparent address it "silently has no effect" |
Mining software talks to Zebra over JSON-RPC, which stays off until you give it an address to listen on (Book: RPC section):
[rpc]
listen_addr = "127.0.0.1:8232"
8232 is the standard RPC port on Mainnet. 127.0.0.1 keeps the port reachable from the same machine only.
Since Zebra 2.0.0 a cookie protects the RPC port, a method similar to the one zcashd used. Zebra writes the cookie when the RPC endpoint starts and deletes it at shutdown. By default the file sits in Zebra's cache directory, for example /home/user/.cache/zebra/.cookie on Linux, and holds one line:
__cookie__:PASSWORD
rpc.cookie_dir moves the file. rpc.enable_cookie_auth = false turns the check off, and with it the only authentication the RPC port has: anything that can reach the port can then call it.
zebrad
Zebra reads the config from the default location. Pass -c /path/to/zebrad.toml to use another file. Wait for the sync to finish. The log shows sync_percent=100.000% when it has (Book: Running zebra). covers hardware and disk space.
getblocktemplate is the call mining software makes to get work, so it is also the quickest test (Book: Testing the setup). Put the contents of your cookie file in place of __cookie__:PASSWORD:
curl --silent --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getblocktemplate", "params": [] }' -H 'Content-type: application/json' http://__cookie__:PASSWORD@127.0.0.1:8232/ | jq
A working setup returns a result object with the fields a miner needs, among them previousblockhash, coinbasetxn, target and height. If you set extra_coinbase_data, the Book explains how to find your tag in coinbasetxn.data.
Give your mining or pool software the RPC endpoint, 127.0.0.1:8232, and the user name and password from the cookie. The Book says Zebra "supports the RPC methods needed to run most mining pool software" (Book: Run a mining pool).
Two notes from the Book before you pick software:
docker/mining/ that starts Zebra together with a mining pool and, if you ask for it, a CPU miner. The pool in it is s-nomp and it starts on Testnet unless you change it, so treat it as a way to learn the moving parts.The Book's shortest path is the zfnd/zebra Docker image, with the address and the RPC port passed as environment variables (Book: Mining with Zebra in Docker). The command below is the Book's with one change: it publishes the RPC port on the host's loopback address only, so other machines cannot reach it.
docker run -d --name zebra_local \
-e ZEBRA_MINING__MINER_ADDRESS="YOUR_ADDRESS" \
-e ZEBRA_RPC__LISTEN_ADDR=0.0.0.0:8232 \
-p 8233:8233 \
-p 127.0.0.1:8232:8232 \
-v zebrad-cache:/home/zebra/.cache/zebra \
zfnd/zebra:latest
This starts a Mainnet node, publishes the P2P port (8233) on the Docker host, and makes the RPC port (8232) reachable from the host itself only. Print the cookie with:
docker exec -it zebra_local cat /home/zebra/.cache/zebra/.cookie
0.0.0.0 in ZEBRA_RPC__LISTEN_ADDR. That is the address Zebra listens on inside the container. Docker forwards a published port to the container's own network interface, so a Zebra listening on 127.0.0.1 inside the container would not receive the connection, even from the host. The 127.0.0.1: in front of -p is what keeps the port off the network.-p 8232:8232, which opens it on every network interface of the host.-e ZEBRA_NETWORK__NETWORK="Testnet", set ZEBRA_RPC__LISTEN_ADDR=0.0.0.0:18232, publish -p 18233:18233 and -p 127.0.0.1:18232:18232, and give a Testnet address. A Mainnet address stops Zebra from starting on Testnet, and the other way round.Paying miners out and handling the wallet are outside this section. For the wallet side, see .
u1…) addresses and no-account pools. Shield transparent payouts promptly. Avoid address reuse.