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.

Step-by-Step Guide for StratumV2 Solo Mining on  DEMAND

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.

  1. Download (or build) patched bitcoind binaries from here.
    1. 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).
    2. MAC binary: click on bitcoin-sv2-tp-0.1.2-arm64-apple-darwin.tar.gz.
  2. Run the patched bitcoind with this command: ./bitcoind -sv2 -sv2port=8442 (you MUST use this port otherwise the proxy will not work).
      1. You can add other flags if you need them.
      2. The node will not enter a ready state for mining until any block is found on the network.
      3. Once you launch the node and the chain is synced, you'll need to wait for a new block before launching the proxy.
  3. Wait for the chain to sync.
  4. Download or build demand_all_in_one proxy from here.
    1. Click on Release (right hand side) to find the proxy.
    2. This is the proxy: demand_all_in_one_sv2-x86_64-linux-gnu and download.
    3. NOTE: only available for MAC and LINUX.
  5. Once downloaded, run or execute it with:
    1. ./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.
  6. Run it.
  7. 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.
  8. Congratulations miner! You are now helping to decentralize bitcoin mining via StratumV2 DEMAND.

Full Guide