Skip to content

Latest commit

 

History

History
41 lines (29 loc) · 1.44 KB

README.md

File metadata and controls

41 lines (29 loc) · 1.44 KB

Lotus GPU Miner

The Lotus GPU miner is a simple non-pool miner for the Lotus network. It uses OpenCL to mine Lotus blocks on your GPU.

Configuration

Configuration may be specified on the command line or via a toml file. The configuration file location by default is: ~/.lotus-miner/config.toml

The configuration file looks like the following:

mine_to_address = "bchtest:qqegajxrzx9juvg9fuu4cqvndz3u2yz6eg6jfudlvh"
rpc_url = "http://127.0.0.1:10605"
rpc_poll_interval = 3
rpc_user = "lotus"
rpc_password = "lotus"
gpu_index = 0
kernel_size = 23

See lotus-miner --help for a description of the parameters.

Build & Run

Windows

Assuming you are running the lotus daemon with server mode:

  1. Install OpenCL for your GPU. AMD or NVidia
  2. Install rust
  3. Build lotus-miner using cargo build
  4. Run the lotus miner with `./target/debug/lotus-miner.exe --rpc-user= --rpc-password= --mine-to-address=.

MacOS:

  1. Install rustup
  2. Install the rust toolchain using rustup.
  3. Build lotus-miner using cargo build
  4. Run the lotus miner with `./target/debug/lotus-miner --rpc-user= --rpc-password= --mine-to-address=.