Guide to Creating a SmartCash SmartNode VPS in 10 Minutes with Vultr

I’ve created this guide as a simpler way for people to get started with hosting a SmartNode.

Each step is required. If it’s not in the guide it is not required. Details matter; skip a detail and more than likely your SmartNode will not work. Take your time to read it patiently, follow the instructions, and verify each step is done correctly. And remember, do not give your private key to anybody or you will lose your funds.

Last updated Tuseday, October 28, 2018. This works with the latest  v1.2.6.

This guide will cover step by step how to:

  1. Create your Vultr Instance that will meet the SmartNode requirements.
  2. Installing the SmartCash Node with a simple script.
  3. Creating the required “genkey” for a SmartNode. Each node must use a unique genkey.
  4. Making a 10,000 SMART collateral transaction.
  5. Configuring your desktop Node Client and starting your SmartNode
  6. Monitoring status of your SmartNode

First of all you need to create an account at Vultr. Here is my referral link:

Vultr enables you to quickly create the required dedicated VPS instance at $5/month (if you use the $3.50 instance it can work with the swap space, but it’s not recommended). Once you do your first payment using credit card or PayPal you can send later payments using Bitcoin. Vultr generates invoices on the 1st of each month based off previous months usage. You can also easily create more nodes by creating a snapshot of your original SmartNode, which makes it easy to manage because the default password would be the same.

Once you create your account you need to deploy a new server instance at this link:

Select any server location. Spread out your nodes geographically to help support the SmartCash network.

Server Type: Select 64-bit OS, Ubuntu 18.04. See screenshot below .

Vultr Select Server Ubuntu 18.04

Server Size select $5/month 25GB SSD, 1 CPU, 1024MB Memory, 1000GB bandwidth. Anything more is not required. You need one server per SmartNode.

You can try a 512MB Memory VPS if you also use the 4GB swap space setup. It’s less than the minimum specs but it is working okay for now.

You can leave all the options for sections 4-6 unchecked right now. Section 7 give your server any name. SmartNode is fine.

Click “deploy now” and Vultr will create your dedicated VPS server. It takes a a minute or two for it to get it ready for you.

You will see your server being created with the “installing” in orange and a spinning thing.

Take a moment now to go to your SmartCash Desktop Wallet, making sure it’s the latest version. You need a special smartnode genkey. You can generate that from your desktop wallet from About -> Debug -> Console and typing “smartnode genkey” without quotes. Here is a screenshot. Keep that written down you will need it in another few minutes to set up the VPS.

Now let’s go back to Vultr and check on your server at this page: it is done there will be an IP address written under the server name and the server will show Running in green on the right.

Write down the IP address as you will need it later. In my example it is



Click on Manage on the right side of the row.

Now we need to connect to the server to manage it. You can find the username and password in the left side of the server info. Click the eye icon next to password so you can view the password and write it down.

Now we will log into the server using the built in Vultr Console Viewer. This tool does not support copy and paste so it is a little more tedious to use later. You can also use Bitvise or PuTTY to connect to the server. Just put the IP address into the connection field, port 22, and use the root login and password. This step is beyond the scope of this guide — so just look it up on google if you need help. Otherwise the console in Vultr is fine as we won’t be typing too many commands. You can login to the console in the top right of the current screen where it looks like a monitor. It’s in the right side of this screenshot

Click on view console and it will load up a new window to connect. First, make your window a little bigger by clicking the bottom right corner and resizing the window.  Then login. Your login username is “root”, type that without quotes and press enter. Then type in the password and press enter. The password will not show up on the screen as you type don’t worry.

You will then be logged in and see this:

That’s great because you’re now connected to and sending commands to the server.

