Tutorial |How To Deploy EtherZero Masternode Step By Step?

EtherZero
7 min readAug 13, 2018

It’s of great importance that a premium sever can insure the normal running of Masternode. There is no doubt that every investor is hungry for stable profit without difficult operation. And we do understand what our inviestors are thinking and no every ETZer is technical geek or having a deep understanding of blockchain knowledge. Most ETZers frequently ask us how to build up the masternode from scratch.

In order to guarantee every ETZer to smoothly build up his/her masternode in EtherZero mainnet, this tutorial is guiding everyone to set up EtherZero masternode steps by steps with words and diagram.

Please follow below steps, you can also be a technical geek!

-How to select proper VPS Hosting(Virtual Private Server)

-How to install PuTTY

-How to install EtherZero Geth

-How to launch EtherZero Geth

-How to deploy EtherZero Masternode

1.How to select proper VPS hosting(Virtual Private Server)?

VPS hosting is a Virtual Private Server, and is a virtualized server. A VPS hosting environment mimics a dedicated server within a shared hosting environment. It is technically both shared hosting and dedicated hosting. Every VPS is equipped with dedicated IP ,memory, CPU and operating system. This means we don’t need to equip sturdy host computer in the room with memory, CPU when deploying EtherZero masternode.

Some people would ask: why don’t you choose ECS?

What is ECS( Elastic Computer Service)?

Elastic Compute Service (ECS) is a type of computing service that features elastic processing capabilities. ECS has a simpler and more efficient management mode than physical servers. You can create instances, change the operating system, and add or release any number of ECS instances at any time to fit your business needs.

But to deploy Etherzero masternode, it’s needed to run the servers the long year round. We do suggest our beloved ETZers to choose suitable VPS with reasonable price and functions.

VPS ProviderDigital Ocean

We have different kinds of VPS providers to choose like Vultr, Digital Ocean, Linode, Bandwagonhost, EtherZero Official highly recommend Digital Ocean.

Register Digital Ocean Account

  1. Browse Digital Ocean homepage, and click on “Start Free” in the upper right corner.

2. Fill in your Email and password and Click Create Free Account”.

3. Turn on your registered mailbox and click on the comfirmation link to complete registration.

4. Add payment method to your account with Credit/Debit Card or paypal. Fill in with your card number, expire day and CVC code.

Create your own VPS

Login in your Digital Ocean account, click on the left side “Droplet” →“Create Droplet”

Choose “ Ubuntu 18.04.1x64”operating system, click on” 16GB 6 vCPUs 320GB 6TB”, USD80 per month is not that expensive, that is USD960/year for the whole severs cost.

Choose a datacenter region

The stability of different country’ server differ from each country, in China, we do suggest ETZer to choose “Singapore“,because Singapore is not far away from china geographically. For example, if you are located in Russia, it’s better for you to choose VPS region near Russia like London, Franskfur

Click “Create”then turn to another page, IP address would appear. It means VPS is created successfully and ready for your masternode deployment.

2. How to install PuTTY for Windows operating system?

Download putty on https://www.putty.org/, which it’s a free SSH and telnet client for Windows.

Note: if you have an apple macbook,just ignore this processure,Find out Setting->Terminal

  1. Open PuTTY,fill in VPS IP address and port(Default 22)

2. Choose Connect →Data, fill in auto-login username: root

3.Saved sessions: ETZ(name it by yourself)

4. Click “save” and deployment successful

3.How to install EtherZero Geth?

Open PuTTY.exe and select the saved sessions “ETZ”,and click “open

Click “Yes”in below diagram “ Putty Security Alert

Input root after “login as” and then you will be asked to input your password ( the VPS’s password can be found in your registered mailbox. ( you must right click your mouse to finish entering the password)

But when you are the first time to get access to VPS, you will be asked to change password.

Please right click the mouse to input the current UNIX password and then enter to double input the new password. When “root@ubunta-s-xxx-xxx” appears, it is done.

Then input below command:

sudo apt-get install -y build-essential golang

then you have to wait for 2–3 minutes until “root@ubunta-sxx-xx”appears, it’s successful.

4.How to launch Etherzero Geth?

Contine the below steps, please input below command:

git clone https://github.com/etherzero-org/go-etherzero

Please wait for 30sec to 1 mintues, the sever would clone Etherzero data from the mainnet, you have to wait until “ checking out files: 100%(xx/xx), done”appears, and then input below command:

cd go-etherzeromake geth

Wait for another 30sec, until” Run “/root/go-etherzero/build/bid/geth” to launch geth” turn up, Etherzero Geth is successful installed.

Time to launch Etherzero Geth

Continue to input below command:

nohup /root/go-etherzero/build/bin/geth --syncmode full --masternode &

wait until “ nohup: ignoring input and appending output to ‘nohup.out’ turns up, it means it’s successfully launched but if you want to check whether it’s launched successfully, please input below command:

ps -axu | grep geth

If two line of code start with “root xxx”, it means successful launch.

How to get access to Etherzero console?

By getting access to EtherZero Console, we are easily getting more know the detailed data of Etherzero Masternode, please input below command:

/root/go-etherzero/build/bin/geth attach

Please wait until “ welcome to the Geth Javascript console”, it’s accessed successfully, and then input below code to check masternode data.

masternode.data

If you are the first time to get access to the console and it’s not a masternode owner, you must copy the masternode data in green shown below and paste in your word file.

Then enter below code to exit the console.

exit

5.How to deploy EtherZero masternode

We all know the below steps are very crucial because all of them are the basic for deployment of masternode.

1. Transfer 20,000 ETZ to masternode smart contract address

-1.1 By Etherzero Online Wallet, you have to make sure below data is accurate.

Address: 0x000000000000000000000000000000000000000a

Amount: 20,000

Gas Limit: 2,700,000

Data: it’s the masternode data

-1.2 By GoETZ, you have to go to www.etherzero.org, install your GoETZ for your google chrome or firefox browser.

Recipient Address: 0x000000000000000000000000000000000000000a

Amount: 20,000

Transaction Data: it’s the masternode data

Gas limit: 2,700,000

Gas price: 20

Note: One server is only limited to one masternode, send ONLY 20,000 ETZ at a time

Make sure accurate smart contract address. check the 100% right smart contract address on EtherZero official website, please see below picture:

2. Set up Masternode mining Mode

First get access to Etherzero Geth and go into Console, and then input below command:

/root/go-etherzero/build/bin/geth attach

3. Set up Mining address. Here please replace your own ETZ address in below command:

miner.setEtherbase("0xFc6d39f08ff0850a84cb1B5fa34598798Cab76")

4. Start to Masternode Mining to get profit everyday. Input below command:

miner.start();

5. Check your Geth Blance. Input below command:

eth.getBalance("0xFc6d39f08ff0850a84cb1B5fa34598798Cab76")

The steps by step tutorial is compeleted, I think this article is very easy to understand. Anyone who is confused, please feels free to contact our Etherzero customer service at Telegram channel.

ETZ official telegram group: https://t.me/etz_official

--

--

EtherZero

Build daily using DAPPs with EtherZero Platform.0 TX fee, instant pay and high scaling of thousands of TPS.Made by Dapp developers, for Dapp developers.