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

# HiveOS Mining to a DePool

> Install and run a Quai GPU Miner to a DePool using HiveOS.

## Introduction

Here, we'll be installing [quai-gpu-miner](https://github.com/dominant-strategies/quai-gpu-miner), the implementation of a Quai Network ProgPOW miner. This tutorial focuses on installing and running quai-gpu-miner 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 mine to a DePool you will need the following requirements. If you don't know a DePool to connect to, you can run your own and earn fees when others use it!

<CardGroup cols={3}>
  <Card title="URL of a node operating a DePool" href="/guides/client/dePool" icon="computer" />

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

### DePool Parameters

You will need to specify the following information to indicate your preferences to the DePool.

* **zone**: This is the IP address and port of the DePool you wish to connect to.
* **quaiCoinbase**: This is the coinbase address you want to mine to for Quai rewards.
* **qiCoinbase**: This is the coinbase address you want to mine to for Qi rewards.
* **minerPreference**: This is the relative preference between Quai and Qi from 0 to 1.
* **lockupByte**: This is the lockup duration you would like to mine for. Longer lockups receive higher yield.

## 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 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 **Miner name**, leave it .
    * For the **Installation URL**, paste in the URL for your card type:

    <Tabs>
      <Tab title="NVIDIA Cards">
        ```
        https://storage.googleapis.com/quai-gpu-miner/go-quai-stratum-miner-nvidia-v0.8.0.tar.gz
        ```
      </Tab>

      <Tab title="AMD Cards">
        AMD flight sheet will be coming soon! Let us know you need it in the discord.
      </Tab>
    </Tabs>

    * For the **Hash algorithm**, it should autopopulate as `quai-progpow`.
    * For the **Wallet and worker template**, type `%WAL%.%WORKER_NAME%`.
    * For the **Pool URL**, type `stratum://EXTERNALIPADDRESS:PORT`.

    For the **Extra config arguments**, you will enter the parameters you defined earlier. For example:

    <Tabs>
      <Tab title="NVIDIA Cards">
        ```
        --zone=ws://127.0.0.1:8200 --quaiCoinbase="0x0000000000000000000000000000000000000001" --qiCoinbase="0x0080000000000000000000000000000000000001" --minerPreference=0.5
        ```
      </Tab>

      <Tab title="AMD Cards">
        AMD flight sheet will be coming soon! Let us know you need it in the discord.
      </Tab>
    </Tabs>

    On bottom right corner, click "Apply Changes".

    <Frame>
      <img src="https://mintcdn.com/dominantstrategies/BvvhftC0HW11EtQX/images/FlightSheet/depool-flightsheet.png?fit=max&auto=format&n=BvvhftC0HW11EtQX&q=85&s=5f9391f7b5132434e68938b9622a21f4" width="687" height="802" data-path="images/FlightSheet/depool-flightsheet.png" />
    </Frame>
  </Step>
</Steps>
