# How To Use

## Linux

**Breaking News**: We have launched the avx512 version, which improves the performance of AMD Zen4 by more than 50%, and the performance of the newer Intel (not 6138) that supports avx512 by more than 20%. If you want to use it, use start-avx512.sh to start, and change the ore-mine-pool-linux mentioned later to ore-mine-pool-linux-avx512

1. Download

```
git clone https://github.com/xintai6660707/ore-mine-pool.git
```

2. Add execute permission

```
cd ore-mine-pool
chmod +x start.sh
chmod +x ore-mine-pool-linux
```

3. Modify wallet address

```
Modify the worker-wallet-address in start.sh to your wallet address.
If there is no ORE to your wallet account, purchase a little
```

```
We have supported simultaneous COAL mining,make sure your payment wallet with COAL 
accounts E3yUqBNTZxV8ELvW99oRLC7z4ddbJqqR4NphwrMug9zu (address), if there is no COAL 
to your wallet account, purchase a little. will automatically start receiving COAL 
rewards at the same time
```

4. Modify  machine name

```
The default machine name is your hostname. 
Add the parameter --alias your_new_name to the end of 
start.sh ./ore-mine-pool-linux worker to modify the machine name.
```

5. Start running

```
Start the worker in the background:
nohup ./start.sh > start.log 2>&1 & 

View logs:
tail -f  worker.log

Close the worker:
pkill -f start.sh
pkill -f ore-mine-pool
```

6. Check the online status of the machine

```
http://mine.oreminepool.top:8080/wallet_stats/your_wallet_address
https://oreminepool.top/worker_stats/your_wallet_address
```

7. Monitor transfer records

```
Monitor all program record use:
./ore-mine-pool-linux  monitor   --rpc-ws-url  wss://xxxxxx

The address you want to monitor, by default, monitors all transactions throughout the program. You can fill in your wallet address to monitor only your wallet
./ore-mine-pool-linux  monitor   --rpc-ws-url  wss://xxxxxx --monitor-address  your-wallet-address

Save record as csv ,for excel analysis:
./ore-mine-pool-linux  monitor   --rpc-ws-url  wss://xxxxxx   --csv_mode
```

## Windows

1. Download

```
git clone https://github.com/xintai6660707/ore-mine-pool.git
```

2. Modify wallet address

```
Modify the worker-wallet-address in start_windows.bat to your wallet address 
If there is no ORE to your wallet account, purchase a little.

We have supported simultaneous COAL mining,make sure your payment wallet with COAL 
accounts E3yUqBNTZxV8ELvW99oRLC7z4ddbJqqR4NphwrMug9zu (address), if there is no COAL 
to your wallet account, purchase a little. will automatically start receiving COAL 
rewards at the same time
```

3. Run worker

```
Double click start_windows.bat
```

## HiveOS

1. New Wallet

<div align="left"><figure><img src="/files/P5X57Bwu761mh2xE4SGI" alt=""><figcaption></figcaption></figure></div>

2. Fill wallet address

<div align="left"><figure><img src="/files/XlJIRlSpKvYBZ1oKaF9z" alt=""><figcaption></figcaption></figure></div>

3. Add New Flight Sheet

<div align="left"><figure><img src="/files/0CGXTCYxvLaLkSRPsSmH" alt=""><figcaption></figcaption></figure></div>

4. Setup Miner Config

```
Miner name: 
OreMinePoolWorker_hiveos

Installation URL: 
https://github.com/xintai6660707/ore-mine-pool/raw/main/OreMinePoolWorker_hiveos-latest.tar.gz

Wallet and worker template: 
%WAL%

Pool URL: 
http://mine.oreminepool.top:8080/

Extra Config Arguments:(If your CPU supports avx512, please add a line at the end --avx512)
AutoUpdate
```

<div align="left"><figure><img src="/files/lmjh6d82b9srA2cS2rxp" alt=""><figcaption></figcaption></figure></div>

5. Check mining log

```
tail -f /var/log/miner/custom/custom.log
```

## Check rewards

1. Open <https://solscan.io/account/> + your wallet address
2. Click to switch to your own wallet ore account

## Check online status&#x20;

<https://oreminepool.top/worker_stats>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://minership.gitbook.io/ore-mine-pool-tutorial/how-to-use.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
