# Quai - HiveOS

Please read the mining tutorial carefully and follow the steps to connect the mining machine to the mining pool.

{% hint style="info" %}
Please stay updated with [<mark style="color:blue;">**OULA's official website**</mark>](https://oula.network/en) announcements and use the latest version of the software client for optimal technical service and higher Token output.
{% endhint %}

### **Environment Setup**

* Download and install the latest version of [Hive OS Image](https://hiveon.com/install/).&#x20;

  * Image Version: <mark style="color:yellow;">HiveOS-0.6-227-stable</mark>&#x20;
  * Distro Base: <mark style="color:yellow;">Ubuntu 20.04.6 LTS</mark>
  * Nvidia driver: <mark style="color:yellow;">v535.171.04</mark>

  <figure><img src="https://1370070924-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FjnhAO24gqsOpxhCmo39i%2Fuploads%2Fvw4uT4tVmHl7MMlI2pSS%2Fimage.png?alt=media&#x26;token=66216a39-b584-4072-9318-e068704806c2" alt=""><figcaption></figcaption></figure>

{% hint style="danger" %}
**Note:** Do not use the firmware online upgrade feature. Please reinstall the new firmware and ensure that the system version is Ubuntu 20.04.
{% endhint %}

{% hint style="info" %}
If you encounter any issues during the setup or use of HiveOS, or if you have other configuration-related questions, we recommend checking out the [HiveOS Official Guide](https://hiveon.com/knowledge-base/guides/) for detailed instructions and support. The guide covers solutions for both beginners and advanced users, helping you manage your mining environment more effectively. 📘
{% endhint %}

### **Account Setup**

* Register for an [**Oula Account**](https://oula.network/en/register) and setup the [**Sub-Account**](https://oula.network/en/pool/manager?tab=subAccount).
* Use a sub-account name <mark style="color:red;">without special characters</mark> as the wallet address.

{% hint style="warning" %}
**Sub-account and miner names can be customized but must be globally unique!**&#x20;

**It ony supports 2-15 lowercase letters, numbers, or a combination.**
{% endhint %}

### &#x20;Wallet Creation

* Go to the "<mark style="color:blue;">**Wallet**</mark>" tab and click the "<mark style="color:blue;">**Add Wallet**</mark>" button.

<figure><img src="https://1370070924-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FjnhAO24gqsOpxhCmo39i%2Fuploads%2Fwy3KtcMNnxQbN8hhQkyj%2Fimage.png?alt=media&#x26;token=2fef818d-2d9d-47c7-a097-1d2f673a1e93" alt=""><figcaption></figcaption></figure>

* Set the corresponding parameters.

  * Coin `QUAI`
  * Address [`Created Oula Sub-Account Name`](https://oula.network/en/pool/manager?tab=subAccount)
  * Name `oula-quai-miner`

  <figure><img src="https://1370070924-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FjnhAO24gqsOpxhCmo39i%2Fuploads%2FnEe6CepjZnKsRYBMI3E4%2Fimage.png?alt=media&#x26;token=02753023-897c-493b-9de9-5b5751394324" alt=""><figcaption></figcaption></figure>
* Click the "Create" button.

### Flight Sheet Creation

* Go to the "<mark style="color:blue;">**Flight Sheet**</mark>" tab and click the "<mark style="color:blue;">**Add Flight Sheet**</mark>" button.

<figure><img src="https://1370070924-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FjnhAO24gqsOpxhCmo39i%2Fuploads%2F6RKvl0WDU64EwY1VUZe4%2Fimage.png?alt=media&#x26;token=c3f1575e-57f7-4b30-b75d-36bf32a6e85b" alt=""><figcaption></figcaption></figure>

* Set the corresponding parameters.

  * Coin `QUAI`
  * Wallet `oula-quai-miner`
  * Pool `Configure in miner`
  * Miner `Custom`
  * Name `oulapool`

  <figure><img src="https://1370070924-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FjnhAO24gqsOpxhCmo39i%2Fuploads%2Fl681nvKTfxn6v5E3jsqZ%2Fimage.png?alt=media&#x26;token=80aeefbc-1a1c-461f-be4c-eb543c308150" alt=""><figcaption></figcaption></figure>
* Click the "<mark style="color:blue;">**Setup Miner Config**</mark>" button, enter the following parameters and Click the "<mark style="color:blue;">**Apply Changes**</mark>" button to save the configurations.

  * Miner Name: <mark style="color:red;">**`oula-gpu-miner`**</mark>
  * Installation URL: [`https://oula-pool.oss-ap-southeast-1.aliyuncs.com/quai/Hiveos/oula-gpu-miner-vX.Y.Z.tar.gz`](https://oula-pool.oss-ap-southeast-1.aliyuncs.com/quai/Hiveos/oula-gpu-miner-v0.5.0.0.tar.gz)

    (Update the link address according to [the latest version number](https://app.gitbook.com/s/yseWjqJcypCcEst0oC22/), e.g., v1.0.0.0)
  * Hash algorithm: `progpow-quai`
  * Wallet and worker template: `%WAL%.%WORKER_NAME%`
  * Pool URL: <mark style="color:red;">**`stratums://quai.oula.network:3333`**</mark>&#x20;

  <figure><img src="https://1370070924-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FjnhAO24gqsOpxhCmo39i%2Fuploads%2FTgLWDyRSq4vMI2f8p7gw%2Fimage.png?alt=media&#x26;token=d2430f36-e21b-4e14-ac81-9569f8211f1a" alt=""><figcaption></figcaption></figure>
* Click the "Create Flight Sheet" button to complete the flight sheet setup.
* Apply the added miners to the created flight sheet.

{% hint style="success" %}
If you see relevant messages in <mark style="color:red;">`miner.log`</mark>, the program has started successfully.
{% endhint %}

<figure><img src="https://1370070924-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FjnhAO24gqsOpxhCmo39i%2Fuploads%2FGd8GPpZbX4pN2YCyn8kN%2Fimage.png?alt=media&#x26;token=d65650c9-7161-4768-a9e6-3db9165129ba" alt=""><figcaption></figcaption></figure>

### **Monitoring and Yield Viewing**

Once your mining machine is running stably and submitting solutions, you can check the worker's operational status, output details and payment details under [**Worker**](https://oula.network/en/pool/manager?tab=miner) and [**Output / Payout**](https://oula.network/en/pool/manager?tab=output) by switching to the corresponding sub-account.

[**Back to Oula**](https://oula.network/en/login)
