# DragonX DragonX is a privacy-focused cryptocurrency full node using RandomX proof-of-work. All transactions are shielded (z-to-z) by default, providing strong on-chain privacy. | | | |---|---| | **Algorithm** | RandomX (CPU-mineable) | | **Block time** | 36 seconds | | **Block reward** | 3 DRAGONX | | **Halving** | Every 3,500,000 blocks | | **Privacy** | All transactions shielded (`-ac_private=1`) | | **P2P port** | 21768 | | **RPC port** | 21769 | ## Build on Debian or Ubuntu ```sh # Install build dependencies sudo apt-get install build-essential pkg-config libc6-dev m4 g++-multilib \ autoconf libtool ncurses-dev unzip git zlib1g-dev wget \ bsdmainutils automake curl unzip libsodium-dev cmake # Clone the repo git clone https://git.dragonx.is/DragonX/dragonx cd dragonx # Build (uses ~2GB RAM per -j thread) ./build.sh -j3 ``` ## Build on Arch ```sh sudo pacman -S gcc libsodium lib32-zlib unzip wget git python rust curl autoconf cmake git clone https://git.dragonx.is/DragonX/dragonx cd dragonx ./build.sh -j3 ``` ## Build on Fedora ```sh sudo dnf install make automake gcc gcc-c++ kernel-devel cmake libtool ncurses-devel patch -y git clone https://git.dragonx.is/DragonX/dragonx cd dragonx ./build.sh -j3 ``` ## Build on macOS ```sh sudo port update && sudo port upgrade outdated sudo port install qt5 git clone https://git.dragonx.is/DragonX/dragonx cd dragonx ./build.sh -j3 ``` ## Cross-compile for Windows (on Linux) ```sh sudo apt-get install \ build-essential pkg-config libc6-dev m4 g++-multilib libdb++-dev \ autoconf libtool ncurses-dev unzip git zip \ zlib1g-dev wget bsdmainutils automake mingw-w64 cmake libsodium-dev git clone https://git.dragonx.is/DragonX/dragonx cd dragonx ./util/build-win.sh -j$(nproc) ``` ## Running ```sh # Start the daemon ./src/dragonxd # In another terminal, interact via CLI ./src/dragonx-cli getinfo ./src/dragonx-cli z_getnewaddress ``` Data directory: `~/.hush/DRAGONX/` Config file: `~/.hush/DRAGONX/DRAGONX.conf` ## Mining DragonX uses the RandomX algorithm and is CPU-mineable. Point any RandomX-compatible miner (e.g. XMRig) at a DragonX stratum pool, or solo-mine with: ```sh ./src/dragonxd -gen -genproclimit=$(nproc) -mineraddress= ``` ## Attribution DragonX is a fork of the [Hush Full Node](https://hush.is). Based on code from Zcash, Komodo, and Bitcoin Core. Licensed under GPLv3 — see [COPYING](COPYING) and [LICENSE](LICENSE). ## License For license information see the file [COPYING](COPYING).