How to setup a SocialSend Masternode (SEND Masternodes)

social send masternode

Guide / Tutorial on how to setup a Social Send Masternode on a Linux VPS.

Prerequisites:

  • Ubuntu VPS from VULTR (cheapest VPS is enough)
  • SEND Wallet on local Computer

Definitions:
Controllers Wallet = Wallet on local Computer
Masternode Wallet = Wallet on remote VPS Server

SEND Controllers Wallet Setup

First, open SEND Wallet and go to “debug window”.

In this debug window, go to “Console” and type in “masternode genkey”. Save the output to a text file called “masternode.txt”.

Now create a new address called “Masternode1”

Then, go to tab “send” and send EXACTLY 6,250 SEND to your Masternode1 address.  Wait for 15 Confirmations.

Open the debug window again and type in “masternode outputs”. Save both values in the masternode.txt file.

Ubuntu VPS Setup

If you don’t have a VPS already, get the 1GB Ram VPS from Vultr:  Rent VPS

Install Ubuntu 16.04 x64 OS onto it.

Connect to your Ubuntu VPS via SSH and update & upgrade the server first.

apt-get update
apt-get upgrade

Now add a user and add him in the sudoers group so he has root access.

adduser send
adduser send sudo

Now change to user “send” and setup SSH keys for enhanced Security.

su send

sudo ssh-keygen -b 4096
cd .ssh
sudo cat id_rsa.pub >> authorized_keys

Now save the private key “id_rsa” to your clients computer so you can authenticate to the server with the SSH Certificate. (You must convert id_rsa to a “.ppk file in order to use the privatekey with Putty)

Restart the SSH Server and test if the authentication with the private key works.

sudo service ssh restart

If it works, edit the SSH config file to disable password authentication & root login.

sudo nano /etc/ssh/sshd_config

Change following Values in the file.

PasswordAuthentication no
UsePAM no
PermitRootLogin no

SEND Masternode Setup

First we must setup swap space, so we can compile send even with low ram. If we don’t setup swap space and have low ram, the compiling process will probably fail.
RUN THIS AS ROOT USER!

fallocate -l 3G /swapfile
chmod 600 /swapfile
mkswap /swapfile
swapon /swapfile
echo -e "/swapfile none swap sw 0 0 \n" >> /etc/fstab

Now we install some dependencies.
From now on as SEND User!

sudo apt-get install -y pkg-config
sudo apt-get -y install build-essential autoconf automake libtool libboost-all-dev libgmp-dev libssl-dev libcurl4-openssl-dev git 
sudo add-apt-repository ppa:bitcoin/bitcoin
sudo apt-get update
sudo apt-get install libdb4.8-dev libdb4.8++-dev

Install SEND onto the ubuntu vps server.
Run following Commands to install git, compile software & more

cd
sudo git clone https://github.com/SocialSend/SocialSend.git 
cd SocialSend 
sudo chmod +x share/genbuild.sh 
sudo chmod +x autogen.sh 
sudo chmod 755 src/leveldb/build_detect_platform
sudo ./autogen.sh 
sudo ./configure
sudo make
sudo make install

Now start the sendd daemon for first time and save “rpcuser & rpcpassword” into a text file.

cd ~/SocialSend/src
sendd -daemon

Edit the “send.conf” file on the masternode vps server.

sudo nano ~/.send/send.conf

Paste this into it and adjust the values to your values. (masternodeprivkey is the value you got from “masternode genkey” in debug window)

rpcuser=anyuser
rpcpassword=anypassword
rpcallowip=127.0.0.1
staking=1
server=1
listen=1
daemon=1
logtimestamps=1
maxconnections=256
masternode=1
masternodeprivkey=xxxxxxxxxxxx

Now start the sendd daemon again

cd ~/SocialSend/src
sendd -daemon

Check info

send-cli getinfo

If the output of the “getinfo” command seems good, go to the next Step.

Final Masternode Setup Step

Back on the local Computer, go to “%appdata%/SEND/send.conf” and add these 2 lines with your values. (You set rpcuser & rpcpassword on the vps)

rpcuser=YOURRPCUSERNAME
rpcpassword=YOURRPCPASSWORD

Now go to “%appdata%/SEND/masternode.conf” and add the following lines (with your values)

MN1 123.220.42.69:50050 93HaYBVUCYjEMeeH1Y4sBGLALQZE1Yc1K64xiqgX37tGBDQL8Xg 2bcd3c84c84f87eaa86e4e56834c92927a07f9e18718810b92e0d0324456a67c 0

 

