Open source xehash miner in Go (forked from xMiner) with stratum-jsonrpc2.0-ws protocol.
The OpenCL kernel code originates from xmr-stak.
You can download the pre-built binaries from our Releases page. Choose the appropriate version for your operating system.
./xeMiner -mock -all
./xeMiner -info -all
This will display all available OpenCL devices with their indices:
Available OpenCL devices:
[1] NVIDIA GeForce RTX 3080 (Vendor: NVIDIA Corporation)
[2] AMD Radeon RX 6800 (Vendor: Advanced Micro Devices)
...
You can choose specific devices to mine with using the -devices
or -d
flag:
# Use specific devices (e.g., devices 1 and 3)
./xeMiner -devices "1,3"
# or use the short option
./xeMiner -d 1,3
# Use all available devices (default behavior)
./xeMiner
Run a xeChain client with mining feature enabled
./xe -ws -mine -miner.etherbase=0x123...fff
Replace 0x123...fff with your own address.
Run the miner
./xeMiner
The default pool address is ws://127.0.0.1:8546.
./xeMiner -user=username -pass=password -pool=wss://pool-address.com:port
Replace user, pass, pool
with your actual values provided by the mining pool.
Requirements
linux
sudo apt install ocl-icd-opencl-dev opencl-headers
Clone the repository and build the miner
git clone https://github.com/XeChain/xeMiner
cd xeMiner
go build .