This is a work in progress article whilst we’re making the necessary tools and changes for you to mine the new RandomSFX mining algorithm.
RandomSFX is a variation of the RandomX algorithm which enables more people than ever before to compete in the mining of Safex Cash.
The algorithm is designed to remove the threat of ASICs and hash rental services that make the network uncompetitive for everyday miners. You could say that the design of RandomX is so inefficient, that it’s not cost effective, or maybe not even possible to design ASIC chips to mine RandomX coins.
Tools of the trade
Because RandomSFX is a modified version of RandomX, it’s not currently supporting in the usual mining softwares (XMRig, XMR-Stak, etc).
Therefore, the team has built a custom fork of XMRig called Safex-Rig which supports CPU, AMD and Nvidia mining.
Compile guides can be found here: https://github.com/safex/safex-rig/wiki/Build - Note, make sure you’re cloning
git clone https://github.com/safex/xmrig.git and not the one in the wiki (we’ve still to make the necessary editorial changes, but everything else remains the same).
If you’re already familiar with XMRig, the commands are exactly the same. The only thing you will need to consider is the specific algorithm for Safex which is
Building Safex-Rig Miner - Ubuntu
At the time of writing this, there are no pre-compiled binaries of the Safex-Rig mining software. You will need to compile your own copy of our special fork of XMRig, called Safex-Rig.
Building Safex-Rig is the same process as cloning and building the XMRig repository.
sudo apt-get install git build-essential cmake libuv1-dev libssl-dev libhwloc-dev git clone https://github.com/safex/safex-rig.git cd xmrig && mkdir build && cd build cmake .. make
Building Safex-Rig Miner - Windows
Building in Windows is a little more complicated than Ubuntu. Full instructions can be found here:
Note: Make sure you swap any reference to the XMRig github with our repo instead
Safex Cash Testnet Pool
A temporary testnet mining pool has been set up for you to test your Safex-Rig miner configuration. A few things to note:
- This is a testnet pool, and the SFX you mine on here has no value
- You need to mine to a testnet address. An example Testnet address is
- You need to set your algorithm to
rx/sfxto mine RandomSFX
- You will NEED to be using the Safex-Rig build to mine RandomSFX as it is not yet implemented in the main XMRig software.
Pool mining with Safex-Rig - Ubuntu
As menitoned, Safex-Rig runs in the same fashion as XMRStak. To mine from a Safex Cash pool with the new miner, the only major configuration option you need to ensure is set is the mining algorithm choice -
Example configuration to mine the RandomSFX testnet pool:
./xmrig -o 18.104.22.168:5555 -u SFXtzS2TXfSZu4XJh8sRNsF7iqe66dWX8NByr3CGDwM45Bo8tbsNuwffaTbjSr6Eqd9ihBB3WmTB3ftS4aNqDz9EMapGkh6FJKG -a rx/sfx
-o = Pool URL, in this instance it’s the testnet pool IP address, but could be pool.safexnews.net:5555 in the future.
-u = Your Safex Cash address, in this instance it’s a testnet address. You would use your normal Safex address once RandomSFX is on the mainnet.
-a = Algorithm, set to
rx/sfx. Depending on the pool you use, sometimes you don’t need to explicitly set the algorithm as it will auto-detect. This is just a failsafe to ensure it works correctly.
- Solo Mining - Node
- Solo Mining - Node + Safex-Rig
- 1 Click Miner App
- Updated Safex Cash mining pool list
- Computer hardware performance chart
- Added preliminary testnet pool details [01/12/2019]
- Added details about compiling Safex-Rig miner [01/12/2019]
- Added miner config details for Safex-Rig [01/12/2019]