A guide on mining the RandomX coin DragonX, a HUSH Smart Chain.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

48 lines
1.5 KiB

2 years ago
# How To Mine DragonX
2 years ago
2 years ago
A guide to mining the RandomX coin DragonX, a HUSH Smart Chain.
![DragonX](img/graphic_hero_dragonx.png)
</br>
</br>
## 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.*
</br>
</br>
# 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
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:
```
./hush-cli -ac_name=DRAGONX setgenerate true $(nproc) &
```
## 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!