@echo off
title DankMiner v1.4.0 - DUAL: CapStash (GPU) + XMR (CPU)
echo ======================================================
echo   DankMiner v1.4.0 - DUAL MINING
echo   CapStash on GPU(s) + XMR / Monero on CPU
echo   One process, one screen, both algos visible.
echo ======================================================
echo.
echo   Edit this file:
echo     - YOUR_CAP_ADDRESS  - your CapStash wallet
echo     - YOUR_XMR_ADDRESS  - your XMR wallet
echo     - --xmr-threads N   - CPU threads for XMR (rule of thumb: physical cores - 1)
echo.
echo   Notes:
echo     - GPU mines CapStash (primary, owns the dashboard)
echo     - CPU mines XMR / RandomX (secondary, prefixed [XMR] in console)
echo     - --xmr-pool accepts ANY rx/0 stratum URL — not Monero-locked.
echo       Works with Monero, Zephyr, Salvium, Townforge, and any other
echo       coin using standard rx/0. (Variants like Wownero rx/wow or
echo       ArQmA rx/arq use non-default RandomX params — NOT supported.)
echo     - Both have their own 2%% dev fee on independent schedules
echo     - HTTP dashboard at http://localhost:4068 shows both
echo     - For low-RAM rigs uncomment the DANKMINER_XMR_LIGHT line below
echo       (256 MiB RAM but ~10x slower XMR hashrate)
echo.

REM Optional: light mode for the XMR side (256 MiB instead of 2080 MiB)
REM set DANKMINER_XMR_LIGHT=1

dankminer.exe ^
    -a capstash ^
    -w YOUR_CAP_ADDRESS ^
    -p stratum+tcp://1miner.net:3691 ^
    --worker rig1 ^
    --xmr-wallet YOUR_XMR_ADDRESS ^
    --xmr-pool   stratum+tcp://1miner.net:3333 ^
    --xmr-threads 12

pause
