====================================================================
  WelshDAG Miner for Windows
  Mine BDAG on an ordinary Windows PC. No command line, no WSL.
====================================================================

HOW TO INSTALL

  1. Unzip this folder anywhere (your Downloads folder is fine).
  2. Double-click            Install WelshDAG Miner.bat
  3. Follow the six steps. It takes about a minute.

  Windows may show a blue "Windows protected your PC" box the first
  time. Click "More info", then "Run anyway". That box appears for
  any program that has not paid for a code-signing certificate.


WHAT YOU NEED

  * Windows 10 or Windows 11
  * A BDAG wallet address (starts with 0x, 42 characters long)
  * An internet connection

  Nothing else. No Python, no compilers, no WSL. Everything runs
  from PowerShell, which is already part of Windows.


WHAT IT INSTALLS

  Everything goes in one folder inside your own user profile:

      %LOCALAPPDATA%\WelshDAG Miner

  Nothing is written to Program Files, no service is installed, and
  no system settings are changed except one optional item: if you
  leave the "Tell Windows Security" box ticked, Setup adds that one
  folder to the Windows Defender exclusion list. Mining programs
  trip antivirus heuristics, and without the exclusion Defender will
  usually delete the miner. Real-time protection itself is never
  touched.

  Shortcuts are created in the Start menu (and on your desktop if
  you asked for one).


USING IT

  Open "WelshDAG Miner" from the Start menu. The control panel has:

    Mining        Start/stop button, live hashrate, accepted shares,
                  a hashrate graph and your pool connection details.
    Settings      Wallet, pool, worker name, CPU threads, and the
                  "start when I sign in" option. Saving while mining
                  restarts the miner with the new settings.
    Activity log  What the miner is actually saying.
    Help          Plain-English answers to the usual questions.

  Closing the window keeps mining in the background - look for the
  icon in the system tray by the clock. To stop, use the Stop button
  or right-click the tray icon and choose Quit.


HOW YOU GET PAID

  Rewards are credited on-chain to the wallet address you entered.
  They come from the pool, not from this program, so you can watch
  them arrive at:

      https://mining.welshdag.co.uk/

  Default pool: pool.welshdag.trade:3334
  The wizard can also point you at excalibur.dagtech.network:3335 or
  any other stratum pool you type in.


CPU AND GPU

  This package can mine with your processor AND your graphics card.

  The GPU miner is universal: it uses OpenCL, so it runs on NVIDIA,
  AMD and Intel graphics using the graphics driver you already have -
  there is no CUDA install, no SDK and no extra download. Setup
  detects your card and, if found, ticks "Also mine with the graphics
  card" for you. Leave it ticked to mine with both.

  On the control panel the status line then reads "CPU + GPU" and
  shows your card's name once it connects. Your graphics-card shares
  are reported to the pool under a worker name ending in "-gpu", so
  you can tell the two apart on the pool page.

  Mining with the GPU makes the card run hot and draws more power,
  the same as any GPU workload. You can switch back to processor-only
  by re-running Setup.


REMOVING IT

  Start menu > WelshDAG > Uninstall WelshDAG Miner.
  It stops mining, removes the shortcuts, and deletes the folder.
  You can tick a box to keep your settings for a future reinstall.


TROUBLESHOOTING

  "The miner disappeared after installing"
      Windows Security removed it. Re-run Setup and accept the
      administrator prompt on the exclusion step.

  "Nothing happens when I press Start"
      Check the Activity log tab, then press "Test pool" on the
      Settings tab. That does a real stratum handshake and tells you
      exactly what went wrong.

  "My PC is slow while mining"
      Lower the CPU threads on the Settings tab and press Save.

  "The graphics card is not mining"
      Check the Activity log for lines starting [GPU]. If it says no
      OpenCL loader or no device was found, update your graphics driver
      (NVIDIA/AMD/Intel) - the driver provides the OpenCL support the
      miner needs. The miner falls back to processor-only if the GPU
      cannot start, so mining still runs.

  "Windows Script Host is disabled"
      Setup falls back to running PowerShell directly - you will see
      a console window flash, which is harmless.


WHAT THIS IS BUILT ON

  The miner itself is dagtech-miner by DagTech Ltd:
  https://github.com/Dagtechltd/dagtech-miner

  This package adds a graphical installer and control panel around
  it. The config file it writes (config.env) uses the same keys as
  the upstream DagTech scripts, so the two are interchangeable.
