Step-by-step Guide for StratumV2 Solo mining on DEMAND
download (or build) patched bitcoind binaries from here
https://github.com/Sjors/bitcoin/releases/tag/sv2-tp-0.1.2⛏️⛏️After, click on bitcoin-sv2-tp-0.1.2-x86_64-linux-gnu.tar.gz to download the patched bitcoind that support StratumV2 (this is the Linux binary)
⛏️⛏️
https://github.com/Sjors/bitcoin/releases/download/sv2-tp-0.1.2/bitcoin-sv2-tp-0.1.2-arm64-apple-darwin.tar.gz (this is the MAC binary)
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.
⛏️⛏️⛏️Note: 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
https://github.com/demand-open-source/stratum/releases/tag/DEMAND⛏️⛏️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
⛏️⛏️Multiple miners are able to mine to one address
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 maintain bitcoin mining healthy and decentralized with StratumV2 DEMAND.
You may enter the command - - help for other options
You can skip all this and solo mine sv1 with this endpoint: mining.dmnd.work:1000
Thank you
DEMAND team