diff --git a/README.md b/README.md index d80c896..1bf8642 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,48 @@ -# how-to-mine-dragonx +# How To Mine DragonX -A guide on mining the RandomX coin DragonX, a HUSH Smart Chain. \ No newline at end of file +A guide to mining the RandomX coin DragonX, a HUSH Smart Chain. + +![DragonX](img/graphic_hero_dragonx.png) + + +
+
+ +## Install HUSH +Look at [this guide](https://git.hush.is/hush/hush3/src/branch/master/INSTALL.md) if you have not 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.* + + +
+
+ +# 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.* + +
+ +## 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 exactly, otherwise your node may not be able to connect!* + +
+ +## 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! \ No newline at end of file diff --git a/img/graphic_hero_dragonx.png b/img/graphic_hero_dragonx.png new file mode 100644 index 0000000..4c79b9d Binary files /dev/null and b/img/graphic_hero_dragonx.png differ