Flux Full Node Setup — The easy peasy, lemon squeezy way!!

Ali Malik
Ali Malik
Dec 14, 2020 · 21 min read

“If you don’t find a way to make money while you sleep, you will work until you die.” ― Warren Buffett

Full Node LTS has reached the end… You can continue to use Full-Node Node Setup but it’s highly recommended move to Light-Node wallet for FluxNode Setup using the link below…

Welcome to the Official Flux Full Node Setup Guide

Flux FullNode Setup Video Tutorial Guide

Step by Step Walkthrough covering all steps mentioned here in this guide

Official Flux Node Video Tutorial

What are FluxNodes ??

FluxNode operators supply dedicated computing power, which generates rewards in Flux for powering the network. There are multiple options for supplying computing power, including renting from a VPS provider, renting a dedicated server to host multiple FluxNodes, or purchasing a server outright and hosting it in a data center or well-equipped home/office.

The FluxTiered Node

FluxNodes are not like any other masternode in the space. Infact, it’s unfair to even call it a masternode.

There are three tiers of Fluxnodes (Cumulus|Nimbus|Stratus).Each providing massive amounts of computing and storage power that is fully decentralized in both ownership and geographic location around the world. When compared to other projects, where masternodes only process transactions. FluxNodes will be running Flux dapp backends, smart contracts, sidechains for asset layers, among other uses we haven’t even thought of yet. All this will be possible because of the sheer amount of resources available before being absolutely needed.

How much is the ROI?

The rewards & ROI will depend heavily on the total VPS cost, FluxNode Tier & the price of Flux!! To help you understand better, we have created a “FluxNode dashboard” to help you make that decision & choosing what is right for you. You can easily navigate & find the total enabled nodes, daily, monthly, yearly rewards, revenue, ROI & much much more...

Click on the banner below for details;

https://home.runonflux.io/dashboard/economics
https://home.runonflux.io/dashboard/economics

⚠️Is FluxNode For You ! Do I really need this ??

If you are not confident running Fluxnode or you feel like it’s too complicated. We do offer staking “Flux in Coinmetro Exchange” (Min. 500 Flux)

We have established a first-class partnership with them, and many users have invested in Flux there. Over 5 Million Flux has been staked so far

.If you are interested, Click on the link below, you will also receive free XCM (Coinmetro’s token) + Free Flux when registering with the link below

https://coinmetro.com/?ref=fluxnodes

1. Get on the exchange & buy FLUX ??

CoinMetro Exchange

Click on the link below to sign up for CoinMetro and get FREE XCM & FLUX! Receive $5 worth of XCM, CoinMetro’s native token + receive $5 worth of FLUX once the token is successfully listed on CoinMetro! Simply deposit €40 ($50 approx) and trade €200 volume ($250 approx).

https://coinmetro.com/?ref=fluxnodes

Kucoin Exchange

If you haven’t bought flux yet, visit these exchanges below to purchase FLUX.

Click on the link below to go to the exchange

https://www.kucoin.com/ucenter/signup?rcode=2747MaN

https://www.kucoin.com/ucenter/signup?rcode=2747MaN
https://www.kucoin.com/ucenter/signup?rcode=2747MaN

Gate Exchange

Click on the Link below to get 40% commision reward

https://www.gate.io/signup/4371722

2. Deterministic FluxNode Install Guide

This guide will be using the install script on Contabo VPS platform. I personally use them for my nodes and I find their prices relatively competitive. I am not in any way affiliated with them nor we recommend any of the VPS providers. Please do your research before you commit. As a side note, benchmarking is an important criterion & must meet minimum specs, uptime requirement: > 97%

Let’s Begin !!

Download the latest ZelCore Wallet. Go to zelcore.io & choose your platform..

3. The Login Screen

Existing users can login OR if you haven’t logged in for a long time, click on the “add existing account”

If you are a brand new user or haven’t never used the wallet ever, then “register new account”. It will also give you a option of “Create recovery password mechanism” which is great to recover lost password in case you ever forget your login credentials.

4. Change the Auto Logout

Go to settings and change the Automatic Log Out to “Never”. This will insure the ZelCore wallet doesn’t log you out automatically during the FluxNode setup.

