TWINS Masternode Setup Guide

New Capital
3 min readJan 24, 2019

--

This guide is for a setting up a TWINS masternode, on a Ubuntu 16.04/18.04 64bit server (VPS) and will be controlled from the wallet on your local computer (Local wallet). The wallet on the the VPS will be referred to as the Remote wallet.

Requirements:

  1. 1,000,000 TWINS
  2. A main computer (Your personal computer) — This will run the Local wallet, hold your collateral 1,000,000 TWINS and can be turned on and off without affecting the masternode.
  3. Masternode Server running Ubuntu 16.04/18.04(VPS — The computer that will be on 24/7 and runs the Remote wallet)
  4. A unique IP address for your VPS / Remote wallet.

Local wallet installation:

  1. Download, install and sync your TWINS wallet in your local computer. This will be henceforth referred to as the Local Wallet in this guide. Wallet links can be found here: https://win.win/
  2. Now in the Local wallet, enter the debug console by going to (Tools > Debug console) and type the following command: masternode genkey This command will generate your Masternode Private Key. Save this Key, we will be using it later.

3. Now in the Local wallet still, enter the following command on the debug console: getaccountaddress MN1 This will create a wallet address and masternode name for your masternode. Save this as we will need it later.

4. Send 1,000,000 TWINS to the address generated in the previous step. IMPORTANT: In the Amount box, type in EXACTLY 1,000,000. This single transaction tells the blockchain, the address you are sending to is a masternode. If you type in more/less than 1,000,000, or attempt to split the payment into two transactions you will not be able to proceed to the next step. When you press the Send button, the wallet will calculate the proper transaction fee. Click Yes in the dialog box that follows and proceed to the next step. Be absolutely 100% sure that this is copied correctly. And then check it again. We cannot help you, if you send 1,000,000 TWINS to an incorrect address

5. Using your local wallet, wait for 16 confirmations, and then enter the debug console (toolbar: Tools > Debug Console) and type the following command:masternode outputs This will display the transaction id followed by the output index . Save this to Notepad. (This gets the proof of transaction of sending 1,000,000 TWINS )

6. In the local wallet’s toolbar, click Tools > Open Masternode Configuration File to open masternode.conf and add the following line:

<Name of Masternode(Use the name you entered on step 3 for simplicity)> <Unique IP address of the vps>:37817 <The result of Step 2> <Result of Step 5> <The number after the long line in Step 5>

Save the file and restart the wallet.

Example as per above format:
MN1 67.234.12.34:37817 93HaYBVUCYjEMeeH1Y4sBGLALQZE1Yc1K64xiqgX37tGBDQL8Xg 2bcd3c84c84f87eaa86e4e56834c92927a07f9e18718810b92e0d0324456a67c 0
Example masternode.conf file

VPS Remote wallet install

To install the wallet first you will log into your VPS using your SSH client. After logging in, type the following commands into your VPS terminal.

1. Download the MN installation script

wget https://win.win/mn.sh

2. Run the MN installation script

bash mn.sh

3. Follow the instructions

Starting your Masternode:

Right click on your masternode and choose “Start alias”

Congratulations! You have successfully created your masternode.

--

--