Setting up a Zcoin Masternode/Znode

Disclaimer: I assume you have basic knowledge of Linux and your own OS. I’m not responsible for any loss by using this guide. I assume you don’t have a learning disorder. Do not proceed this guide if you have any doubts in the guide or in yourself.

- This guide has been updated at July 31 2018

Never sent your private key to anyone. Not even me. Don’t get social engineered by people acting they want to help you on discord or telegram.

Vultr

CentOS

Anyways are you cheaper than a college student pirating textbooks? Fear not! The $5 node aka “The vultr shitty” is something for you.

$ ssh root@ip-addr-here

update machine

# su -c 'yum update' -y
# su -c '/sbin/chkconfig --level 345 yum on; /sbin/service yum start'

Zcoin binaries

# wget https://github.com/zcoinofficial/zcoin/releases/download/0.13.6.6/zcoin-0.13.6.6-linux64.tar.gz
# tar -xvzf zcoin-0.13.6.6-linux64.tar.gz
# cd zcoin-0.13.6/bin/
# sudo cp -f zcoind /usr/bin/zcoind
# sudo cp -f zcoin-cli /usr/bin/zcoin-cli
# sudo fallocate -l 4G /swapfile
# sudo chmod 600 /swapfile
# sudo mkswap /swapfile# sudo swapon /swapfile
# echo “/swapfile swap swap sw 0 0” >> /etc/fstab

Swapiness

# sudo sysctl vm.swappiness=10
# echo “vm.swappiness = 10” >> /etc/sysctl.conf
 # getenforce

Computer/Laptop side

{
"7SomeRandomLongAssStringHere" : "0"
}

Znode/Masternode zcoin.conf configuration

echo "Enter your znode genkey (starts with 8): "
read genkey
sudo mv .zcoin/zcoin.conf .zcoin/zcoin.bak
touch .zcoin/zcoin.conf
IP=$(curl http://checkip.amazonaws.com/)
PW=$(date +%s | sha256sum | base64 | head -c 32 ;)
echo "==========================================================="
pwd
echo "daemon=1" > .zcoin/zcoin.conf
echo "rpcuser=zcoinrpc">> .zcoin/zcoin.conf
echo "rpcpassword="$PW >> .zcoin/zcoin.conf
echo "rpcallowip=127.0.0.1" >> .zcoin/zcoin.conf
echo "listen=1" >> .zcoin/zcoin.conf
echo "server=1" >>.zcoin/zcoin.conf
echo "externalip=$IP:8168" >>.zcoin/zcoin.conf
echo "logtimestamps=1" >> .zcoin/zcoin.conf
echo "maxconnections=64" >> .zcoin/zcoin.conf
echo "txindex=1" >> .zcoin/zcoin.conf
echo "znode=1" >>.zcoin/zcoin.conf
echo "znodeprivkey="$genkey >>.zcoin/zcoin.conf
#Start Zcoind to begin sync
zcoind
Start all
Znode is running

Extra — — —

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store