MN1 = Masternode alias
123:220.42.69:50050= IP address & port of remote ubuntu masternode vps
93HaYBVUCYjEMeeH1Y4sBGLALQZE1Yc1K64xiqgX37tGBDQL8Xg = output of “masternode genkey” command
2bcd3c84c84f87eaa86e4e56834c92927a07f9e18718810b92e0d0324456a67c = 1. value of output of “masternode outputs” command
0 = 2. value of output from “masternode outputs” command in debug window

Now reopen the SEND Wallet, goto “Masternodes” and click Start alias. Your remote Masternode should now be running!

I hope i could help you on how to setup a SEND Masternode! 🙂
If questions, please comment below 🙂

 

SEND TIP Jar: SNJaWiCxtT2Xg23VrcHqr8HZ3rytrbPmQw

 

You May Also Like

About the Author: n1njawtf

Serial Crypto Entrepreneur with a variety of Crypto related Websites. Passive Income, Lead Generation & Investing is my passion. My name is Markus Fleischli, I am 19 years old and currently living in Switzerland. Coming from an IT Background, I discovered Bitcoin in 2014. Bitcoin and Altcoin Investor since then. Operator of multiple Cryptocurrency Masternodes.

21 Comments

  1. Thanks for the tutorial! I tried it and it didn’t work here for me:

    sudo ssh-keygen -b 4096
    -> this worked. I got an output with fingerprint and randomart image in the console

    cd .ssh
    -> can’t find the directory, it says: “No such file or directory”. I tried the following then which worked: “cd /etc/ssh”

    sudo cat id_rsa.pub >> authorized_keys -> It seems I’m not authorized to do this. It says: “authorized_keys: Permission denied

    My console skills are quite… “rusty”… let’s say 😉 Could you help me how to proceed from here, what is the problem?

    Thanks and cheers!

  2. Thank you for this tutorial 🙂 But can you help me with this step please ? :
    “Now save the private key “id_rsa” to your clients computer so you can authenticate to the server with the SSH Certificate. (You must convert id_rsa to a “.ppk file in order to use the privatekey with Putty)”

    I am not able to understand how to achieve this on the VPS and the putty being on my computer 🙁

  3. hey, could you specify the geinfo part, what am i looking for in those stats? just started my masternode 12h ago and am not seeing any connections or recieving any payments from it.

  4. Thanks for the tutorial. It worked great!.
    Now, how can I get two nodes running at the same time?
    Can I use the same wallet?
    Do I have to set up different servers, can I use the same one?

  5. @felix re: cd .ssh
    -> can’t find the directory, it says: “No such file or directory”. I tried the following then which worked: “cd /etc/ssh”
    you’re getting this error because you’ve specified a file name when you generated the new ssh keys. when it asks you for a file name, just hit enter, and the default .ssh folder will be created.

  6. Does the SEND wallet has to be also installed on Linux?

    It all went well, until make came up with this error 🙁

    g++: internal compiler error: Killed (program cc1plus)
    Please submit a full bug report,
    with preprocessed source if appropriate.
    See for instructions.
    Makefile:3867: recipe for target ‘libbitcoin_server_a-init.o’ failed
    make[2]: *** [libbitcoin_server_a-init.o] Error 4
    make[2]: Leaving directory ‘/home/testuser/SocialSend/src’
    Makefile:7034: recipe for target ‘all-recursive’ failed
    make[1]: *** [all-recursive] Error 1
    make[1]: Leaving directory ‘/home/testuser/SocialSend/src’
    Makefile:595: recipe for target ‘all-recursive’ failed
    make: *** [all-recursive] Error 1

    And after ‘make install’ I got this:

    Making install in src
    make[1]: Entering directory ‘/home/testuser/SocialSend/src’
    make[2]: Entering directory ‘/home/testuser/SocialSend/src’
    CXX libbitcoin_server_a-init.o
    virtual memory exhausted: Cannot allocate memory
    Makefile:3867: recipe for target ‘libbitcoin_server_a-init.o’ failed
    make[2]: *** [libbitcoin_server_a-init.o] Error 1
    make[2]: Leaving directory ‘/home/testuser/SocialSend/src’
    ^[[BMakefile:7034: recipe for target ‘install-recursive’ failed
    make[1]: *** [install-recursive] Error 1
    make[1]: Leaving directory ‘/home/testuser/SocialSend/src’
    Makefile:595: recipe for target ‘install-recursive’ failed
    make: *** [install-recursive] Error 1

    What should I do?

  7. I activate the Masternode but it´s only ENABLED just for few hours. I enabled twice again but always Disabled then. Do you know why that could be possible..? Thanks.

Leave a Reply

Your email address will not be published. Required fields are marked *