In this guide i will show you cold setup ( 1 Desktop wallet and 2 smartnode run on ubuntu )


Step 0 - Checklist

You will need the following.

  • Exactly 100,000 SMART in 1 transaction send to 1 address in Desktop wallet( in case you want to run more smartnode please multi this requirement )
  • 1 Latest version of the Smartcash wallet run in Desktop PC/Mac/Linux- check the https://github.com/SmartCash/Core-Smart/releases/ for the official version
  • 1 VPS ( in case you want to run more smartnode please multi this requirement )
    • 20 GB Storage
    • 2GB RAM Minimum (includes OS)
    • Dedicated (Static) IPV4 address (NO IPV6)
  • A text file or word document to keep a record of all details
  • 10 minutes of your time

With that, follow along the steps below and you will be good to go. It is recommended to keep your details in a text file, download a template to keep track of the info.


Step 1 - Desktop wallet preparation


Update to the latest version of wallet ( follow the guide here )

or


Install the new one (follow the guide here)


When wallet are fully sync go to next step


Step 2 - Transfer funds

In your Desktop wallet that you want to run smartnode create 2 new SmartCash address and Send exactly 100K SMART to each address 

(in this guide i will run 2 nodes so i do it 2 times to 2 different address )


Step 3 - Command line action in Desktop Wallet

Go to Help=>Debug Console => Console tab and run smartnode genkey 



Copy the output and paste to text note file  we will use later in smartcash.conf of VPS, you can run smartnode genkey  2 times to have 2 key for 2 smartnode. You can run smartnode genkey  as many time as you want, it not related to SmartCash address, so you can use any smartnode genkey  for any SmartCash Address


Go to Help=>Debug Console => Console tab and run smartnode outputs


Copy the output and paste to text note file  we will use later in smartnode.conf of Desktop wallet


Edit smartnode.conf in Desktop wallet with the smartnode-genkey and smartnode output from above step.  it will look like this


(in that 11.11.11.11 and 22.22.22.22 are IP of 2 VPS that we will install later)


Step 4 - Setup VPS


4.1 VPS run Ubuntu


Buy Ubuntu VPS and login to it with username and password

People are often use Vultr and DigitalOcean

How to connect to VPS by terminal.app ( MAC os ) http://osxdaily.com/2017/04/28/howto-ssh-client-mac/


Option1: (install with bash installer from https://github.com/SmartCash/smartnode ). We recommend to use this Option


Type in console:

wget https://rawgit.com/smartcash/smartnode/master/install.sh

Then press enter.

Then type

bash ./install.sh

Then press enter. 


It will ask you to input smartnodegenkey. Please enter the correct one that you put in smartnode.conf of your Desktop Wallet

Press enter for other question


It will prompt you that it will reboot. Press enter to restart VPS


4.2 VPS run other Linux


Step 1. Download the latest .tar.gz file from here https://github.com/SmartCash/Core-Smart/releases/


run this command in the console ( change smartcash-1.2.8-x86_64-linux-gnu.tar.gz to the latest .tar.gz file )


wget https://github.com/SmartCash/Core-Smart/releases/download/v1.2.8/smartcash-1.2.8-x86_64-linux-gnu.tar.gz
tar -xzvf smartcash-1.2.8-x86_64-linux-gnu.tar.gz

cd smartcash-1.2.8
cd bin
./smartcashd

./smartcash-cli stop


Create smartcash.conf  and put in data folder with content look like this


Example smartcash.conf in VPS 

rpcuser=VPSUSERNAME
rpcpassword=VPSPASSWORD
port=9678
daemon=1
listen=1
server=1
smartnode=1
txindex=1
smartnodeprivkey=7REvo76RN2Z92kyU7NcC5FBtsRGTNXfnNuLGQQPrcgk1NKRBQSn


Change 7REvo76RN2Z92kyU7NcC5FBtsRGTNXfnNuLGQQPrcgk1NKRBQSn with your own


Start wallet ( Example go to smartcash-1.2.8/bin)

./smartcashd


4.3 VPS run Windows


Download and install wallet by download the latest setup.exe here https://github.com/SmartCash/Core-Smart/releases/


after install successful run smartcash-qt.exe and stop it 


Create smartcash.conf  and put in data folder with content look like this 


Example smartcash.conf in VPS 

rpcuser=VPSUSERNAME
rpcpassword=VPSPASSWORD
port=9678
daemon=1
listen=1
server=1
smartnode=1
txindex=1
smartnodeprivkey=7REvo76RN2Z92kyU7NcC5FBtsRGTNXfnNuLGQQPrcgk1NKRBQSn


Change 7REvo76RN2Z92kyU7NcC5FBtsRGTNXfnNuLGQQPrcgk1NKRBQSn with your own



Start wallet 


Step 5 - Start your smartnode from Desktop Wallet

Double check  ip of your VPS and the info in the  smartnode.conf in Desktop wallet ( when have as many VPS will have as many row in smartnode.conf )

Restart Wallet ( Stop and Start it)

Go to 


and Press Smart MISSING


Status column will show PRE-ENABLE and after ( nearly 10 minutes ) it become ENABLE 


Step 6. Check status in VPS

run this command in console 


smartcash-cli smartnode status


When you see this mean your smartnode are successful started 

  "status": "Smartnode successfully started"


P/S: you can use this Monitor bot to monitor your smartnode


https://steemit.com/smartcash/@dustinface/smartnodemonitorbot