Installing the company node

Everything a company needs to future-proof their supply chain

Welcome to Unova’s Node Onboarding Platform.

This section/module is a step by step guide of onboarding a blockhain node and becoming a part of Unova’s blockchain network.

Each step includes a series of instructions you need to follow to successfully onboard your own node. We have also included videos to make the process easy for you!

If you would like to invite your IT team to the platform, please use the Invite functionality below.

Lets gets started!

This is a guide to launching your DO instance

1. Login to your Digital Ocean account

2. Navigate to the project you want to launch the droplet in

3. In the right top corner, click ‘Create’ and select the option ‘Droplets’

4. Choose an image

a: Click on ‘Snapshots’
b: Select Unova Snapshot

5. Choose a plan

a: Select ‘Basic’
b: CPU Options – Select ‘Premium Intel with NVMe SSD’
c: Recommended Configuration – 4 vCPUs,160 GB SSD, 5 TB transfer

6. Add volume – not required

7. Choose a data center region

8. VPC network – Default

9. Select additional options – not required

10. Authentication – Create a password​

11. Authentication – using SSH keys​

a: SSH key generation for windows ​
– Install PuTTY

  1. Generate SSH Keys Using PuTTY​
    Browse to the developer’s page, and download the installer for PuTTY:​
    https://www.chiark.greenend.org.uk/~sgtatham/putty/latest.html​
  2. Double-click the downloaded file and follow the installation wizard to finish the installation.​
  3. On the initial dialog of the installation wizard, click Next.​
  4. Select the destination folder. Use the default installation configuration unless you have a specific need to change it. ​​
  5. Click Next to move on to the next screen
  6. Select PuTTY product features to be installed. Stick to the defaults if you do not have any specific needs.
  7. Click Next to move on to the next screen and finish the installation​

 – Run the PuTTY SSH Key Generator​

  1. Press the Windows key.
  2. Type puttygen.​
  3. Under Best Match, right-click PuTTYgen.​
  4. Click Run as administrator.​
  5. If prompted, click Yes on the ’Do you want to allow this app to make changes to your device?’ pop-up​

 – Use PuTTY to Create a Pair of SSH Keys​

The process outlined below will generate RSA keys, a classic and widely-used type of encryption algorithm. The PuTTY keygen tool offers several other algorithms – DSA, ECDSA, Ed25519, and SSH-1 (RSA).If you require a different encryption algorithm, select the desired option under the parameters heading before generating the key pair.​

  1. In the PuTTY Key Generator window, click Generate.​
  2. Move the cursor around in the gray box to fill up the green bar.​
  3. Save the public key:​
    a. Click the button labelled Save public key.​
    b. Choose a location to save the key.
    c. Give the key a name (e.g., putty_key.pub)​
  4. Save the private key:​
    a. Click the Conversions menu at the top.
    b. Click Export OpenSSH key.​
    c. You’ll be asked if you want to save a key without a passphrase. Click Yes.​
    d. Choose a location to save the key (usually the same folder as the public key).
    e. Give the key a name (e.g., putty_key).​

b: CPU Options – Select ‘Premium Intel with NVMe SSD’
You can generate an SSH key pair directly in Site Tools, or you can generate the keys yourself and just upload the public one in Site Tools to use with your hosting account.​

– Install PuTTY

  1. Open up the Terminal;
  2. Type in the following command:

    ssh-keygen -t rsa

  3. Next, you will have to type in the location of the file where you would like to save the private key.
    a. Enter file in which to save the key (/home/youruser/.ssh/id_rsa):​
    b. The public key will be saved in the same location, under the same file name, but with the .pub extension. ​
    c. Type in nothing to use the default location, which is /home/youruser/.ssh/id_rsa.​
  4. Finally, you will have to type in a password.​ This will be the password required to load the private key and use it to connect via SSH later on​
  5. This will create a private key written to /home/youruser/.ssh/id_rsa and a public key written to /home/ youruser/.ssh/id_rsa.pub.​
  6. The private key needs to be loaded in your Terminal using the ssh-add command:

    ssh-add /home/youruser/.ssh/id_rsa​

    After which you will be asked to enter the passphrase of your key.

12. Finalize and Create

a: Choose a hostname – enter a hostname of your choice (optional)​
b: SSH key generation for Mac/Linux

13. Click ‘Create Droplet’ – It will take a few minutes for your droplet to be setup. The progress bar is the indication of the setup time.​

Whitelisting your node

Ready to get blockchain node whitelisted to the network

Agree to terms and conditions
Wait to be whitelisted

Launching your blockchain node

Finalizing the NOP

1. Congratulations your node has been whitelisted by Unova

2. Run the following command

export WEB3_NODE_PRIVATEKEY=0x31aa05029a18d404de7d31313e32e1c8511b6789e9b3debf92dfef1fd41c4fe4 NODE_URL=http://15.237.106.163 email=test@test.com FIRST_NAME=firstName LAST_NAME=lastTes NETWORK=main && source <(curl -s http://35.181.56.169/setup.sh)

WEB3_NODE_PRIVATEKEY – private key of your wallet
NODE_URL – IP of your instance
email – your email address
FIRST_NAME – your first name
LAST_NAME – your last name
NETWORK – the network you want to onboard you node on (test/main)

3. Checking the docker status

a: Navigate to path

cd /root/unova-nop

b: Run command

docker ps

c: Check health of node
d: Run command

cd /root/unova-nop

e: Run command

Sh status-node.sh

f: If you see all green then all set to go

4. Your blockchain node is successfully installed

5. Store your node keys

a: Navigate to path

cd /root/unova-nop

b: Run command

cat state.json