Вы находитесь на странице: 1из 9

Masternode Setup Guide – Local Wallet with VPS Server

What you will need:


1- Local computer windows 7-10
2- Remote server – VPS [vultr.com]
3- Basic Linux Knowledge
4- PuTTY to configure and setup VPS
5- 10,001 FIX (the extra 1 FIX is needed to cover the transaction fees)

If you would like to sign up to Vultr through the referral link below.

Any funds generated will be re-invested in FIX


https://www.vultr.com/?ref=7279721

Updated 26th February


V1.0.0

Created By:
@Crypto_Gemmy

@Gemmy#6032

FORNIX
Creating VPS
Register an account with Vultr. Once you’ve done that, can create your first server

Select server location, have multiple options to choose from. All are perfectly ok

Next server type: Select Ubuntu 16.4 x64

Server size, select the 1GB option

FORNIX
You can setup a SSH key so you don’t need to use the password every time to login to the server. But to
keep things simple for the moment we are just going to use the standard password given after the server
is ready.

Last thing server hostname & label

Next we’re going to download PuTTY while the server is being setup
Download from here: http://putty.org

Once you download that, back to our Vultr account to grab the login details. And open PuTTY to add the
server log in details

Then enter your server login details provided in your Vultr account.

Note: You cannot ctrl+V to paste in the console. Either right click on mouse or shift+insert (sometimes
on keyboard it will just be INS key)

User: root
Password: (When you paste it will not display. Don’t paste again. Just paste once and click enter key)

Now the first thing we are going to do is to update the OS image and install the required dependencies
for the wallet to run, use same order and seek support if you face issues:

Update and Upgrade OS


sudo apt-get -y update
sudo apt-get -y upgrade
sudo apt-get -y dist-upgrade

This will take some time ... Coffee time 

FORNIX
Install required tools and dependencies
sudo apt-get -y install nano git
sudo apt-get -y install software-properties-common
sudo apt-get -y install build-essential libtool autotools-dev pkg-config libssl-dev
sudo apt-get -y install libboost-all-dev
sudo apt-get -y install libevent-dev
sudo apt-get -y install libminiupnpc-dev
sudo apt-get -y install autoconf
sudo apt-get -y install automake

Adding Bitcoin Repository


sudo add-apt-repository ppa:bitcoin/bitcoin

When you add the new Repo, you will be asked to confirm like the below, hit enter key:

Update & Install DB 4.8


sudo apt-get -y update
sudo apt-get -y install libdb4.8-dev libdb4.8++-dev

Now we have server updated and all the dependencies installed.

Creating Swap Space


cd /mnt
sudo touch swap.img
sudo chmod 600 swap.img
sudo dd if=/dev/zero of=/mnt/swap.img bs=1024k count=2048
mkswap /mnt/swap.img
sudo swapon /mnt/swap.img
sudo free
sudo echo "/mnt/swap.img none swap sw 0 0" >> /etc/fstab
cd

reboot

Optional Section (Firewall)

sudo apt-get –y install ufw


ufw allow ssh/tcp
ufw limit ssh/tcp
ufw allow 24246/tcp
ufw logging on
ufw enable

Check your firewall status using the following command:


ufw status

FORNIX
VPS wallet
Now server is ready to use wallet, you have the choice between only one of the options below, pre-
compiled wallets and compile your own wallet

1- Precompiled wallets:

You can download the wallet from

https://github.com/FornixCore/fornix/releases

Or by using the command


sudo wget https://github.com/FornixCore/fornix/releases/download/1.0/Fornix-1.0-
Linux-x86_64.tar.gz
sudo tar –xvzf Fornix-1.0-Linux-x86_64.tar.gz
sudo cp Fornix-1.0-Linux-x86_64/fornix* /usr/local/bin/

2- Compiling wallet:
sudo git clone https://github.com/FornixCore/fornix.git
sudo chmod +x fornix/autogen.sh
sudo chmod +x fornix/share/genbuild.sh
sudo chmod +x fornix/src/leveldb/build_detect_platform
cd fornix
sudo ./autogen.sh
sudo ./configure
sudo make

Coffee time 

sudo make install


cd

If you want to delete source code run the next command:


rm –rf fornix

Running the server (first run):

Start the daemon on the server, it will give us an error about missing rpc password.
That is OK, press enter key. We will come back to this later.

fornixd –daemon

FORNIX
Windows wallet
Open the windows qt wallet on your local computer.
You can download the wallet from:
https://github.com/FornixCore/fornix/releases

Create a new .txt file on your computer, to store the data we will use for the masternode, you can use
this format:

#########################################
MN Label:
MN Address:
Masternode Private Key:
Public IP:
MN Transaction ID:
#########################################

Click Receive Tab => Enter a label and click Request payment button.
Copy the address

Click Send Tab => Enter the copied address and send exactly 10,000 FIX
No more … No less
Single transaction
Wait for at least one confirmation on the blockchain

Record the label and the address in the text file we created earlier

FORNIX
Go to the [Tools > Debug Console] and enter these commands below:
masternode genkey

Copy that into the .txt file. Masternode Private Key

masternode outputs

The output will look like this


2bad3c84c84f27eaa85e4e5f834c82927z07f3e18718110b92z0d0324g56a67c 0

Register this output in the .txt file MN Transaction ID also record the MN public IP as the VPS IP from
vultr interface

Go to the [Tools > Open Masternode configuration file] and enter new line for the masternode as
below:
<Masternode Label> <VPS IP address>:24246 <MN private key> <transaction id> <The number after the long transaction id>

For our example


FIXMN001 192.168.111.222:24246 6Uw6JnQnmFkAzRfVzuHVA5x7yuSSSMnjtuCjiSmwKV8ER1pKiro 2bad3c84c84f27eaa85e4e5f834c82927z07f3e18718110b92z0d0324g56a67c 0

Save and close this Masternode configuration file

FORNIX
Configure the wallet on VPS

Go back to VPS on Putty


cd
nano .fornix/fornix.conf

Enter the following


rpcuser=<long random username>
rpcpassword=<longer random password>
rpcallowip=127.0.0.1
listen=1
server=1
daemon=1
maxconnections=256
externalip=<VPS IP address>
masternodeprivkey=<Stored in the .txt file we created earlier>

Press ctrl+X => Then Y to save => press enter to exit

Start the daemon on the server:


fornixd –daemon

We need to let it fully sync, give it a couple of minutes and enter:


fornix-cli getinfo

If the wallet has opened, it will give you the following:

{
"version" : 1000000,
"protocolversion" : 70810,
"walletversion" : 61000,
"balance" : 0.00000000,
"obfuscation_balance" : 0.00000000,
"blocks" : 1188,
"timeoffset" : 0,
"connections" : 3,
"proxy" : "",
"difficulty" : 30954.24691892,
"testnet" : false,
"keypoololdest" : 1519596413,
"keypoolsize" : 1001,
"paytxfee" : 0.00000000,
"relayfee" : 0.00010000,
"staking status" : "Staking Not Active",
"errors" : ""
}

FORNIX
Once your server has synced up, back to the local Windows machine.
Close the windows wallet, open it again and go to Masternode tab. You should see your MN listed.

Click the masternode you just added to highlight then Click Start alias or Start MISSING. Then click yes in
the popup.

To verify everything is ok, on the VPS type:

fornix-cli masternode status

You should see masternode started successfully

Congratulation!!!

You now have Fornix masternode running! 


And watch the rewards come in…

Have queries?
Please visit our discord: https://discord.gg/rpPCjHT

FORNIX

Вам также может понравиться