xMiner

command module
v0.1.15-beta Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 10, 2024 License: GPL-3.0 Imports: 11 Imported by: 0

README

xMiner

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

The OpenCL kernel code originates from xmr-stak.

Performance Testing

./xMiner -mock -all

Show OpenCL devices informations

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

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL