# Step-by-step guide

Here’s a quick step-by-step guide for newbies on how to mine Conflux on Nanopool

Getting started with Conflux mining is now easier than ever. All you need is a PC with a GPU (Nvidia/AMD) of 6GB minimum as Conflux heavily relies on memory usage while the core processor sits idle. You'll also need a miner and an Conflux address to receive your mining reward. Check the list below and make sure your hardware/software meets the requirements:

Unfortunately, we don't give any recommendations on what hardware to buy or which one is more profitable (search the mining forums to choose a hardware), therefore we’re going to assume you’re already running Windows/Linux on your RIG and the GPU you have meets the requirements.

## Step 1: Get Your GPU Drivers Installed

Double check the drivers are installed in advance or if you installed them previously you can skip this step.

• For AMD GPUs, go here and choose "Support & Drivers". Enter your GPU info and click "Display results" then click the download button for your current driver.

Once downloaded, install the drivers like you normally would (next, next, OK, etc.) and reboot your RIG. You see your GPU’s are recognized correctly if you go into Device Manager (search in Windows search bar) and if you don’t see any warning marks on your GPU’s you're good to go to the next step.

## Step 2: Obtain an Conflux Wallet Address

There's a number of ways you can get an Conflux address through, such as at a web-wallet like "Conflux Wallet", at an exchange or you can play it safe and use one of the local wallets. If you already have an Conflux address, just jump down to the next step. Remember, some exchanges don't allow deposits from pools or don't allow very small deposits, so double check with the site before mining directly to an exchange address, whereas setting up a local wallet requires to wait a while for the blockchain to download.

Bear in mind, storing your funds at an exchange/web-wallet is always associated with a risk

## Step 3: Apply some Tweaks to Windows before mining

First of you don't want your miner to be interrupt while mining if your RIG goes to sleep. You don't want to your RIG to be automatically rebutted either, which may occur if Windows updates. And we also have to increase your Virtual Memory (aka swap file) to at least 16 GB that is required for Conflux mining.

• Go to your Windows Power Settings and set it to Never sleep

• Head to Control Panel/Administrative Tools/ Services. Scroll down to Windows Update and turn it off

• If you're running Windows Defender/Antivirus make sure to add an exception to it so that it doesn't flag your miner as a virus (not necessary for Nanominer)

• Go to Control Panel/System and Security/System/Advanced System Setting and set your Virtual Memory to  16384 MB (this is 16GB)

### For Nvidia rigs

There are various of miners out there to choose from that are not covered here as we are doing to use our own miner called Nanominer in which our team put a lot of time and effort to make it simple to use and efficient to mine, so you should not have any trouble with it.

• Extract the miner to any folder you like and navigate to it

• Locate and edit "config.ini" file with any notepad app

• Copy the following and paste it into the file:
[Octopus]
wallet=0x123...

Add "rigName =" line under the wallet to indicate your RIG name
Add "email =" line to indicate your email/passphrase

NOTE: Nanominer will connect to the pool's default server, and It might be not the best choice for you as there's latency and you want the server you connect to to be as closer to your location as possible. Therefore, by adding the follower parameter at the bottom of your Nanominer's config.ini file:

"sortPools=true" this will enable automatic pool's servers sorting based on their ping speed

You can be sure that Nanominer will automatically pick the server that has the lowest ping time from your location and the network latency will not affect your mining as the pool and the miner will communicate at the highest speed possible.
Full Configuration Example:

[Octopus]
wallet=0x148a640101328b407ea3acb63f3e319705a76dd3
coin=CFX
rigName=Rig001
[email protected]
sortPools=true

### For AMD

Head over to GitHub and download the miner for Windows or Linux. Then unzip the archive to any folder.

2. Configure The Miner
Locate and edit "start_conflux" file. Copy the content below and paste it into the file.

nbminer -a octopus -o stratum+tcp://cfx-eu1.nanopool.org:17777 -u YOUR_WALLET_ADDRESS.WORKER_NAME/EMAIL

For example:

nbminer -a octopus -o stratum+tcp://cfx-eu1.nanopool.org:17777 -u 0x148a640101328b407ea3acb63f3e319705a76dd3.Conflux123/[email protected]

You also can use SSL port instead of stratum:

nbminer -a octopus -o stratum+ssl://cfx-eu1.nanopool.org:17777 -u 0x148a640101328b407ea3acb63f3e319705a76dd3.Conflux123/[email protected]

## Step 5: Start the Miner

#### For Nanominer:Windows OS

Start the miner by running the nanominer.exe file. Nanominer will start, run the commands to set those environment variables, initialize each of your GPU’s, build the DAG file on each of your GPU’s and start hashing away. After a while, you'll be able to find your account on the pool.

Linux Distributives

For Linux - launch miner with cmd (terminal), like:

./start.sh

Note: cmd (terminal) must be opened in the same directory with the miner. You also can use cd to change current directory to the miner.

#### For NBminer

Windows OS

Double click the start_conflux.bat file to launch the miner. Nbminer will start, run the commands to set those environment variables, initialize each of your GPU’s, build the DAG file on each of your GPU’s and start hashing away. After a while, you'll be able to find your account on the pool.

#### Linux Distributives

For Linux - launch miner with cmd (terminal), like:

./start_conflux.sh

Note: cmd (terminal) must be opened in the same directory with the miner. You also can use cd to change current directory to the miner.

cd C:\path\to\file\NBMiner

./start_conflux.sh

## Step 6: Find your Account on Nanopool

Remember there's no registration on the pool. You just need to start mining and your account will automatically show up. However, allow some time as our system needs about 30 minutes to add your account to the pool's database since your miner submitted its first share. So please, be patient and come back to Nanopool in a while, there's Address  filed on the right top in which you need to fill your Conflux address in. Once filled, hit enter, you'll be redirected to your Nanopool account page.

Congrats! You have joined Nanopool. Spend some time to familiarize yourself with the pool and its features; you'll like the interface.

## Step 7: Make sure Your Mining goes Smoothly

Let your RIG to mine for at least 6 hours (or even 12) then come back to check your account statistic on the pool. You just need to compare your 6-hour Average hashrate (Nanopool estimates avg hashrate by shares sent from you rigs) with the Last Reported hashrate (it's what your miner tells to the pool your hashrate is) and the values need to be close (the closer the better), however, allow 10% discrepancy. And if your 6-hour Average hashrate is lower by more than 10% than the Reported one, then there must be an issue and you should contact our team to figure it out.

## Step 8: Predict your Profitability

There's a number of major factors your income depends on and the most obvious, easily identifiable and broad numbers that affect your mining profit are:

 1. Difficulty increase The more users join the network to mine Conflux, the harder it's to find a block. 2. Pool luck factor Cryptocurrency mining is extremely luck based in its nature and when the pool finds fewer blocks than it should with its hashrate on average, it's unlucky, but when it finds more blocks, the pool is lucky. And since our pool's payout scheme is PPLNS (you get paid after the pool finds a block), your estimated reward may decrease in both cases, if the difficulty increases and the pool gets unlucky. 3.Hashrate constancy Your reward is also affected by your hashrate constancy. The more your hashrate fluctuates (network/hardware issues) the less your reward may be.

Keep in mind, none of mining calculators are able to properly forecast the future, as they don't simply take into account all possible variables, as a result this is almost near impossible to accurately predict uncertain inputs.

or drag and drop files