5. Enabling d2Fa & adding Assets (Optional)

💡 Although not required for the node setup. However, it’s a good practice to enable Decentralized Two-factor authentication (d2FA) as an extra step, added to the log-in process.

It helps verify your identity and prevent cybercriminals from accessing your private information. d2FA offers an extra level of security that cyberthieves can’t easily access, because the criminal needs more than just your username and password credentials.

Note: Enabling d2Fa requires a small amount of 0.0002 Flux to be present in your wallet in order to broadcast a d2Fa enable transaction. Your d2Fa pin will be set after the transaction is confirmed on the blockchain & you have to re-login. This will be a one time transaction.

Click on the Apps > ZelId > d2Fa to enable the decentralized two way factor authentication

Click on the “+ sign” to add Flux & other assets you like to see and use.

6. Initiate Flux Full Node

⚠️ Running Anti-Virus Software on Your Machine

There have been reports that certain antivirus software is known to delete the zelcore\bin folder, which may risk losing your FLUX. It’s been recommended, to add EXCEPTION to your AVP program before starting the full-node

Windows: C:\Users\windowsusername\ZelCore\bin

Initiate the Flux full node. Starting full node for the first time will take about “3 mins ~5 mins”, so be patient…

Now exit from Full Node, click on “Back” and hit “Exit Full Node”

Logout from Zelcore Wallet and exit it completely. Close the wallet

7. Download the latest Bootstrap

⚠️Your wallet needs to be synced 100% to the blockchain before you can send any Flux ( Very Important)⚠️

Blockchain Sync Process

Go to ▶ Downloading File: https://fluxnodeservice.com/ & download the latest bootstrap.

In order to unzip the file, you need to download the “WinRar”. Visit https://www.win-rar.com/download.html?&L=0

After installing WinRAR locate the downloaded Boot-Strap and unzip the folder..

The bootstrap file contains most of the current blockchain data in a downloadable zip file. You can use this data with your full node to more quickly sync your full node. This step will speed up the blockchain sync process.

PC Windows: C:\Users\YOURUSERNAME\AppData\Roaming\Zelcash
Apple MacOS: ~/Library/Application Support/zelcash
Linux: ~/.zelcash

OR

PC Windows: C:\Users\YOURUSERNAME\AppData\Roaming\Flux
Apple MacOS: ~/Library/Application Support/Flux
Linux: ~/.flux

Trouble Finding “Application Support” folder in your MAC. Watch the video below…

Note: In case you can’t access “AppData” it’s because it’s hidden. For PC, go to C:\YOURUSERNAME & then go to “View” and click on “Hidden Files/Items”. The AppData will then appear..

Find and locate the folder “daemon_bootstrap” you just unzipped using winRAR

Copy Blocks, Chainstate & Determ_zelnodes & replace it in the zelcash folder

Example Showing Zelcash Folder in the PC

7b. Know Your Full-Node Wallet

After successfully updating your bootstrap in your folder. It’s time to initiate the full-node wallet. Pay extra attention to the “Daemon Info” highlighted in the green box above. Do the same steps as mentioned earlier. If you notice now, that the blockchain sync is nearly complete. Wait to get it synced 100% as shown below…

After starting your Full-Node wallet,

-The “Height” represents the current block your full-node wallet in currently at

-The “Date” represents what date & time your full-node block is currently at

-The “Headers” represents the current block your wallet needs to be synced to Once you reach this value and your (Height number= Headers number) You are 100 % Synced

Click on “Receive Address” & you will find your address there. If want to have more addresses click on “New Transparent Address”

⚠️ Warning: Backup !! Backup !! Backup !!

Backup Private Keys— In full-node wallet, Click on Tools > Wallet Management > Import/Export > 3rd option from the top > click on box to choose path > choose location (Create a new Folder for backup) > Export

Backup Wallet — In full-node wallet, Click on Tools > Wallet Management > Import/Export > 4th option from the top > click on box to choose path > choose location (Create a new Folder for backup) > Backup

8. Depositing Flux to Full-Node For Node Setup

How to get the Flux Address ??