Now we need to start sending commands in. Let’s use the nice installs script that was created (you can browse here if you want to learn more about those:

Notes about console: The console software does not support cut & paste. You will need to type commands and keys. The software also uses the US character set. If you are using an international keyboard layout and are having trouble to key in the special characters such as “/” please switch to a US keyboard layout or connect by SSH (guide by Vultr here).

Type in:


Then press enter.

Then type

bash ./

Then press enter.

It will prompt you that it will reboot. Press enter.

It will prompt you for a custom SSH port (it’s a security technique to change the default). You can change to anything — something between 100 and 1000 is fine. Just don’t use the SmartNode port of 9678. Write that down.


It will prompt you to type in a unique genkey which you created while the Vultr was being created. Type that in now being careful to type it correctly and exactly.

The script will download and install a bunch of requirements for SmartNodes.

When it is done, it will reboot the server. Now it will take a moment to reload the server.

If you have trouble getting synced up, try adding peers. Help is available in the Discord channel.

HIGHLY RECOMMENDED ADDITIONAL SWAP SPACE: I prefer to create more swap space since the VPS memory is a little low and this can improve stability. It uses more disk space but will still help.

Run the following commands:
(that first command is a lowercase L after fallocate)

sudo fallocate -l 4G /swapfile
sudo chmod 600 /swapfile
sudo mkswap /swapfile
sudo swapon /swapfile
sudo cp /etc/fstab /etc/fstab.bak
echo '/swapfile none swap sw 0 0' | sudo tee -a /etc/fstab

To see that this worked you can type use the following command:


Free shows you the swap space. Here is a screenshot of showing installed swap space:

You can also check you have disk space left with this command:


You are done with the install but you still need to activate. 

Last Step to Check on VPS SmartNode Status: Finally, let’s make sure the daemon is running with the command below and check on the status. Always check on VPS for status and don’t rely only on the desktop wallet, which can be out of sync.


smartcash-cli getinfo

smartcash-cli smartnode status



The wallet will load from the downloaded blocks. It takes up to an hour. Once that is done getinfo will show the current block and network state and smartnode status let’s you know how you are doing.

If you get to a screen like this below you’re good. All you need to do next is tell the SmartCash network to use your node, which you need to do from the desktop wallet. From the wallet you also need to create the 10,000 SMART transactions.


If your node is displaying “sync in progress” after doing the “smartcash-cli smartnode status” command, try this:

smartcash-cli snsync next

You need to do a 10K collateral transaction and activate the SmartNode from the desktop. See below, or skip down to text instructions.

Hannah has done a great video here on how to enable your SmartCash SmartNode here:


Steps for the NODE CLIENT – DESKTOP Portion of the Setup

Making Your 10K Collateral with Node Client (Desktop Wallet)

Before we start, makes sure you use active antivirus on this computer! Because you store your funds in this wallet you want to make sure it is secure. Do not deactivate your antivirus!

You are required to have 10,000 SMART as collateral for your node.

Each SmartNode requires this 10K to reside at a unique address. Only one 10K transaction will be counted per address.

To do this, create a new receiving address. On your desktop wallet, go to “File”, select “Receiving Addresses”, then click “+ New”. Write a label, you can call it “SmartNode1”.

It will show up in your list. Now you need to send 10K to it.

Right click on the receiving address and select “Copy Address”. Click Close.

Go to the Send button.

Paste the SmartNode1 address in the “Pay To:” field.

The amount should be: 10000

Leave the checkbox “include fee in amount” unchecked. The total cost will be a little over 10,000, but it will put exactly 10000 in the address.

—-> Make a new backup now. Go to File, Export Wallet and save wallet.dat somewhere safe.   <—–

It takes about 6 confirmations, about 6 minutes, to confirm the transaction. If your blockchain is not synced you won’t see it yet. It’s okay if it shows only a transaction fee in the transaction history, the transfer still happened.

Tip: If you make more than one node make sure you lock the address and transaction of your existing nodes in the Send – Coin Control Features menu. Using that to send later 10K transactions is recommended so you don’t use existing collateral, invalidating the original nodes.

IMPORTANT: Your desktop wallet must have a smartcash.conf file in the %appdata%\SmartCash directory (Windows) or ~/Library/Application Support/SmartCash (Mac) with this line in the content:
You may use Notepad or TextEdit to create or edit the file.

Required: Adding txindex=1 in smartcash.conf on desktop wallet:

In windows, go to this folder:

In OSX, go to this folder: ~/Library/Application Support/SmartCash

edit smartcash.conf (right click, edit. if it’s not there, create a new file in notepad. on Mac you can use Textedit or TextWrangler)

add the line:

It should look like this below. If you don’t have one there to edit, you can make one:


After that, If you haven’t done so already, bootstrapping speeds up loading the node client: extract the files to replace the old blockchain data. Don’t mess with your wallet.dat and be sure to keep it backed up somewhere else.

Making your smartnode.conf file.

Please note, the latest node client has a GUI menu for this, although this method still works fine.

You need a few things:
Your Node IP Address
The genkey used for your node (from smartnode genkey command)
A txid and txid index from the 10K transaction

To get the txid, run the smartnode outputs command in the debug console where you made the genkey like so:

Click on Help -> Debug Window -> Console, then type where the cursor is blinking at the bottom: smartnode outputs
The blockchain must be synced up for this to display. Be sure to bootstrap to speed it up!

The txid you need is between quotes.

The txid index is the single number in quotes at the end. Usually 0 or 1.

In windows, go to this folder:

The default datadir is usually located here:


Make a line like so, making sure there is no # in front of it:

SmartNode1 128.148.354.198:9678 93HaYBVUCYjEMeeH1Y4sBGLALQZE1Yc1K64xiqgX37tGBDQL8Xg 2bcd3c84c84f87eaa86e4e56834c92927a07f9e18718810b92e0d0324456a67c 0

Save this text file.

In this example, 93HaYBVUCYjEMeeH1Y4sBGLALQZE1Yc1K64xiqgX37tGBDQL8Xg  is a genkey that you used on your VPS matching that IP address.

In this example, 2bcd3c84c84f87eaa86e4e56834c92927a07f9e18718810b92e0d0324456a67c is a txid without quotes. You can use any of the txid if you do multiple nodes.

In this example, 0 is a txid index without quotes.

Tip: If you want to change VPS, make a new VPS with the same genkey. After you install it, update the IP address in your desktop smartnode.conf. Then just restart wallet and start alias again. This is best to do after you just receive a reward if you plan to switch hosts.

Activating your SmartNode

Load your wallet. The blockchain will sync. The SmartNode data will sync.

You should see in the “Smartnodes” tab in “My SmartNodes” the one you listed in the smartnode.conf file.

Select the new node and click “Start Alias”. Just don’t click it again later, because it will reset your wait time if you do that. Also be careful to only select the new node you need to start (and not a previous node).

It will then go to “pre-enabled” for up to an hour.

After that, it goes to “enabled”. Done!

Add the Telegram Monitoring Bot for the status of your node:

Go here:

Type this command in the chat with the bot to register your node for monitoring:


Remember to ENABLE notifications in telegram for this bot! Otherwise you won’t know something is happening that requires your attention. If you get an alert this is what you need to do to confirm something is happening and what you need to do (restart VPS usually fixes).

Checking Status of Your Node

DO NOT CLICK “START ALIAS” unless absolutely necessary. You will restart your waiting time.

The desktop wallet takes time to sync and correctly display the node status. Do not rely on that. Use the bot above.

If the bot or VPS says “expired”, that’s a sign you need to do something. Hopefully you had set it up to notify you when it went missing first. In that case, just restart your VPS, login, and make sure it’s running with:


smartcash-cli smartnode status

If it says “new start required” after running for a while, and it also says that on the telegram bot, then that is the sign you need to do something. Make sure you set up swap space. Usually it’s just random bad luck on the host that had an issue at their datacenter.

Troubleshooting section:

Okay, you did all these steps and it’s not working… you get an error such as “can’t connect to server” after you load smartcashd. You can’t turn off the server with “smartcash-cli stop” … and “smartcash-cli getinfo” is not working either. This happens you need to look at the debug logs to find the error:

Type this:

tail -n 20 ~/.smartcash/debug.log

Now, if you got something in the lines that says “Error: Invalid smartnodeprivkey Please see documentation.” that means the genkey is incorrect. Here’s an example like that below:

Most likely you typed it wrong or didn’t create one. You can use this command to edit the smartcash.conf file and correct the error.

nano ~/.smartcash/smartcash.conf

Make sure it is correctly typed, case sensitive, and that there are no spaces at the end.

Save the file with “ctrl o” to save and then press enter to overwrite the current filename. Then do “ctrl x” to exit the nano editor.

After you do this restart your server:


Then log in again and check the status:


smartcash-cli getinfo

smartcash-cli smartnode status

Sometimes you may get a different error asking you to start with “-reindex or -reindex-chainstate”. The message looks like below:

In this case you just need to issue this command:

smartcashd -reindex-chainstate

This will start up the daemon.

Another common error is using the same genkey for more than one node. You need unique genkeys that go to unique txid for unique collateral.

Suggested next steps includeImproving the Security of your SmartCash SmartNode on Vultr, Setting up Anti-DDOS Protection for your SmartCash SmartNode and Monitoring Your SmartCash SmartNode.

instructions to upgrade old nodes to v1.2.4.

If you installed using this guide you can upgrade using PPA on your VPS with the following commands, enter one at a time:

sudo apt update && sudo apt install smartcashd -y
smartcash-cli stop
smartcashd -reindex

To check if it worked type:

smartcash-cli getinfo

Among other info this should return: “protocol version”: 90026

The blocks will sync and peers will connect, shouldn’t take long to finish.

Finally, activate your upgraded SmartNode from the updated Node Client (Desktop Wallet) v1.2.4 with “Start alias”. Be sure to make a backup of wallet.dat also. Status will switch to PRE-ENABLED and to ENABLED after couple minutes.

Now you can check the SmartNode status on your VPS with:

smartcash-cli smartnode status

this should return: “status” : “Smartnode successfully started”

If you made a 16.04 Ubuntu OS you can upgrade to 18.04 with the “Change OS” option in Vultr. This will keep your IP address but you need to type in the same genkey. If you do that, you won’t need to do a new “start alias” as the collateral is already configured properly and the node is already in the known list.

Other things you must or should want to do:

  • HIGHLY RECOMMENDED: Adding a Vultr Firewall for just 9678  – the script we used automatically drops traffic but any less traffic actually getting to your server firewall is better for your server.
    Here is a guide on improving security of your vultr smartcash smartnode.
  • OPTIONAL Add anti-ddos protection to the 9678 port with this anti-ddos script that uses iptables.
  • OPTIONAL If you want to be able to copy and paste commands you can’t use Vultr view console. Add an authenticated user for SSH logins using public/private keys with Bitvise or PuTTY. If you do this you might as well disable root logins with password, or login with password keys entirely.
  • OPTIONAL Copy your desktop smartnode.conf file somewhere as a backup in case you need to add the VPS to the SmartNode list again as a restart. It will be a littler faster than redoing it.
  • REQUIRED: Create your 10000 SMART transactions that are required to be able to generate unique transaction keys to activate the node.
  • REQUIRED: Your desktop wallet is up to date and synced up with the blockchain. Here’s how to speed it up: Wallet v1.2.3 are out please download here . Please go to %appdata%/smartcash delete peers.dat, blocks, chainstate and sync. You can speed up sync process with bootstrap file ( need have txindex=1 in smartcash.conf, you have to create smartcash.conf in data folder).
  • REQUIRED: Setting up a smartcash.conf file on your desktop wallet that uses the IP address of your node and port 9678, the genkey, and the special output from the 10,000 SMART transfer you need. A simple guide is here. Start at section 9
  • REQUIRED: Activate your SmartNode in the SmartNodes tab of the desktop wallet with the “start missing” command… why wait?
  • HIGHLY RECOMMENDED: Assess your security practices — have you backed up your wallet.dat recently? Do you keep it safe and encrypted? Did you create a backup paper wallet? Have you thought about other security issues?
  • A GOOD PRACTICE: Create a snapshot of your server on the Vultr snapshots tab. This is especially useful if you create multiple nodes and you do custom scripts or security. Then you can use the command “pico ~/.smartcash/smartcash.conf” to edit the configuration on any cloned snapshots from the vultr terminal. After you do that restart the daemon to load the updated configuration with the command “smartcash-cli stop” and “smartcashd” to stop and start. This is all that is required for your extra nodes, other than adding a second line in smartnode.conf on the desktop wallet with the required IP, genkey, transaction id and START MISSING in the wallet smartnodes tab.

45 thoughts on “Guide to Creating a SmartCash SmartNode VPS in 10 Minutes with Vultr

  1. JeridReply

    Bullet point #6 says “REQUIRED: Setting up a smartcash.conf file”. I believe it should say “smartnode.conf”. Right?

  2. jeridReply

    No problem! This guide was really helpful! I used this flawlessly to set up all (3) of my SNs and then watched 1000’s of others struggle in the Discord channel with debug overflows and other stuff. I haven’t had any issues yet (fingers crossed, knock on wood) and have had many payouts!

  3. jeridReply

    You should do another one that focuses on how to connect to your VPS via PuTTy, how to set up the Linux GUI and connect with TeamViewer. I think it would be a big hit with the non-Linux crew (me)!

  4. Theo LangsnoerReply

    Another point of concern is an instruction to update the Ubuntu OS on your VPS. That way you install all the updates before you install the masternode.

    • Blockchain Library Post authorReply

      This command will do that:
      apt-get upgrade

      However, it’s not required which is why it’s not included. It adds extra time and steps.

  5. Michael WolfReply

    Is there any reason why the same Console commands you use to communicate to the VPS, would not work using PuTTy instead? Thanks.

    • Blockchain Library Post authorReply

      No, it would be exactly the same commands. Reason I suggest the Vultr View Console is it’s extra steps to download and connect with PuTTy. If you’re familiar with PuTTy, by all means use that.

      • Michael WolfReply

        Great. I understand your rationale. Thank you.

  6. SergioReply

    Hi, is it possible to mount the masternode using Web Wallet instead of Desktop Wallet?

    • Blockchain Library Post authorReply

      No, the Node Wallet (desktop wallet) is required at this time. It’s in the roadmap to add other wallet support to start SmartNodes in the future.

  7. BrennanReply

    Hi, I just installed v1.2.3 on Ubuntu 18.04 and it seems the issue regarding the IP address not being added automatically to smartnode.conf has be resolved

    • Blockchain Library Post authorReply

      Yes, setting the IP address has been removed as it’s only really required for NAT. So 18.04 is now recommended again.

  8. AndyTReply

    Thanks for the article, I already have a Vultr $5/month Ubuntu 18.04 VPS running a PACcoin MN (using the root username).
    I read somewhere that its possible to run multiple MNs on the same VPS, do you think its possible/advisable to run a Smartnode on the same VPS running my PACcoin MN? If its possible – will i need to setup a second IP address?

    • Blockchain Library Post authorReply

      Should be fine if you also have swap space added so there is no out of memory issues. You can use the same IP address for different networks. They use different ports so it should be fine.

  9. Christophe CamenzindReply

    I have do all you askinf for and when i write : smartcash-cli getinfo i have : Error : Couldn’t connect to server.

    Can you help me ?

  10. RickyReply

    does any one know why I am getting a FAILED to start Network connection? after I hit reboot after entering the swapfile commands.

  11. SørenReply

    I have followed your guide above and get the same error every time. The script stops every time the same place:

    no crontab for root
    no crontab for root
    Warning: Please encrypt and backup your wallet to a separate device. Do not move a wallet file or shutdown computer while wallet application is running.
    Reading package lists… Done
    Building dependency tree
    Reading state information… Done
    ufw is already the newest version (0.35-5).
    0 upgraded, 0 newly installed, 0 to remove and 81 not upgraded.
    Firewall stopped and disabled on system startup
    Rules updated
    Rules updated (v6)
    Rules updated
    Rules updated (v6)
    Rules updated
    Rules updated (v6)
    Logging enabled
    Default incoming policy changed to ‘deny’
    (be sure to update your rules accordingly)
    Default outgoing policy changed to ‘allow’
    (be sure to update your rules accordingly)
    Firewall is active and enabled on system startup

    I have not done anything else to the VPS than described above. Have not fiddled with any firewall settings.

    Anything I can do?

    • Blockchain Library Post authorReply

      The script restarts the server. You need to reconnect via the console to continue. Close the console window and click on “view console” in Vultr to continue.

  12. MartijnReply

    I want to connect a second Smartnode to the same Vultr VPS. What steps do I have to complete inside Vultr ?

    • Blockchain Library Post authorReply

      Start from the beginning, make a new server instance. This new server will provide a new IP address you may use for the new SmartNode.

  13. chrismatthews83Reply

    Hello . Thank you for the wonderful guide.
    I’ve followed the instructions on my mac however when I try to start the node with “start alias” I get the following error:

    Alias: SmartNode01
    Failed to start smartnode.
    Error: Could not allocate outpoint 0c67cc9e67000e5ca26183a9df1951d3b8f0a211fd491b16c521dbcb28112c1a:0 for smartnode

    Have you come across this before? Any ideas?

    By the way I have slightly more than 10000 smart in my SmartNode01 wallet does that matter?

    • Blockchain Library Post authorReply

      Is the last number of smartnode outputs a 0 as you have written? It should be in smartnode.conf after a space at end of the line.

      It’s okay if the total balance is more than 10,000. Just that one transaction needs to be 10,000 exactly to create that output.

  14. Petr GašparíkReply

    It is unclear, where the smartnode.conf and smartcash,conf goes. Is it appdata\Local? appdata\Roaming? appdata\Local\Roaming (which makes no sense, but you stated that). Thanks!

    • Blockchain Library Post authorReply

      In windows, use this:

      It will go to the correct folder for you. The default datadir is C:\Users\UserName\AppData\Roaming\smartcash

  15. jasondking77JasonReply

    I have followed your guide up to the point of of checking on the VPS Smart Node Status. Before checking the status I restarted my server and when I then loaded the console window it did something different. There was an ‘advanced Umbutu screen’ that vanished on an auto countdown before a load of stuff scrolled through (I noticed that ‘Snappy’ something was failing to load). Then the login screen appeared; however when I log in I get an error message “Unable to setup loggin . [Errno 30] Read-Only file system . . . .”

    When I type the ‘smartcash-cli getinfo’ command I just get a message saying ‘couldn’t connect to server’.

    Thanks in advance for your help.

    • Blockchain Library Post authorReply

      If you just restarted and get that message type this first:

      It will load the service. Otherwise it can take up to 30 minutes for it to start automatically with the script that checks for it.

  16. jasondking77JasonReply

    Hello I left my server overnight and was still getting the same message; when i typed ‘smartcashd’ I got a message saying that it couldn’t obtain a lock on the data directory.

    Thanks in advance for your help.

  17. jasondking77JasonReply

    Hello I left my server overnight and was still getting the same message; when i typed ‘smartcashd’ I got a message saying . . . “Error: Cannot obtain a lock on the data director /root/.smartcash. SmartCash Core is probably already running. Read-only file system.”

    Thanks in advance for your help.

  18. ayhanReply

    Is it possible to install more than one masternode of different coins on same vultr account. Do need to create new user or directory for each coin or can I apply your method directly. I already install a masternode of another coin on a server so I wonder to install for another coin. thnx btw for excellent guid

    • Blockchain Library Post authorReply

      Sure, coins use different ports. You would need to use their script or put it in a different directory. Probably fine to use both scripts, just make sure you keep the firewall port open for the other coins.

  19. JasonReply

    If we are hosting all of our nodes on one server, is there a rule of thumb how much to allocate for swap(sudo fallocate -l 4G /swapfile)? For example, if I were running a vps with 32GB of RAM with 32 or more nodes running, what would be recommended for swap allocation?

    • Blockchain Library Post authorReply

      No great rule, 4GB just helps as a backup memory location, even for a 32GB instance. You’d need 32 unique IPV4 though with that setup for all on one coin network.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.