How to setup your Footy Cash masternode on a VPS

in #footycash7 years ago (edited)

1jpegs.jpg

Footy Cash is a Fantasy Sports Coin that was created to address privacy concerns, reduce fees, and infuse some excitement to the daily fantasy industry.

Website to Footy Cash: http://beta.footycash.com/

Video for this Tutorial

This tutorial will show you how to setup a Footy Cash masternode with Ubuntu 16.04 LTS VPS

Things Needed:

VPS From Vultr (5$ Vps perfect . You can add more than 1 masternode on there. (Not the same masternode tho) : https://goo.gl/mxcb24

5000 Tokens from Cryptopia : https://goo.gl/auqctL

Putty: http://www.putty.org/ ( Putty Windows users, Terminal for Mac )

Once you have created and launched your masternode VPS, login as root and create a new user using putty. The login details for your root will be emailed too you once you created the server with Vultr

( also remember to do your security updates and make use of RSA ssh keys. ( will do a video on all of this )

VPS Setup
Step 1: Run these commands to make a swapfile (for small VPS) :

sudo dd if=/dev/zero of=/var/swap.img bs=1024k count=1000 sudo mkswap /var/swap.img sudo swapon /var/swap.img

Run free again to confirm you now have a swapfile. Note: If you chose a different server option from Vultr, with less RAM, you’ll need a LARGER swapfile, i.e. set the count parameter to something larger like 2048, 4096 etc. If the compilation steps fails partway through this is usually the reason.

To make the swap file persist when the server is rebooted:

sudo chmod 0600 /var/swap.img sudo chown root:root /var/swap.img sudo nano /etc/fstab

Append the following line to the end of the file:

/var/swap.img none swap sw 0 0

Save the file and exit

Step 2: Firewall ( can do this step at anytime )

sudo ufw allow OpenSSH sudo ufw allow 17018 sudo ufw allow ssh/tcp sudo ufw limit ssh/tcp sudo ufw default deny incoming sudo ufw default allow outgoing sudo ufw enable

Step 3: Install all dependencies

apt-get update sudo apt-get -y update && sudo apt-get -y install build-essential libssl-dev libdb++-dev libboost-all-dev libcrypto++-dev libqrencode-dev libminiupnpc-dev libgmp-dev libgmp3-dev autoconf autogen automake libtool

Step4: Install Footy Cash from Github V.2.0.1.0

mkdir footycash cd footycash git clone https://github.com/FootyCash/FootyCashV2 cd FootyCashV2 cd src/ cd leveldb sudo chmod 755 * -R cd .. sudo make -f makefile.unix clean && make -f makefile.unix USE_UPNP=1 -j 1 sudo mv footycashd /usr/local/bin

Step5:
we are now good to start the daemon:

footycashd --daemon

You will get a error here or the notice the daemon wont start. This is becasue the footycash.conf is empty and we need to populate it.

footycashd stop

nano .footcashv2/footycash.conf

Copy paste the following and make changes as per the comments:

rpcuser=footycash rpcpassword=XXXXXXXXXXXXXXXXXXXXXXX rpcallowip=127.0.0.1 listen=1 daemon=1 server=1 staking=0 #masternode=1 #masternodeaddr=XX.XX.XX.XX:17018 #masternodeprivkey=xxxxxxxxxxxxxxxxxxx addnode= 92.222.124.88 addnode=45.58.121.142 addnode=66.55.130.13 addnode=72.178.196.79 addnode=213.250.22.35 addnode=109.157.39.60 addnode=49.3.48.231 addnode=120.146.235.230 addnode=31.22.27.27 addnode=90.145.211.170 addnode=95.96.92.78 addnode=186.68.217.188 addnode=82.39.218.201 addnode=2.155.144.78 addnode=141.89.216.78 addnode=46.4.37.60 addnode=74.208.235.170 addnode=151.236.245.93 addnode=84.75.61.166 addnode=35.189.249.117 addnode=27.67.40.1 addnode=77.249.216.150 addnode=186.68.217.188 addnode=82.39.218.201 addnode=2.155.144.78 addnode=141.89.216.78 addnode=46.4.37.60 addnode=74.208.235.170 addnode=151.236.245.93 addnode=84.75.61.166 addnode=35.189.249.117 addnode=27.67.40.1 addnode=77.249.216.150 addnode=96.10.34.116 addnode=seedv2.footycash.com Now press CTRL + X (Then save and leave the # like they are. We going to fill that shortly. ) Step 6: Now we can generate a privkey footycashd masternode genkey copy and hold this for the conf Then run footycashd getaccountaddress 0 This is the address you need to send your 5000 coins too. Now go ahead and edit the conf file again: nano .footcashv2/footycash.conf Now add your GenKey and IP for your server. Please remember to remove the #'s Now press CTRL + X to save. we are now good to start the daemon: footycashd --daemon Type footcashd getinfo to make sure the block chain is sync and coins showing in your balance. Once it is all synced we can start the masternode: footycashd masternode start To Encrypt the wallet you can do the following: ( backup wallet.dat before ) footycashd encryptwallet YOUR_WALLET_PASSWORD Then to start the node: footycashd masternode start YOUR_WALLET_PASSWORD If you found this Tutorial helpful please feel free to Tip us some footy :) FootyCash: FJ11jECzt9bqoiyrdChBuDBbUNoEqmo5cz

Sort:  

very good job, thank you

You very welcome!

Will you start uploading here more often or use Dtube? :)