BTCW Explorer
BlocksTxnsRich ListWhalesMinersAnalyticsBridgeWalletDownloadCalculator
30s

โ˜• Buy the dev a coffee 1Gsbx8NnBfDSQ3Ps8KPtU5XksC8FQvQUUQยทadmin@btcw.space

โš’

BTCW OpenCL GPU Miner

High-performance OpenCL GPU miner for Bitcoin-PoW (BTCW). Works with both NVIDIA and AMD GPUs on Windows and Linux.

v1.0.2OpenCL

BTCW OpenCL GPU Miner

v1.0.2

Pre-built binaries for solo and pool GPU mining. Works with NVIDIA & AMD GPUs.

Windows

win64 .zip

macOS

arm64 Apple Silicon .tar.gz

Linux

x86_64 .tar.gz

Release notes|Source code on GitHub

Bitcoin-PoW Full Node Wallet

v26.6.1

Required to mine. Run the QT wallet on the same machine as the GPU miner.

Windows

win64 .zip

macOS

arm64 Apple Silicon .zip

Linux

x86_64 .tar.gz

Release notes|Source code on GitHub|Includes: bitcoinpow-qt, bitcoinpowd, bitcoinpow-cli

Get Notified of New Releases

Sign up to receive notifications when new miner versions are released.

1 miner has signed up!

GPU Compatibility

๐ŸŸข

NVIDIA

CUDA OpenCL runtime

Fully Supported

๐ŸŸข

AMD

ROCm / AMDGPU-PRO OpenCL

Fully Supported

This miner uses OpenCL, the cross-platform GPU compute standard. Unlike CUDA-only miners, it runs on any GPU that provides an OpenCL driver.

Quick Start (Pre-built Windows Binary)

1. Download the latest release

Download BTCW_OPENCL_MINER_v1.0.2_win64.zip and extract it to a folder.

2. Start your BTCW node

bitcoin-pow-qt.exe

3. Create a UTXO

Open Window โ†’ Console in the node and type:

generate

4. Start the miner

Wait for the node to begin mining, then:

cd x64\Release
BTCW_OPENCL_MINER.exe 1

The 1 selects GPU device #1. Use 2, 3, etc. for additional GPUs.

Multi-GPU Mining

Run one instance per GPU in separate terminals:

BTCW_OPENCL_MINER.exe 1
BTCW_OPENCL_MINER.exe 2
BTCW_OPENCL_MINER.exe 3

Example Output

Mining Active
BTCW.SPACE OpenCL GPU Miner v1.0.2

Hash found - NONCE: 0707070707070707
Hash no sig low64: 6bfb0091a42a80d9

CONNECTED TO BTCW NODE WALLET

=================================
Device: NVIDIA GeForce RTX 4080 SUPER
---------------------------------
Hashrate: 18415616.000000 H/s
Power: 245 W | Temp: 62 C | Fan: 55%
=================================
Not Connected
Hash no sig low64: 0000000000000000

!!! NOT CONNECTED TO BTCW NODE !!!

Make sure your wallet has
at least 1 utxo.

Building from Source

Windows

Prerequisites: Visual Studio 2022 Build Tools, OpenCL SDK (CUDA Toolkit / AMD APP SDK), PDCurses

Build PDCurses first:

git clone https://github.com/wmcbrine/PDCurses.git C:\PDCurses
cd C:\PDCurses\wincon
nmake -f Makefile.vc clean
nmake -f Makefile.vc

Build the miner:

Open an x64 Native Tools Command Prompt for VS 2022, then:

cd path\to\opencl-btcw-miner
build.bat

Edit build.bat to adjust CUDA_PATH and PDCURSES_PATH for your system.

Linux

Prerequisites:

sudo apt install build-essential ocl-icd-opencl-dev

For NVIDIA:

sudo apt install nvidia-driver-560-server nvidia-opencl-icd

For AMD: Install ROCm or AMDGPU-PRO driver with OpenCL support.

Build & Run:

chmod +x build_linux.sh
./build_linux.sh
cd release
./btcw_opencl_miner 1

Usage

BTCW_OPENCL_MINER.exe <gpu_number> [work_size]
ArgumentDescription
gpu_number1-based GPU index (required)
work_sizeManual global work size override (optional, auto-tuned by default)

Project Structure

opencl-btcw-miner/
โ”œโ”€โ”€ opencl_miner.cpp          # Windows host code (PDCurses UI)
โ”œโ”€โ”€ opencl_miner_linux.cpp    # Linux host code (headless stdout)
โ”œโ”€โ”€ mining_kernel.cl           # Main OpenCL mining kernel
โ”œโ”€โ”€ kernels/
โ”‚   โ”œโ”€โ”€ secp256k1_field.cl     # secp256k1 field arithmetic
โ”‚   โ””โ”€โ”€ secp256k1_point.cl     # secp256k1 point operations
โ”œโ”€โ”€ ecmult_gen_table.bin       # Pre-computed EC multiplication table
โ”œโ”€โ”€ extract_table.py           # Table generation utility
โ”œโ”€โ”€ build.bat                  # Windows build script
โ”œโ”€โ”€ build_linux.sh             # Linux build script
โ””โ”€โ”€ x64/Release/               # Pre-built Windows binary
    โ”œโ”€โ”€ BTCW_OPENCL_MINER.exe
    โ””โ”€โ”€ kernels/

Important Notes

โš 

Do NOT start the miner before the node has begun mining. Run generate in the node console first.

โš 

Only run one BTCW node per machine when using this miner. Multiple nodes sharing the same shared memory will cause nonce conflicts.

โš 

The miner communicates with the node via shared memory (IPC). The node must be running on the same machine.

โš 

Kernel files (.cl) are compiled by the OpenCL runtime on first launch and cached in kernel_cache.bin. Delete the cache if you update kernel files.

Copyright ยฉ 2026 btcw.space. All rights reserved.