# 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="https://3660074928-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fac24jAkhTksug6F3ztWL%2Fuploads%2FTcWskTxV38xNET8V579t%2FNew%20Wallet.png?alt=media&#x26;token=75fe7bb2-8513-4a5d-971b-de76f7a9a4ee" alt=""><figcaption></figcaption></figure></div>

2. Fill wallet address

<div align="left"><figure><img src="https://3660074928-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fac24jAkhTksug6F3ztWL%2Fuploads%2FXw6xSqUv74yQQ4Wn3dL6%2FFill%20Wallet%20Address.png?alt=media&#x26;token=f0178d4b-cbb0-4018-871c-e0566a064777" alt=""><figcaption></figcaption></figure></div>

3. Add New Flight Sheet

<div align="left"><figure><img src="https://3660074928-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fac24jAkhTksug6F3ztWL%2Fuploads%2FwO2VCAzzpCOYckirGp3u%2FNew%20Flight%20Sheet.png?alt=media&#x26;token=d16b2d30-f42a-4cc2-95f9-bf4494c640a9" 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="https://3660074928-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fac24jAkhTksug6F3ztWL%2Fuploads%2Fw1svAaIEZizdim9R4uwz%2Ffs1.png?alt=media&#x26;token=76d28c58-645f-4616-b467-dffbbe7f7187" 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>