In order to deposit you would need a Flux address. How can i get the address ? Click on “Receiving Address” as shown below;

This is your transparent address which you need to transfer your flux to. Choose any address of your liking and click to copy. If you want more address simply click on “New Transparent Address”

You can use same address for running multiple FluxNodes. If you prefer using different address each time that’s fine as well. It’s your choice..

Note: Make sure you backup your private keys

Before we begin the nodes setup, it’s important to deposit the flux to your full-node. Depending on the choice of your Tier below;

For Cumulus: Deposit exactly 10,000 Flux

For Nimbus: Deposit exactly 25,000 Flux

For Startus: Deposit exactly 100,000 Flux

Now, transfer the Flux to your “Receiving Address” from the step above. Send exactly as mentioned. Don’t worry about network fees as this will be done automatically.

⚠️Note: If this is the first time, you have initiated the fullnode. Your blockchain has to be 100% synced otherwise you will not see your deposit until the blockchain is 100% synced. Very Important !! Go to previous step, incase you missed it

To confirm if the transaction went through while you are waiting for the blockchain to get synced. You can check your balance on “Flux Explorer”. Put your receiving address and check your balance

https://explorer.runonflux.io/

9. Starting FluxNode Setup

It’s a good idea now to backup all your addresses and save it. It will be helpful in case you want to recover your Flux in case of any issues. This will backup all your Private Keys to your destination folder “NEVER SHARE YOUR PRIVATE KEYS WITH ANY ONE”

The next step is to select the Flux Tier you want to run. In this setup, we will be setting up a “Super Node”. Enter the IP of the VPS..

Note: “You can easily find the IP of the VPS host by visiting your VPS provider or contact them directly if you are having problems”

Click Next Step ..

Send the exact collateral to one of your transparent addresses as shown Collateral (10K Cumulus/ 25K Nimbus/ 100K Stratus)

The collateral should now reflect in your address shown above. This is the available output that is not currently been reserved by FluxNode & you can use this to setup a Super FluxNode

Click on the address to continue…

Name your FluxNode and click on “Continue FluxNode Setup”

Copy the generated private key, Output TX ID & the output Index and save it in a notepad OR alternatively copy the entire string in the bottom and save it..

Click “Save and Continue”

Close the window by clicking the X on top

Do Not Click on “Activate my FluxNode” not just yet…

Note: It requires by minimum 100 Block confirmations on the chain to even start the node. Please wait patiently. It would take about 3.5 hrs.

⚠️FluxNode can be run on any Home PC/Servers, ARM devices or VPS

It is recommended to keep it more decentralized and not rely on one centralized location.

The below requirements are the minimum that a node provider must have to overcome the benchmarking system. If a node owner provides more resources than the above, the network will use all the resources that can be found on the specific server.

Home PC/Servers Minimum Requirements

10. VPS Host Setup

You can use any VPS provider of your choice to Host Flux nodes. You can also use Home PC Computer as well as long as you meet the min. specification.

Although, we are not affiliated with any VPS providers, here are the list of recommended VPS providers our Flux Node owners use. Please do your research what is best for you.

✅Please choose Ubuntu 20.04 from the providers who give OS selection option…

#NetCup — VPS Provider

https://www.netcup.eu/vserver/vps.php

Recommended Packages

#Hetzner — VPS Provider

https://www.hetzner.com/cloud

Recommended Packages

#Hostiger — VPS Provider

https://www.hostiger.com/kvm-vps

On Hostiger to move to the root account type the command sudo su and press enter on password to move to the root account, the root account doesn't have a password set and is not accessible from outside.

For Cumulus Node: Use the “S” package

Cumulus Node
Cumulus Node
Cumulus Node

For Nimbus Node: Use the “2XL” package

Nimbus Node

#TNAHosting — VPS Provider

https://tnahosting.net/billing/aff.php?aff=188

TNAHosting
Preferred Hosting Packages

#Server4You — VPS Provider

https://www.server4you.com/

For discount Code — Clik on “Let’s Chat” on the website & request the code. Usually, the provider has a 5% discount

Note: You need to upgrade to Ubuntu 20.4 OS. By default, VPS comes with Ubuntu 16.0 ver. The scripts won’t be compatible. To upgrade login into your VPS using the root account & follow the commands below

