Mining Guidance On Conflux Testnet (V0.1.9)
This is a mining guide for the Conflux Testnet V0.1.9. This mining guide targets everyone, so you can start mining with no prior experience in coding. With a strong will to learn, to experience and about 30 minutes of your time, you’ll start mining!

This guide is separated into 4 parts:
- Install Conflux on Windows
- Install Conflux on Mac
- Install Conflux on Linux
- Synchronizing the latest code from the testnet
Notes:
- The testnet and future mainnet of Conflux are different, which means tokens mined in our testnet cannot be transferred or used in the Mainnet. The Testnet will restart occasionally during the testing period and the tokens in your wallet will be cleared after each restart.
- Conflux Bounty Program was launched in August 2019 and will include a series of tasks related to mining. You can earn “Fans Token (FC)” after completing these tasks and exchange them 1:1 into CFX Tokens on our via smart contract after the launch of our mainnet.
- The testnet has entered a stable version, and the executable files compiled by each operating system have been placed on Github. This tutorial eliminates the steps of installing the environment and is more friendly to anyone with no prior programming experience.
1. Install Conflux on Windows
Install LLVM
Click here to download for Windows 64 bit
Download the latest release of the testnet
Click here to find the latest release of the testnet. Click on Assets and download the version for your OS.

Preparations:
Extract downloaded file
- Open up: C-Drive → User → <UserName>
- Create Folder: conflux
- Extract downloaded file into the newly created folder: conflux
⚠️ The directory structure should be as such:
conflux
└── run
├── conflux
├── default.toml
└── log.yaml
Configurations:
- Obtain Conflux Wallet Adress
- Visit the Conflux Wallet: wallet.confluxscan.io/
- Create a New Wallet or Access Your Wallet
Create a New Wallet: Set your password, download the Keystore
file, and set a password for your wallet
Access Your Wallet: Upload your Keystore
file, and enter your wallet password.

When creating a new wallet, please read the instructions carefully:

If you lose your Keystore
file, you will not be able to restore it!

2. Obtain your IP Adress

3. Modify Configurations
- Open up: C-Drive → User → <UserName> → conflux → run
- Open
default.toml
using the notepad software, and: - Configure your public_address by replacing the xx.xx.xx.xx with your public IP address

Add “:32323” at the end of your IP address. The final result should be in this format: xx.xx.xx.xx:32323
For example, if your search result is 52.175.9.183
then your final configuration should be 52.175.9.183:32323
- Configure the code line
#start_mining=true
to enable mining.
Remove the “#” at the beginning of this line to enable mining.

- Configure the code line
mining_author
to receive your mining rewards.
Remove the 0x prefix when entering your wallet adress.
Find your account address under “Address” in your Conflux wallet.
For example, if the account address is 0xb4aa17059a0f2dbf539d1cdec662177af963a078,
the final configuration should be: mining_author=”b4aa17059a0f2dbf539d1cdec662177af963a078”
Remove the “#” at the beginning of this line.

- Save the changes you made and exit
Start mining:
- Press the “Start” button
- Search for
cmd
and open it:
cd conflux\runconflux.exe --config default.toml
Stop mining:
- Press Ctrl+C, or
- Directly close
cmd
window; or - Open task manager: detail information — find conflux, select it and end process
2. Install Conflux on Mac
Install LLVM
- Open Terminal by pressing Command + Enter
- Install brew (if you have brew installed, please skip this step and continue with installing LLVM)
Copy the following code:
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
paste it into your Terminal window and press “Enter”. Your Terminal should look like this:

When the installation was successful, your Terminal should look like this:

- Install LLVM
This part will take some time and will require you to enter you Mac password
Copy the following code:
brew install llvm
paste it into your Terminal window and press “Enter”. Your Terminal should look like this:

Download the latest release of the testnet
Click here to find the latest release of the testnet. Click on Assets and download the version for your OS.

Preparations
- Create Folder: conflux
- Extract downloaded file into the newly created folder: conflux
⚠️ The directory structure should be as such:
conflux
└── run
├── conflux
├── default.toml
└── log.yaml
If you’re fine with a new folder in Downloads, this will save you some time:
Make sure the latest testnet release you downloaded is saved in your native Downloads folder, you can copy the following lines into your Terminal and press “enter”:
cd ~/Downloads && mkdir -p conflux
unzip conflux_mac_v0.1.9.zip -d conflux
cd conflux/run
This way you will have a new folder in your native Downloads folder called “conflux”. And in the new “conflux” folder is a folder called “run”. The directory structure is:
Downloads
└──conflux
└──run
├── conflux
├── default.toml
└── log.yaml
Configurations:
- Obtain Conflux Wallet Adress
- Visit the Conflux Wallet: wallet.confluxscan.io/
- Create a New Wallet or Access Your Wallet
Create a New Wallet: Set your password, download the Keystore
file, and set a password for your wallet
Access Your Wallet: Upload your Keystore
file, and enter your wallet password.

When creating a new wallet, please read the instructions carefully:

