Skip to content

van-tran/lotus-gpu-miner

 
 

Repository files navigation

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

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C 53.9%
  • Rust 46.1%