Tokugawa Masternode Set Up

in tokugawa •  7 years ago 

Hi, I would like to show you guys how to set up remote vps masternode for Tokugawa. Just follow my guide you guys will able to set up a masternode less than 30 minutes! :)

Let's get started.

First you guys need create vps server. I will use vultr for this guide. Here is the link to start https://www.vultr.com/?ref=7188571

Required Operating System: Ubuntu 14.04

Setting Up a Server

After creating Vultr Account click on the big plus sign
2017-11-25 22_08_15-My Subscriptions - Vultr.com.png

It will take you to the creating server page.

1.First choose your server location. Which means choose the closest place to you. In my case Chicago.

  1. Choose Server Type.
    We would like to choose Ubuntu 14.04
    2017-11-25 22_13_49-Deploy Servers - Vultr.com.png

  2. Choose Cheapest Server Size :)
    2017-11-25 22_15_45-Deploy Servers - Vultr.com.png

  3. Give it a server name. I named simple tokugawa-1
    2017-11-25 22_18_41-Deploy Servers - Vultr.com.png

  4. Press Huge button Deploy Now and done. Let's wait until server is finished.

Setting up a control wallet with a masternode configuration.

After we have finished setting up a server. We are going to click on the manage
2017-11-25 22_24_50-My Subscriptions - Vultr.com.png

Download Putty In order to access to the server. Here is the link.
https://the.earth.li/~sgtatham/putty/latest/w64/putty-64bit-0.70-installer.msi

After downloading putty go to your windows search bar and search for the putty word it should show up. Now open up your putty in order to access to the server

Now go back to your web browser. You should see this page.
2017-11-25 22_29_51-Manage 104.238.164.50 - Vultr.com.png

Copy your server ip address put it in the putty.
2017-11-25 22_31_37-PuTTY Configuration.png

Press Open and press Yes. You should see a terminal looks something like this.
2017-11-25 22_33_45-Innova Core - Wallet.png

Now type the username:root
press enter
after that copy or type the password. Copy the password from vultr and paste to the terminal simply right click on mouse will paste to the terminal. Password will be hidden.

It is just simply copy paste from now on. Just copy what I have and paste to the terminal :).

  1. Let's update and upgrade the server
    sudo apt-get update -y
    apt-get upgrade -y

Note: when you see the this thing just press enter inside terminal.
2017-11-25 22_48_43-.png

  1. Let's install essentials
    sudo apt-get install -y build-essential libtool autotools-dev pkg-config libssl-dev libboost-all-dev autoconf automake

  2. Installing libsecp256k1
    sudo apt-get install git
    git clone https://github.com/bitcoin-core/secp256k1
    cd ~/secp256k1
    ./autogen.sh
    ./configure
    make
    ./tests
    sudo make install

  3. Install libminiupnpc
    sudo apt-get install libqt4-dev libminiupnpc-dev

  4. Install libgmp
    sudo apt-get install libgmp-dev

  5. Install Openssl
    sudo apt-get install openssl

  6. Install Berkeley 4.8
    apt-get install software-properties-common && add-apt-repository ppa:bitcoin/bitcoin
    apt-get update
    apt-get install libdb4.8-dev libdb4.8++-dev

  7. Allocating Memory with Swap
    sudo dd if=/dev/zero of=/var/swap.img bs=1024k count=1000
    sudo mkswap /var/swap.img
    sudo swapon /var/swap.img
    sudo chmod 0600 /var/swap.img
    sudo chown root:root /var/swap.img

Now we going to use nano. Nano is linux notepad
sudo nano /etc/fstab
Press bottom arrow and scroll to the bottom and paste this
/var/swap.img none swap sw 0 0
2017-11-25 23_51_34-Innova Core - Wallet.png
Press CTRL-X > Press Y > Press [ENTER]

  1. Installing and Compile the Wallet From Source Code
    cd ~
    git clone https://github.com/TokugawaCoin/Tokugawa
    cd ~/Tokugawa/src
    make -f makefile.unix # Headless

Note: 10-20 Minutes Wait time here

  1. Command and Running Tokugawad
    strip Tokugawad
    sudo cp Tokugawad /usr/bin/
    Tokugawad

  2. Getting mastenrode private key
    Go to your windows tokugawa wallet and open up
    Now go to Help> Debug Window > Console > Type masternode genkey and you should see output this is going to be your masternode private key copy it and save it somewhere

2017-11-25 23_59_27-Innova Core - Wallet.png

  1. Configuring Tokugawa For a Masternode

Now do this.
nano ~/.Tokugawa/Tokugawa.conf
Copy and paste this.

rpcuser=putanyworkyoulike
rpcpassword=putanyworkyoulike
rpcport=21116
server=1
listen=1
daemon=1
masternodeaddr=[your-server-ip-address-here my is 104.238.164.50 ]:21117
masternode=1
masternodeprivkey=[your masternode private key from step 11 my is 69TcHWwv9ZJK9gfxBAr2bbQQSTY7cmTy9DGpFsgBLt3VThtdPfe]

Press CTRL-X > Press Y > Press [ENTER]

We are done configuring the masternode now let's started Tokugawa masternode!
Tokugawad
Great we are almost finished!

  1. Configuring Masternode Cold Wallet

Let's go back to windows tokugawa wallet.
Go to Receive > New Address MN01 > Press OK2017-11-26 00_10_43-New receiving address.png
Let's copy adress
2017-11-26 00_11_38-root@innova-2_ ~_.innovacore.png
Send Exactly 2500 TOK coins. NOTE: Go to your transactions wait for at least 15 confirmations

  1. Getting TxHash and TxIndex
    Now Go to Help > Debug Window > Console > Type masternode outputs
    You should see some thing like this but different values
{
    "1e665c23487ec14a147170ee4b4e24255ed1f9d032a49bb16df7b8c1f9fasdf8" : "0",
}

Copy this information and save it and exit out from console.

  1. Creating Masternode from windows.

Now go back to your windows wallet go to Masternodes > Create
Fill out like this
2017-11-26 00_20_49-Add_Edit Tokugawa Node.png
Press OK

Now Press Update
2017-11-26 00_21_58-Innova Core - Wallet.png

After that press Start All

Your masternode is completed

Authors get paid when people like you upvote their post.
If you enjoyed what you read here, create your account today and start earning FREE STEEM!
Sort Order:  

I can not see server running after typing ./Tokugawad

Instead of ./Tokugawad you do Tokugawad

Can I get some help setting these MN up? I have 2 running on my personal computer but I can't seem to get through your guide.

I can pay you in TOK for your help.

Just goto a MN pool. Easier.

Did you manage to set up

hey aziz, after configuring the node and attempting to start it, it says "Tokugawa server starting" but doesnt do anything after that. Also, when I check masternode status in the debug window it says "status" : 0," there as well. I think it may be a firewall issue?

do you still need help?

This looks like a promising project! I will research more!

Great guide Masternode Set Up!!!
I want to present one more coin with Masternodes - Virtus
https://bitcointalk.org/index.php?topic=2983251

Hi! We have an Steemit Crypto Blog Bounty running right now.
Maybe you want to write an article on Steemit about StakingLab.io and earn some Masternode / POS Coins :)

So if you want, join in and write!
https://steemit.com/stakinglab/@tcubed/stakinglab-s-steemit-bounty