If you lose your Keystore
file, you will not be able to restore it!

2. Obtain your IP Adress

3. Modify Configurations
- Open up: C-Drive → User → <UserName> → conflux → run
- Open
default.toml
using the notepad software, and: - Configure your public_address by replacing the xx.xx.xx.xx with your public IP address

Add “:32323” at the end of your IP address. The final result should be in this format: xx.xx.xx.xx:32323
For example, if your search result is 52.175.9.183
then your final configuration should be 52.175.9.183:32323
- Configure the code line
#start_mining=true
to enable mining.
Remove the “#” at the beginning of this line to enable mining.

- Configure the code line
mining_author
to receive your mining rewards.
Remove the 0x prefix when entering your wallet adress.
Find your account address under “Address” in your Conflux wallet.
For example, if the account address is 0xb4aa17059a0f2dbf539d1cdec662177af963a078,
the final configuration should be: mining_author=”b4aa17059a0f2dbf539d1cdec662177af963a078”
Remove the “#” at the beginning of this line.

- Save the changes you made and exit
Start mining:
- Open Terminal by pressing Command + Enter
- Copy the following lines:
cd ~/Downloads/conflux/runulimit -n 10000./conflux --config default.toml
- Insert the copied lines into Terminal, and press “Enter”

If you extracted the latest testnet release elsewhere, please adjust accordingly!
For example, you extracted the latest release on your Desktop (without and extra configuration), then adjust your terminal input to:
cd ~/Desktop/run./conflux --config default.toml
Stop mining:
- Open Terminal by pressing Command + Enter
- Copy the following lines:
kill `ps -ef | awk ‘/conflux/ && !/awk/ {print $2}’`
- Insert the copied lines into Terminal, and press “Enter”
3. Install Conflux on Linux
Install clang
- On CentOS / RedHat
yum install clang
- On Ubuntu
apt-get install clang
Download the latest release of the testnet
Click here to find the latest release of the testnet. Click on Assets and download the version for your OS.

Preparations
- Extract the latest release of the testnet
- Open Terminal
- Copy the following line into Terminal and press “Enter”
mkdir -p conflux
- Copy the following line into Terminal and press “Enter”
unzip conflux_ubuntu_v0.1.9.zip -d conflux && cd conflux/run
⚠️ The directory structure should be as such:
conflux
└── run
├── conflux
├── default.toml
└── log.yaml
Configurations:
- Obtain Conflux Wallet Adress
- Visit the Conflux Wallet: wallet.confluxscan.io/
- Create a New Wallet or Access Your Wallet
Create a New Wallet: Set your password, download the Keystore
file, and set a password for your wallet
Access Your Wallet: Upload your Keystore
file, and enter your wallet password.

When creating a new wallet, please read the instructions carefully:

If you lose your Keystore
file, you will not be able to restore it!

2. Obtain your IP Adress

3. Modify Configurations
- Open up: C-Drive → User → <UserName> → conflux → run
- Open
default.toml
using the notepad software, and: - Configure your public_address by replacing the xx.xx.xx.xx with your public IP address

Add “:32323” at the end of your IP address. The final result should be in this format: xx.xx.xx.xx:32323
For example, if your search result is 52.175.9.183
then your final configuration should be 52.175.9.183:32323
- Configure the code line
#start_mining=true
to enable mining.
Remove the “#” at the beginning of this line to enable mining.

- Configure the code line
mining_author
to receive your mining rewards.
Remove the 0x prefix when entering your wallet adress.
Find your account address under “Address” in your Conflux wallet.
For example, if the account address is 0xb4aa17059a0f2dbf539d1cdec662177af963a078,
the final configuration should be: mining_author=”b4aa17059a0f2dbf539d1cdec662177af963a078”
Remove the “#” at the beginning of this line.

- Save the changes you made and exit
Start mining:
./conflux --config default.toml
4. Synchronizing the latest code from the testnet
Please check the latest version of the Testnet first ➡(github.com/Conflux-Chain)
1. Delete the old local file
Find the folder “conflux”, delete all files under the category “run”.
2. Get the latest pre-build executable
- Go to github.com/Conflux-Chain and download the latest release (0.1.9) for your OS
- Extract files
- Copy the
conflux
file and replace with the previous one - Properly check the configuration of
default.toml
, especially: public_address, start_mining=ture, and mining_author.
3. Run
cd run
- Mac or Linux:
../target/release/conflux — config default.toml
- Windows:
..\target\release\conflux.exe — config default.toml
Conflux is a State-of-the-Art public blockchain system that can achieve high TPS without sacrificing decentralization or safety. By delicately combining its unique and advanced algorithm with a novel structure — — Tree Graph (TG), Conflux makes consensus no longer a performance bottleneck, thereupon solves a series of problems in the industrialization of public chains. Currently, in its first stage, Conflux adopts PoW (Proof of Work) mechanism as the basis of its consensus.
Join the Revolution here:
Youtube: Conflux Chain
Twitter: https://twitter.com/ConfluxChain
Telegram: http://t.me/Conflux_English