Installing an exchange full node

Node installation tips specifically for exchanges

I will detail what the difference is between installing a full node and installing an exchange full node.

The major difference installing for an exchange is you will be given an API key and also your mnemonic, seed and private key will be generated by YOU on your node, rather than given to you from the cps coti website.

You may follow the rest of the guide you see on the left menu from top to bottom, just ignore the WALLET AND KYC section as it does not apply to you.

Connect to your node

Connect to your VPS as the root user with putty or any other popular terminal connection program of your choice.

Once connected with root, copy the code below and paste it into your putty / terminal window and press enter.

You can find the github repo here: https://github.com/Geordie-R/coti-full-node if you want to dig in to the code further.

rm -rf installfullnode.sh
wget -O installfullnode.sh https://raw.githubusercontent.com/Geordie-R/coti-full-node/main/installfullnode.sh
chmod +x installfullnode.sh
./installfullnode.sh

You will be asked if you are installing for mainnet or testnet. Choose the number corresponding to the option.

You will be asked a series of questions :

  • Your SSH Port No (22 if you have not changed it)

  • Your Ubuntu username (use coti if not sure it will be created fresh, do not use root)

  • Your email address

  • Your server hostname e.g. coti.mynode.com

  • Your API Key

  • Version to use: which version to launch e.g. 1.4.1 or type latest for the latest version if that is what you have been told to use.

If you are not sure of any of the answers that get asked whilst running the code above, leave the answer empty and it will terminate after the questions so that you can run the installfullnode.sh script again on its own, as shown below.

./installfullnode.sh

Answer all of the questions, pressing enter after each answer, then the node will configure itself. Now lets head back to the main menu again and check that your node is up with the link below. Remember to head back here once you have finished that page

Recording your keys, then deleting the keys file.

During install, the script uses the newly generated keys storing them on disk in keys.json for a short time. This next section allows you to view your keys then delete them.

Make a safe backup of your keys, seeds and mnemonics stored inside the keys.json file. Run the code below to view your keys and then delete them from disk.

rm -rf getkeysthendelete.sh
wget -O getkeysthendelete.sh https://raw.githubusercontent.com/Geordie-R/coti-full-node/main/getkeysthendelete.sh
chmod +x getkeysthendelete.sh
./getkeysthendelete.sh

Clearing your bash / terminal history

I recommend you clear your bash/terminal history once you have finished. Do this with the following command.

history -c

Last updated