Setup and install a Kore Masternode

in #kore7 years ago

KORE Platforms are focused acutely on Privacy and Security, directed at regaining these critical Inalienable Human Rights. Privacy and Information Security is among of the most important arenas this decade where we must press and protect our freedoms.

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

500 Tokens from Bittrix : https://bittrex.com

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

Step 1:

Download the QT wallet and send 500.1 to your wallet.

Step 2: Create Shell script & open firewall

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

Now start!

sudo apt-get update && sudo apt-get upgrade -y
sudo apt-get install nano -y
sudo apt-get install git -y
nano install.sh

Now copy and paste everything bellow in the install script.

fallocate -l 4G /swapfile
chmod 600 /swapfile
mkswap /swapfile
swapon /swapfile
echo $\n/swapfile none swap sw 0 0 >> /etc/fstab
clear
#Install Dependencies
echo Dependencies installing ...
apt-get install software-properties-common -y
echo|apt-add-repository ppa:bitcoin/bitcoin
apt-get update && apt-get upgrade -y
sudo apt-get install -y libdb4.8-dev libdb4.8++-dev
sudo apt-get install build-essential libtool autotools-dev automake pkg-config libssl-dev libevent-dev bsdmainutils libboost-all-dev libdb4.8-dev libdb4.8++-dev libminiupnpc-dev libzmq3-dev libqrencode-dev libsqlite3-dev libasound2-dev uuid-dev libuuid1 liblog4cplus-dev libcurl4-openssl-dev libspeex-dev libspeexdsp-dev libqt5gui5 libqt5core5a libqt5dbus5 qttools5-dev qttools5-dev-tools libprotobuf-dev protobuf-compiler libqt5webkit5-dev libavcodec-dev libavformat-dev libavutil-dev libsdl2-dev libgsm1-dev libopencore-amrnb-dev libopencore-amrwb-dev libswscale-dev libsdl1.2-dev libopus-dev libavdevice-dev libsndio-dev libjack-dev
git clone https://github.com/Kore-Core/KORE.git
cd KORE
echo Dependencies Finished installing.
echo Configuring Kore
echo clearing cache
sync; echo 3 > /proc/sys/vm/drop_caches
echo cache cleared
./autogen.sh
./configure
make install
echo Kore Configured

Now save:

press Ctl o
press Enter
press Ctl x
press Enter
chmod +x install.sh
./install.sh

Step 3: Start the Daemon

kored --daemon
kore-cli masternode genkey (save the masternode key that generates here)
sudo kore-cli stop
cat ~/.kore/onion/hostname (save onion address that displays here)

Step 4: Edit conf

nano ~/.kore/kore.conf

Copy paste the below code

server=1
daemon=1
rpcuser=A_USERNAME_YOU_WANT_TO_USE
rpcpassword=
A_PASSWORD_YOU_WANT_TO_USE
rpcport=9932
rpcallowip=127.0.0.1
listen=1
staking=0
masternode=1
masternodeprivkey=put your MN private key here
masternodeaddr=put your onion address here
txindex=1
addrindex=1
addnode=73zwmk4bpsig4pme.onion
addnode=4aynkbwmoje6p27p.onion
addnode=hxgchjn2dom3teev.onion
addnode=hzvrfa5xa2qulysi.onion
addnode=hggmh3vhkjebz4j5.onion
addnode=gameldrtkm4u4ds2.onion
addnode=k75pshpf226ra65s.onion
addnode=zdwnbnrwty33uuev.onion
addnode=l4meqo3zi74h7edw.onion
addnode=k6a5ebhrkfxbwqvl.onion
addnode=bqr7zsfgpztd4m4q.onion
addnode=hvjjqjjajii2ycix.onion
addnode=bqr7zsfgpztd4m4q.onion
addnode=hzvrfa5xa2qulysi.onion

Now save and exit

press Ctrl Key +o
press Enter
press Ctrl Key +x

Step 5: Start & sync
kored -reindex

Wait a few moments and then run

kore-cli getconnectioncount
kore-cli getinfo

Step 6: Local wallet & send coins

Create a new incoming address to receive coins and send 500 kore coins ( with fee ) from bittrex to this new address.

Wait for the 500 coin you sent from bittrex wallet to the local wallet. Go to the transactions tab in the local wallet and select your transaction. Right click and select copy raw transaction info.

Step 7: Decode RAW TX

Go to Help >> Debug Window .... then select the Console tab.
In the console tab, enter the following without the ***s...

decoderawtransaction paste your transaction id here
Press enter

Find your out transaction of 500 coins and then look for the value of "n" right next to it. It should be a number between 0 and 9
Remember the value of n

Step 8: Edit masternode.conf for local wallet

Edit your masternode.conf located inside your local /.kore/ folder add the following line at the bottom of the doc:

masternodename %hostname%:10743 masternode key 500 kore tx id without the -000 "n" value

Do not keep the ***s, they are only to express entity separation in the example...
save and exit

Step 8: Restart the Wallet and Check

Restart your Local Kore wallet

Go to settings >> options >> select the wallet tab >> Check the Show Masternodes Tab >> Click Ok

On the left of the wallet, select the Masternodes tab... you will see your Masternode in the list under My Masternodes tab

Select your masternode you just created and click on "Start alias" follow the prompts...

You can check your masternode by loging back into your VPS and entering this command:

kore-cli masternode status

You should see this:

"status": "Masternode successfully started"

If you need more help Join us at : https://www.cryptocrib.net/

Tip me Kore at : KL2cMw1ytGqTWKedAezd2KmRTYTD1SHwR1

Sort:  

Another good setup guide, thanks mate.

Good night,
you can mount the masternode in a windows VPS, I have a masternode of Desire and Vataur running in the windows VPS, can I run it there?
Please help me and I will share my first mining rewards.