sudo do-release-upgrade

sudo reboot

Dedicated Stratus VPS Server

#Servercheap — VPS Provider

https://servercheap.net/pricing.php

For discount Code — 10% or 15% available for new users. See website for more details

#Fiberia — VPS Provider

https://servercheap.net/pricing.php

11. Using SSH in Putty (Windows)

Putty is a free SSH & telnet client for windows and UNIX platform which can be used to make an SSH connection to your server. You would need this client to access your VPS server

You can download the latest client from the link below:

https://www.chiark.greenend.org.uk/~sgtatham/putty/latest.html

Putty

Enter your connection settings:

Host Name (Or IP address) — Your VPS assigned IP address

Saved Sessions — Name your session or simply put whatever you want to call

Hit Save & Click Open to launch the Putty

12. Use Root Credential

First step is to log in as “root”. Use the password provided by your VPS Provider

💡 You can always change your root password by typing “passwd” after logging in as root.

Root Credentials

13. Benchmarking VPS Hosts (Optional)

Sysbench are used for benchmarking purposes.

  • Sysbench can be installed via:\

curl -s https://packagecloud.io/install/repositories/akopytov/sysbench/script.deb.sh | sudo bash
-----
apt install sysbench

Instructions are courtesy of haydenjames

Sysbench also has many possible tests. We will be using the utility to test the CPU performance. Prime number search tests the outright speed of the CPU and does not utilize things like hardware-accelerated encryption, making it a suitable performance test.

Built-in Linux data duplicator (dd) utility is used to test drive speed and overall write times.

Benchmarking performed using Ubuntu 16.04 | Sysbench v1.0.16

Sysbench

  • Command: sysbench --test=cpu --threads=8 --cpu-max-prime=60000 --time=20 run Change --multiply the final result with the number of cores available on your VPS/machine
  • Change threads to 8 for Stratus, 4 for Nimbus, 2 for Cumulus tiers
  • Check: events per second

These specs are for Sysbench v1.0.16. Installation instructions are above.

Stratus (8vCore, 32GB RAM, 600GB SSD)

  • CPU | Sysbench events per second (60k max prime, 20 seconds): > 400
  • SSD IOPS | Nench total iops: > 700 (no longer tested)
  • SSD speed | dd speed (count=10k): > 160 MB/s

Nimbus (4vCore, 8GB RAM, 150GB SSD)

  • CPU | Sysbench events per second (60k max prime, 20 seconds): > 200
  • SSD IOPS | Nench total iops: > 700 (no longer tested)
  • SSD speed | dd speed (count=10k): > 160MB/s

Cumulus (2vCore, 4GB RAM, 50GB)

  • CPU | Sysbench events per second (60k max prime, 20 seconds): > 90(no longer tested)
  • SSD IOPS | Nench total iops: > 700 (no longer tested)
  • SSD speed | dd speed (count=10k): > 160MB/s (no longer tested)

DD (data duplicator)

  • Command: dd if=/dev/zero of=sb-io-test bs=64k count=16k conv=fdatasync; rm -rf sb-io-test
  • Check: Drive speed

“Contabo is notorious for providing low I/O speeds & you need to contact customer support & ask them to increase the SSD speeds. They are fast in responding & would re-adjust accordingly..”

Note: SSD speeds should be better w/ I/O speeds > 160 MB/s in order to pass Benchmarks. The node will fail otherwise..

⚠️ Planning to run FluxNode on Raspberry Pi

Follow the guide below: “FluxNode On Raspberry Pi 4b, Official Setup Guide”

Official Setup Guide

Video Instructions to setup FluxNode on Raspberry Pi414. The Famous Kamil (X4) FluxNode Script

FluxNode Setup for Raspberry Pi4B & Self Hosting

14. The Famous Kamil (X4) FluxNode Script

This is by far the easiest way to setup FluxNode created & developed by our team member XK4MiLX and others. This Multitoolbox script is used by everyone, novice or professional due to its simplicity & step by step procedure.

Setting up a FluxNode or troubleshooting your node, this script would help you resolve issues

