Skip to content

CyberChainXyz/xMiner

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

46 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

xMiner

Open source fphash miner in Go with stratum-jsonrpc2.0-ws protocol.

The OpenCL kernel code originates from xmr-stak.

Download

You can download the pre-built binaries from our GitHub Releases page. Choose the appropriate version for your operating system.

Mining Tutorials

Check our Mining Discussion Forum for detailed tutorials on:

  • Windows Solo Mining
  • HiveOS Mining Setup
  • And more mining guides

Performance Testing

./xMiner -mock -all

Show OpenCL devices informations

./xMiner -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)
...

Device Selection

You can choose specific devices to mine with using the -devices or -d flag:

# Use specific devices (e.g., devices 1 and 3)
./xMiner -devices "1,3"
# or use the short option
./xMiner -d 1,3

# Use all available devices (default behavior)
./xMiner

Solo mining

Run a CyberChain client with mining feature enabled

./ccx -ws -mine -miner.etherbase=0x123...fff

Replace 0x123...fff with your own address.

Run the miner

./xMiner

The default pool address is ws://127.0.0.1:8546.

Pool Mining

./xMiner -user=username -pass=password -pool=wss://pool-address.com:port

Replace user, pass, pool with your actual values provided by the mining pool.

Compile from source

Requirements

linux

sudo apt install ocl-icd-opencl-dev opencl-headers

Clone the repository and build the miner

git clone https://github.com/CyberChainXyz/xMiner
cd xMiner
go build .