Browse Source

added mor einfo

master
dan_s 2 years ago
parent
commit
cab2e0f120
  1. 49
      README.md

49
README.md

@ -8,22 +8,21 @@ A guide to mining the RandomX coin DragonX, a HUSH Smart Chain.
</br>
</br>
## Install HUSH
# Install HUSH
Look at [this guide](https://git.hush.is/hush/hush3/src/branch/master/INSTALL.md) if you <u>have not</u> already installed HUSH on the machine you intend to mine on.
###### *`Note:` If running `Windows` head over to the [releases page](https://git.hush.is/hush/hush3/releases) and download the latest Windows version.*
###### *`Note:` If running <u>Windows</u> head over to the [releases page](https://git.hush.is/hush/hush3/releases) and download the latest Windows version. I would recommend installing [Windows Terminal](https://github.com/microsoft/terminal) to make it easier to access and execute commands with windows powershell*
</br>
</br>
# HUSH Smart Chain (HSC) Setup
# Linux - HUSH Smart Chain (HSC) Setup
After installing HUSH open a terminal in `~/hush3/src`
###### *`Note:` installation path may be different depending on if installed as `root` or `normal` user, look for the `hush3` directory in either the `root` or `home` directory.*
###### *`Note:` If on `Windows` omit the `&` in the folowing commands.*
</br>
## Start the HSC
### Start the HSC
Input the following command in your terminal:
```
./hush-smart-chain -ac_name=DRAGONX -ac_algo=randomx -ac_halving=3500000 -ac_reward=300000000 -ac_blocktime=36 -ac_private=1 -addnode=176.126.87.241 &
@ -32,7 +31,7 @@ Input the following command in your terminal:
</br>
## Enable Mining
### Enable Mining
once the HSC is running all that is left to do is enable mining with this command:
@ -40,9 +39,43 @@ once the HSC is running all that is left to do is enable mining with this comman
./hush-cli -ac_name=DRAGONX setgenerate true $(nproc) &
```
## Verify Mining
### Verify Mining
To make sure you are actually connected to the network and mining input the following command:
```
./hush-cli -ac_name=DRAGONX getinfo | grep connections
```
- If it returns `"connection": 1` you are connected and mining!
- If it returns `"connection": 1` you are connected and mining.
</br>
</br>
# Windows - HUSH Smart Chain (HSC) Setup
After downloading the latest build of HUSH, unzip then navigate to the hush folder (ex: hush-3.9.2-win). Right click, `Open in Terminal` or type `powershell` in the address bar of windows explorer if windows terminal is not installed.
</br>
### Start the HSC
Input the following command in your terminal:
```
./hush-smart-chain -ac_name="DRAGONX" -ac_algo="randomx" -ac_halving="3500000" -ac_reward="300000000" -ac_blocktime="36" -ac_private="1" -addnode="176.126.87.241"
```
###### *`Note:` Make sure to input this command <u>exactly</u>, otherwise your node may not be able to connect!*
</br>
### Enable Mining
once the HSC is running all that is left to do is enable mining with this command, open another instance of terminal or powershell:
```
./hush-cli -ac_name="DRAGONX" setgenerate true
```
</br>
### Verify Mining
To make sure you are actually connected to the network and mining input the following command:
```
./hush-cli -ac_name="DRAGONX" getinfo | grep connections
```
- If it returns `"connection": 1` you are connected and mining.
Loading…
Cancel
Save