15. Docker Install

Note: This script needs to be run on the root. Make sure you are on the root before you start the process. You can switch to by typing: su -

Option 1 : Install Docker & Option 2: Install FluxNode.

Before we start the script. It's important to type the commands below. Go ahead and press enter

sudo apt-get install curl

sudo apt-get install npm -y

15b. FluxNode Install Script

Copy the command below & paste it by “clicking the right mouse button” on the VPS

Start with executing

bash -i <(curl -s https://raw.githubusercontent.com/RunOnFlux/fluxnode-multitool/master/multitoolbox.sh)

Option 1: Install Docker — Select 1 on your keyboard. This will start the docker install process...

Type in the same username you entered for flux node inside zelcore wallet & press “Enter”. Type the password you want & confirm by entering the password again. The Docker will start the install process. It will take couple of minutes to complete.

When prompted to switch to user account, press (Y)

Important: Save the Username & Password, You will need to use this to log in to your VPS moving forward

16. FluxInstall

Start with executing

bash -i <(curl -s https://raw.githubusercontent.com/RunOnFlux/fluxnode-multitool/master/multitoolbox.sh)

Option 2: Install FluxNode — Select 2 on your keyboard. This will start the install process...

Enter the password of the FluxNode you created in the previous step & hit enter to continue. This will start the install process…

Confirming port 22 for SSH. Press enter to continue…

17. FluxNode Configurations

To get the configuration data for the flux node, follow the steps below

1- Click on three dots

2- Click on Edit

3- Click on Private Key to Copy

4- Click on Output TX id to Copy

5- Click to Copy the output Index

6- Click cancel after copying the configuration to the install script

Copy the PrivKey which was generated by your Zelcore wallet & right click the mouse button to paste & hit “enter”

Copy the collateral txid & paste by clicking the right mouse button then press “enter” to continue..

Copy the output index, paste & hit enter

18. Bootstrap File

Hit “Enter” to download or choose your source. Zel Team updates the bootstrap file from time to time, therefore it’s recommended to use “option 1"

This will start the bootstrap download process... This may take approximately “10 min~15 min” to complete…

Optional: Select <Yes> or <No> to remove or keep the bootstrap archive file. For this setup, we will remove it by selecting <Yes>

19. The ZelId

Click on Apps > ZelTools > Zel Id > Copy or click the QR Code.

19b. Entering KDA Information

Optional: If you want to set up KDA Node for your FluxNode. Only Nimbus & Stratus are eligible. Go ahead & enter your KDA address and select Chain 0 when prompted. The Cumulus Node is not eligible to run KDA node due to its limited hardware capabilities

20. Flux Blockchain Sync and Status

Check the connections & failed connections. Ideally, failed blockchain sync should be zero. It does fail sometimes but as long as the syncing process is continuing. It should be OK

Track the progress of the left remaining blocks . This process may take longer & depending on how many blocks needs to be downloaded & synced with the current chain.

This process may take between “45 Mins ~ 60 Mins” to be completed. Please be patient…

21. Install Alert Notification (optional)

Press “enter” to install alert notification for the FluxNode.

Select 1 for the discord notification

23. FluxNode Install Complete

Hooray !! If you have made it this far, then you have successfully configured FluxNode on your VPS.

24. Test Benchmark Pass/Fail

Confirm that your benchmark passes & it’s reflecting the type of node you will be running. In my case, I will be running NimbusNode, therefore, if my benchmarking has passed it will display “NIMBUS” on the status

Check Benchmarks: fluxbench-cli getbenchmarks

If your benchmark didn’t pass it will display status as “Failed” & you need to restart the benchmark process again. Use the following command:

Restart Benchmarks: fluxbench-cli restartnodebenchmarks

25. Final Checklist

Complete the following checklist. This will fix any steps you may have forgot or missed.

✅ Verify the IP address

✅Verify the private key/Output TX ID/Output Index

✅ Confirm 100 Block confirmations

✅ Verify the transparent address

✅ Benchmarks Pass/Fail

26. Starting Node from ZelCore Wallet

Launch full node. Check the Daemon information. Make sure you have peers connected and the blockchain 100% synced before starting up the node (important)

The node will display “Offline”. Click on 3-dots and click on “Start”. After 1–2 blocks your node will display “Started” & few blocks after your node will show “Confirmed”

Confirmed means “Your Node has been successfully launched” & you will start receiving the rewards within the next 24hrs.

If your node status is stuck in “Started” for a long time. This means either the benchmark didn’t pass or it failed shortly after. It could also mean you entered the wrong configuration. It’s a good idea to check your configuration and make sure they were entered correctly.

Your node eventually will display “DOS” & you will have to further troubleshoot to determine the root cause

27. Backing up Configuration (IMPORTANT)

This is the most crucial and final step you need to take before you exit your full-node wallet or exiting out of ZelCore.

⚠️ Warning: Backup !! Backup !! Backup !!

Backup Private Keys — In full-node wallet, Click on Tools > Wallet Management > Import/Export > 3rd option from the top > click on box to choose path > choose location > Export

Backup Wallet — In full-node wallet, Click on Tools > Wallet Management > Import/Export > 4th option from the top > click on box to choose path > choose location > Backup

⦁ Backup Zelnode.conf

⦁ Windows: C:\Users\YOURUSERNAME\AppData\Roaming\Zelcash

⦁ Mac OS: ~/Library/Application Support/zelcash

28. Starting/Running KDA Node (Stratus & Nimbus VPS ONLY)

Note: Running the Nimbus node on Raspberry PI doesn’t qualify to get KDA rewards at this time...

Open Full-Node wallet and Click on your FluxNode. This will open a new FluxOS page on your browser. Go ahead and sign your ZelId by clicking on the thumb impression

Nimbus & Stratus

Go to Apps > Local Apps > Available > KadenaChainWebNode > Install

For Stratus Only

Go to Apps > Local Apps > Available > KadenaChainWebData > Install

Note: Wait at least 24h/48h after the install for the app to be healthy, needs time for kda daemon to get 100% synced. Don’t restart the app before that time…

28b. Confirm your KDA reward eligibility!

Visit the link: https://api.flux.zel.network/kadena

29. Video Guide setting up KDA & monitoring

Note: If you are having difficulty setting up & running KDA. This video guide should help you. Also, KDA will not run on arm64 devices (Raspberry Pi) at this time

If you have any trouble with any step, head over to the discord & someone from our team will gladly help you out…

29. Deleting FluxNode & releasing the collateral (Optional)

If you ever decide to delete the FluxNode & wanted to unlock the collateral, please do the following. There are two ways to release the locked FLUX

Recommended Method

⦁ Hover on the 3 dots on the FluxNode & scroll down to the delete. Confirm to delete. This will restart your daemon and the collateral will be unlocked to spend

Alternate Method

⦁ On the main portfolio page, click on ‘Tools’ then Wallet Management. You will see “show locked list”. Find the address & click to unlock the collateral. Your collateral is ready to spend

😊If you find this guide helpful. Help out the Author a little😊

❤️ FLUX: t1RWYHhEbgwUdyirYkeqKi26xKHr7aSyzGW ❤️

BTC: 18dwHMpTich3P5oepE2CaD134df2obmYTV

ETH:0xf35c40d75f9c2dd47bd9c31e42e47e188c6cf49d

⭐Links:
💻Zel Website: https://zel.network
💻ZelDocs: https://zel.gitbook.io/zeldocs/
💻Ann: https://bitcointalk.org/index.php?topi...
💻Reddit: https://www.reddit.com/r/ZelOfficial/
💻ZelNode Dashboard: https://dashboard.zel.network
🔊The Core Podcast: https://anchor.fm/zelcash

👨‍👩‍👧‍👦 Social:
◆ Discord: https://discord.gg/F6VeCS4
◆ Twitter: https://twitter.com/Zelcash
◆ Twitter: https://twitter.com/Zel_Core
◆ Medium: https://medium.com/@ZelOfficial

⭐More Helpful Links:
💡ZelDocs: https://zel.gitbook.io/zeldocs/
💡ZelCore FAQ/Helpdesk: https://faq.zelcore.io

Zel Insights

Community-ran publications for the Zel Ecosystem