> ## Documentation Index
> Fetch the complete documentation index at: https://docs.qu.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# KawPoW Mining with HiveOS

> Install and run a GPU miner on HiveOS using a Flight Sheet.

## Introduction

Here, we'll be installing and running [SRBMiner-Multi](https://github.com/doktor83/SRBMiner-Multi) on [HiveOS](https://hiveon.com/os/) using a [Flight Sheet](https://hiveon.com/knowledge-base/guides/fs/). HiveOS also provides a web based dashboard for streamlined management and maintenance of your Quai Network GPU miner.

### Requirements

In order to run the quai-gpu-miner on HiveOS and mine valid blocks, you'll need the following:

<CardGroup cols={3}>
  <Card title="Synced go-quai node" href="/guides/client/node" icon="computer" />

  <Card title="Configured Stratum proxy" href="/guides/client/stratum" icon="router" />

  <Card title="HiveOS machine" icon="hive" />

  <Card title="NVIDIA or AMD GPU" icon="microchip" />

  <Card title="4GB+ of RAM" icon="usb-drive" />
</CardGroup>

## Environment Setup

### HiveOS

For this tutorial, you'll need a HiveOS machine. Instructions for how to install HiveOS on your rig and configure it can be found on the [HiveOS installation documentation](https://hiveon.com/install/).

### Dashboard

Once you've installed HiveOS, configure your GPU workers into a Farm. Once configured, you'll be able to manage workers from a [HiveOS dashboard](https://hiveon.com/knowledge-base/getting_started/start_dashboard_setup/) and utilize Flight Sheets.

## Installation

To start the Flight Sheet installation, open up your [HiveOS Farm Dashboard](https://the.hiveos.farm/).

<Steps>
  <Step title="Add Wallet">
    In the **farm menu**, click the *wallets* tab.

    <Frame>
      <img src="https://mintcdn.com/dominantstrategies/BvvhftC0HW11EtQX/images/FlightSheet/FS1.jpg?fit=max&auto=format&n=BvvhftC0HW11EtQX&q=85&s=bb36cc23dd1ebd4e3e4a59c30ec02da2" width="600" height="221" data-path="images/FlightSheet/FS1.jpg" />
    </Frame>

    On the right side of the page, click the *add wallet* button.

    <Frame>
      <img src="https://mintcdn.com/dominantstrategies/BvvhftC0HW11EtQX/images/FlightSheet/FS2.jpg?fit=max&auto=format&n=BvvhftC0HW11EtQX&q=85&s=aad945ee491daa4785fccede74dfa2f0" width="1326" height="740" data-path="images/FlightSheet/FS2.jpg" />
    </Frame>

    Fill in the wallet information:

    * For the **Coin** field, type `Quai` then click on the *Create Quai* option in the drop-down menu.
    * In the **Address** field, copy/paste your Quai wallet address. (This address is not used by the miner, so you can put any address here.)
    * For **Name** field, choose a name for your wallet.

    To finish creating the wallet, click "Create" in the bottom right corner.

    <Frame>
      <img src="https://mintcdn.com/dominantstrategies/BvvhftC0HW11EtQX/images/FlightSheet/FS3.jpg?fit=max&auto=format&n=BvvhftC0HW11EtQX&q=85&s=abfe8b2b47141833ddbe6624de8c479e" width="1232" height="1248" data-path="images/FlightSheet/FS3.jpg" />
    </Frame>
  </Step>

  <Step title="Add Flight Sheet">
    In the **farm menu**, click the flight sheets tab.

    <Frame>
      <img src="https://mintcdn.com/dominantstrategies/BvvhftC0HW11EtQX/images/FlightSheet/FS4.jpg?fit=max&auto=format&n=BvvhftC0HW11EtQX&q=85&s=e70b8ea6851cc5a630a9ef3afa821b29" width="952" height="426" data-path="images/FlightSheet/FS4.jpg" />
    </Frame>

    Click "add flight sheet". Fill out the flight sheet information:

    * For the Coin select `Quai`.
    * For the wallet select the wallet you configured above.
    * For pool select `Configure in miner`.
    * For the **Miner name**, select `SRBMiner-MULTI`.

    Next click `Setup Miner Config` right above where you selected `SRBMiner-MULTI`.

    <Frame>
      <img src="https://mintcdn.com/dominantstrategies/MOG6p_hpLGNv6qUq/images/FlightSheet/SelectSRBMiner.png?fit=max&auto=format&n=MOG6p_hpLGNv6qUq&q=85&s=f657c2ae23c9f197057e399f833b4a74" width="557" height="103" data-path="images/FlightSheet/SelectSRBMiner.png" />
    </Frame>

    Configure your SRBMiner.

    * Set the Hash algorithm to `kawpow`.
    * for the Wallet type `%WAL%.%WORKER_NAME%`.
    * For the **Pool URL**, type `stratum://EXTERNALIPADDRESS:PORT`. Replace EXTERNALIPADDRESS and PORT with your stratum ip address and port.

    <Frame>
      <img src="https://mintcdn.com/dominantstrategies/MOG6p_hpLGNv6qUq/images/FlightSheet/ConfigureSRBMiner.png?fit=max&auto=format&n=MOG6p_hpLGNv6qUq&q=85&s=46f468a94aa822d41cc071be0121c9f7" width="678" height="706" data-path="images/FlightSheet/ConfigureSRBMiner.png" />
    </Frame>

    On bottom right corner, click "Apply Changes".

    Once the miner is configured you should give your Flight Sheet a name and click `Create Flight Sheet`.

    <Frame>
      <img src="https://mintcdn.com/dominantstrategies/MOG6p_hpLGNv6qUq/images/FlightSheet/CreateFlightSheet.png?fit=max&auto=format&n=MOG6p_hpLGNv6qUq&q=85&s=5f4f5541789e06133abc0e7ca6a57023" width="395" height="109" data-path="images/FlightSheet/CreateFlightSheet.png" />
    </Frame>
  </Step>
</Steps>

## Launch The Flight Sheet

The steps to begin mining are:

* simply visit your worker's page on HiveOS.
* Navigate to the Flight Sheet tab.
* Launch the Flight Sheet you just created.

<Frame>
  <img src="https://mintcdn.com/dominantstrategies/MOG6p_hpLGNv6qUq/images/FlightSheet/LaunchFlightSheet.png?fit=max&auto=format&n=MOG6p_hpLGNv6qUq&q=85&s=3edb995695f655c837aa24df142a2356" width="531" height="90" data-path="images/FlightSheet/LaunchFlightSheet.png" />
</Frame>

It will take a few seconds for HiveOS to install and run the flightsheet on your worker machine. Once running, SRB Miner will run through an auto-tune process before it settles in and begins mining at optimal performance.

If you're logged into your HiveOS Worker you should see output similar to the following. If not, simply run the command `hive-console` to open the proper view.

<Frame>
  <img src="https://mintcdn.com/dominantstrategies/MOG6p_hpLGNv6qUq/images/FlightSheet/SRBMiner.png?fit=max&auto=format&n=MOG6p_hpLGNv6qUq&q=85&s=b68ce1e867501706ac9216cf8e4638a9" width="877" height="329" data-path="images/FlightSheet/SRBMiner.png" />
</Frame>

You are now mining Quai with your GPUs on the KawPoW algorithm using HiveOS and SRB Miner!
