xMiner
Open source fphash miner in Go with stratum-jsonrpc2.0-ws protocol.
The OpenCL kernel code originates from xmr-stak.
./xMiner -mock -all
./xMiner -info -all
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 .