# HiveOS Qubic+Quai Idle Mining Flight Sheet Tutorial

**1.  Edit wallet in HiveOS**

<figure><img src="https://173695165-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FhcaIJhxZbNgQ58zWSXWs%2Fuploads%2FkQQeF00hOi4GWQIrCiSR%2F5205c219db938e5c847b11a49405c14.png?alt=media&#x26;token=b7a274a2-99f6-4b7a-bef9-74d939c045f0" alt=""><figcaption></figcaption></figure>

#### 2. Add new flight sheet

* Configure Miner：Custom

<figure><img src="https://173695165-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FhcaIJhxZbNgQ58zWSXWs%2Fuploads%2FO28Mwoj6j1gaFHwi95TU%2Fimage.png?alt=media&#x26;token=ebdff911-81dc-465b-9763-94f77b370d5b" alt=""><figcaption></figcaption></figure>

**Qubic+Quai idle mining flight sheet**

<figure><img src="https://173695165-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FhcaIJhxZbNgQ58zWSXWs%2Fuploads%2FAlGtnRq2PsG7XEBdyB6G%2Fimage.png?alt=media&#x26;token=545cb49a-8fa9-4644-b4fa-0e5c591650dc" alt=""><figcaption></figcaption></figure>

* Setup Miner Config

Miner name：<mark style="color:red;">apoolminer\_hiveos\_qubic\_quai\_mining</mark>

'Installation URL'：<mark style="color:red;"><https://github.com/apool-io/ThirdMiner/releases/download/v3.5.0/apoolminer\\_hiveos\\_qubic\\_quai\\_mining-v3.5.0.tar.gz></mark>

Version number： <https://github.com/apool-io/ThirdMiner/releases>

'Wallet and worker template'：<mark style="color:red;">%WAL%</mark>&#x20;

'Pool URL'：qubic.asia.apool.io:4334

Extra Config Arguments：

```
-A qubic_quai
--cpu-off
--cpu-off-slave
--pool-slave quai.hk.apool.io:3335
--worker %WORKER_NAME%
```

#### 3. Check mining log

execute the following command

{% code overflow="wrap" %}

```
miner log
```

{% endcode %}

4. **Watch the Statistics and earn Qubic+Quai on Apool**

<https://www.apool.io/myMiner>

By following the above steps, you can smoothly integrate the Apool miner into HiveOS. Please ensure that you update the mining pool address and software version in a timely manner according to official announcements to maintain mining efficiency.

5. **Other parameters**

```
./apoolminer -h
Usage: apoolminer [OPTIONS]

Options:
  -A, --algo <ALGORITHM>               Specify algorithm, support qubic, qubic_xmr, xmr [default: qubic_xmr]
      --account <ACCOUNT>              Specify the main account
      --account-slave <ACCOUNT_SLAVE>  Specify the slave account, use main account if not set
      --worker <WORKER>                Specify the worker name. Note: The name consists of numbers and letters and cannot exceed 15 characters in length
      --pool <POOL>                    Specify the main pool server address
      --pool-slave <POOL_SLAVE>        Specify the slave pool server address
      --solo <SOLO>                    Specify the main solo server address
      --solo-slave <SOLO_SLAVE>        Specify the slave solo server address
  -g, --gpu <GPU>                      Specify the index of GPU. Specify multiple times to use multiple GPUs, example: -g 0 -g 1 -g 2
  -p, --parallel <PARALLEL>            Specify the number of parallel jobs per GPU [default: 0]
  -t, --thread <T>                     Specify the number of CPU thread [default: 0]
  -s, --thread-slave <T_SLAVE>         Specify the number of CPU slave thread [default: 0]
      --cpu-off                        Close main CPU mining
      --cpu-off-slave                  Close slave CPU mining
      --gpu-off                        Close GPU mining
      --gpu-off-slave                  Close slave GPU mining
  -m, --mode <MODE>                    Mining mode, 0 is normal mode, 1 is combined mode [default: 0]
      --xmr-1gb-pages                  Set 1GB hugepages for XMR dataset (Linux only)
      --no-cpu-affinity                Set no cpu affinity for XMR
  -o, --log <LOG>                      Specify the log file
      --local-time                     Use the local time for log message timestamps
      --vf                             More information about version
      --rest                           Enable REST server
      --port <PORT>                    Specify the port for the REST server [default: 5001]
  -h, --help                           Print help
  -V, --version                        Print version
```
