Step-by-Step Guide for StratumV2 Solo Mining on DEMAND
Alejandro de la Torre of Demand Pool has put together a quick guide on Stratumv2 solo mining via Demand Pool.
Watch the video at the bottom of this article for a step by step guide and an explanation of how your miner interacts with the proxy.
- Download (or build) patched bitcoind binaries from here.
- Linux binary: click on bitcoin-sv2-tp-0.1.2-arm64-apple-darwin.tar.gz to download the patched bitcoind that support StratumV2 (this is the Linux binary).
- MAC binary: click on bitcoin-sv2-tp-0.1.2-arm64-apple-darwin.tar.gz.
- Run the patched bitcoind with this command: ./bitcoind -sv2 -sv2port=8442 (you MUST use this port otherwise the proxy will not work).
- You can add other flags if you need them.
- The node will not enter a ready state for mining until any block is found on the network.
- Once you launch the node and the chain is synced, you'll need to wait for a new block before launching the proxy.
- Wait for the chain to sync.
- Download or build demand_all_in_one proxy from here.
- Click on Release (right hand side) to find the proxy.
- This is the proxy: demand_all_in_one_sv2-x86_64-linux-gnu and download.
- NOTE: only available for MAC and LINUX.
- Once downloaded, run or execute it with:
- ./demand_all_in_one_sv2-x86_64-linux-gnu -a bc1qxy2kgdygjrsqtzq2n0yrf2493p83kkfjhx0wlh <- this would be your valid bitcoin address where you would receive your mining reward.
- Run it.
- As soon as you see INFO demand_solo_all_in_one::translator: Connected to Upstream! ....\ - point your miners to ip_address_of_the_machine_running_the_proxy:34255.
- Congratulations miner! You are now helping to decentralize bitcoin mining via StratumV2 DEMAND.
- You can skip all this and solo mine sv1 with this endpoint: mining.dmnd.work:1000.