Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
3 contributors

Users who have contributed to this file

@guilhermelawless @bbedward @barneybanano
57 lines (42 sloc) 2.08 KB

BoomPow Client

These steps will guide you on how to setup a new work client. The nano-work-server provided is based on nanocurrency/nano-work-server. Only this work server is fully supported.

Setup

Requirements

  1. Python 3.6.7 or higher.

Installation

  • Download the latest version and extract it.
  • On Linux, open a terminal and cd to the bpow-client directory.
  • On Windows, shift + right-click in the bpow-client directory and click "Open Powershell window here".
  • On MacOS, in Finder right click on the bpow-client directory and click "New Terminal at bpow-client"
  • pip3 install --user -r requirements.txt

Running

You need to find out what your GPU vendor/device numbers are if you're going to be using a GPU. Usually it will be either 0:0, 0:1, or 1:0, depending on how many you have (including integrated graphics).

Linux

  1. Install required library
sudo apt install ocl-icd-libopencl1
  1. Check ./bin/linux/nano-work-server --help for information on how to select your GPU (or CPU).
  2. Run the work server:
./bin/linux/nano-work-server --gpu 0:0 -l 127.0.0.1:7000
  1. Check the client configuration options with python3 bpow_client.py --help
  2. Run the client:
python3 bpow_client.py --payout YOUR_BANANO_ADDRESS --work {ondemand,precache,any}

Windows

  1. Edit the file run_windows.bat with your desired configuration (including the work-server GPU config).
  2. Double-click the same file, which should eventually open two terminals. You must leave them running in the foreground. You can minimize but not close them (sorry!).

MacOS

  1. Check ./bin/macos/nano-work-server --help for information on how to select your GPU (or CPU).
  2. Run the work server:
    ./bin/macos/nano-work-server --gpu 0:0 -l 127.0.0.1:7000
  3. Press ⌘+T to open a new tab
  4. Run the client:
    python3 bpow_client.py --payout YOUR_BANANO_ADDRESS --work {ondemand,precache,any}
You can’t perform that action at this time.