dan_s
13886a2a9e
|
2 years ago | |
---|---|---|
img | 2 years ago | |
LICENSE | 2 years ago | |
README.md | 2 years ago |
README.md
How To Mine DragonX
A guide to mining the RandomX coin DragonX, a HUSH Smart Chain.
Install HUSH
Look at this guide 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 and download the latest Windows version. I would recommend installing Windows Terminal to make it easier to access and execute commands with windows powershell
Note:
If running on a Virtual Machine make sure the VM network settings are set to Bridged Connection
.
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.
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 -gen=1 -genproclimit=1 &
Note:
Make sure to input any parts with "-ac" in this command exactly, otherwise your node may not be able to connect!
Note:
genproclimit
is how many cpu threads to use for mining, in most cases 1 cpu core = 2 threads
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.
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.
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" -gen="1" -genproclimit="1"
Note:
Make sure to input any parts with "-ac" in this command exactly, otherwise your node may not be able to connect!
Note:
genproclimit
is how many cpu threads to use for mining, in most cases 1 cpu core = 2 threads
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
Verify Mining
To make sure you are actually connected to the network and mining input the following command:
./hush-cli -ac_name="DRAGONX" getinfo
- If it returns
"connection": 1
you are connected and mining.
Useful RPC commands
All RPC commands for Hush can be used the same way for any HSC. The total list: