Service nodes are full nodes of the XtendCash Network, a full node becomes a service node when the owner locks away XTNC for a certain period of time.
IMPORTANT: If you are running a service node you will need to stay up to date with the XtendCash network. If you run a service node, always check if there is any new updates available on the network.
Please note: Some of the references here are from the Loki service node guide. Service nodes were originally introduced to the Cryptonote Protocol by Loki.
Choosing a server to run your service node is one of the most important steps. If your server is not reliable, your node may be disconnected and your coins will stay locked for 30 days.
We recommend a VPS with the follow specifications
We recommend the following server providers, however it’s still your choice.
Please note: These are just recommendations and we do not endorse any of the server providers. When choosing your operating server please use Ubuntu 16.04 64 bit or Ubuntu 18.04 64.
With most providers you will receive an email with your VPS login details. To access your server you will need SSH software such as PuTTY. This goes for Windows and Mac users. For Linux you can just use terminal.
Windows and Mac users can download PuTTY here: https://www.chiark.greenend.org.uk/~sgtatham/putty/latest.html
The first thing you want to do after logging into your server is create a non root user. This can be done by following the code below.
You can replace Username with your service node name, this can be anything, but for this guide we will use snode. Please see the code below.
You will now be prompted to enter the password for the new user created. _Please don’t use the root password here_. Now that you have created a new user you will need to provide a password. Once that’s done, we will give the user admin privileges.
usermod -aG sudo snode
Please close the session now and reopen. This time we will login to your VPS with the newly created user.
Now that we have logged in with our new user, we will update the server packages. Please follow the code below
sudo apt update
Once it’s complete we will fetch new versions of any packages on your server.
code>sudo apt upgrade
If you get a prompt with options to select, please select **install the package maintainer’s version**
Now that the system is up to date we can continue to the next steps.
You will need to download the latest binaries. Please follow the code below.
Now that we have downloaded the latest binaries, we need to extract it.
tar -xvf xtendcash-linux64.tar.bz2
You will now see the files being extracted. After it is completed we will go to the extracted folder.
You can run the command
ls to see if all files are extracted, then we can continue to the next step.
First thing we want to do is to make sure that when the VPS gets restarted or it goes down temporarily our service node will restart automatically. First we will create the service file.
sudo nano /etc/systemd/system/xtendcashd.service
Now you need to copy the text below and paste it into your new file
[Unit] Description=xtendcashd service node After=network-online.target [Service] Type=simple User=snode ExecStart=/home/snode/xtendcash-linux64/xtendcashd --non-interactive --service-node Restart=always RestartSec=30s [Install] WantedBy=multi-user.target
Please note: You will need to change your username and location. Once completed you can save the file and exit(**CTRL+X -> Y -> ENTER.**)
You can now reload the systemd manager
sudo systemctl daemon-reload
Enable XtendCash service
sudo systemctl enable xtendcashd.service
Now start XtendCashd service
sudo systemctl start xtendcashd.service
Your daemon will now start the syncing process, now we can move on to the next step.
The wallet should not be run on your server. You should download the CLI wallet.
By now you should have the right amount of the collateral in your wallet and have your wallet public address. You can find it by typing
address in the CLI.
If you are no longer logged in to your VPS server you should log in now. Please run the following command on your VPS to start registering your service node.
The daemon will show you the staking requirement and prompt you with an input to clarify whether you are an individual staker or if you will be running a pool. Type y if you are. You will now be asked for your address. You need to input your public address. Make sure you are using the correct address!! If you agree that your address is correct you must now enter y.
The daemon will now give you a command to enter in your CLI wallet. You need to copy and paste it in your CLI. The command will look similar to the command posted below.
register_service_node 4294967292 T6TCCyDgjjbddtzwNGryRJ5HntgGYvqZTagBb2mtHhn7WWz7i5JDeqhFiHqu7ret56411ZJS7Thfeis718bVteBZ2UA6Y7G2d 4294967292 100.000000000 1535677391 ec3895ea70a4a91b5ec4b5e1df96a45e07046f1fb0123c754d98fb2d70f4529d 5bb35d7b8ab1acb943bc47913ada8f9d2e6d6e22264e57484a04c1bbfd461f0ee2e5435454cd9b7059b221eb506ce9ea4537ddd9faf1f1757e0ef611a41c0609
Copy the command above into your CLI wallet and enter. You are now staking!!! Congratulations!!
XtendCash is a privacy focused cryptocurrency. It features service nodes and monetization tools in the near future. XtendCash a mineable, private and autonomous cryptocurrency that can be used to monetise anything from website content, blog articles, multimedia and variety of online services by allowing users to tip or donate to content owners anonymously. The XtendCash Project is made up of a small team of developers, software engineers and researchers from around the world.