Cysic Testnet Light Node Setup Guide(Incentivized Phase 2)

Run a Cysic Testnet Light Node, Install Cysic Testnet Light Node, Run Cysic Genesis Node Verifier

Cysic Network is a decentralized platform focused on scaling Zero-Knowledge proof generation and verification. Phase II builds on the success of Phase I, advancing decentralization and expanding the network’s capabilities.

The introduction of the Genesis Node marks a key milestone, offering early supporters a chance to be part of this next phase.

Reward Details

Earn $CYS and $CGT testnet tokens for your participation, which can be converted after the mainnet launch.

Check your rewards and contributions in the “My Page” section on the Cysic dashboard.

Funding Raised by Cysic

Cysic raised a total of $18M in two rounds, with investors including HashKey Capital, OKX Ventures, ABCDE Capital, SNZ Holding, and Polychain.


Cysic Testnet Light Node Installation

Step 1: VPS Setup

If you are running a Glacier Testnet Verifier Node, you can run this verifier Node on the same VPS. The requirements are minimal since this is a light node.

Node Hardware Requirements(minimum):

  • CPU: Single Core
  • RAM: 512 MB [Initially, they recommended having 8 GB of RAM. I personally faced an issue(details below) even though I had 3 GB of free RAM]
  • Storage: 1 SSD
  • Bandwidth: Stable Internet Connection
  • Supported Operating Systems: Windows, Linux, Mac

Alternatively, I recommend using this VPS for $5.5: VPS Link. or a slightly higher config for $12.50: VPS Link. This way, you can run multiple nodes on the same VPS.

—————

1.1. Open Termius Application

  1. Open the Termius application on your PC or phone. You can download the app from the Microsoft Store or Google Play Store for free. Create a free account using your email.
  2. Input the following details:
  • Host: Your VPS IP
  • Label: Cysic
  • Username: root
  • Password: Your VPS Password

Save and connect to the VPS.

Note: If you are new to Termius, on a PC, to copy, press Ctrl + Shift + C, and to paste, press Ctrl + Shift + V.


Step 2: Registration

Phase I participants are automatically migrated to Phase II, but if you are joining as a fresher, you need to register your wallet first.

For this, you need an invite code to enter. Below, you’ll find a code. If it doesn’t work, please visit the Cysic Discord invite channel and grab one for yourself.

5EDA6

After entering the invite code , connect your mertamask wallet, and go to the installation process. You won’t need to get faucet to run a verifier node.


Installation

Step 3: Prepare Your Environment

  • Update Your System:
sudo apt-get update &&
sudo apt-get upgrade -y
  • Install Required Utilities:
sudo apt-get install -y screen curl wget

Step 4: Setup a Screen session

  • Start a screen session:
screen -S cysic

Step 5: Download and Setup the Verifier

Run the following command in the terminal. Replace 0x-Fill-in-your-reward-address-here with your actual reward address.

curl -L https://github.com/cysic-labs/phase2_libs/releases/download/v1.0.0/setup_linux.sh > ~/setup_linux.sh && bash ~/setup_linux.sh 0x-Fill-in-your-reward-address-here

What this command does:

  • Downloads the verifier program and libraries (verifier and libdarwin_verifier.so).
  • Creates the configuration file config.toml.
  • Sets up the script to run the verifier (start.sh).
Cysic Testnet Light Node

Step 6: After completion, navigate to the verifier folder using:

cd ~/cysic-verifier

Step 7: Start the Verifier

Run the following command to start the verifier:

bash start.sh

The verifier might take a few minutes to establish a connection to the blockchain. During this time, you may see an error like err: rpc error. This is normal; wait a few minutes.

Also, if you are getting an error like the one below, don’t worry—it will connect to the chain shortly.

2024/11/20 07:38:59 error when get verifier from chain, verifier: 0x997F04D4E2D7cB15e3Fccc63715DA915Fd77A926, err: can’t found verifier
2024/11/20 07:38:59 error when get verifier id, err: can’t found verifier

Once connected, you should see a message like “start sync data from server”, indicating the verifier is running successfully.

To Detach the session: Press Ctrl + A + D

To reattach the session later:

screen -r cysic

Reconnecting the Verifier

If you need to reconnect in the future, repeat Step 6 & 7 (cd ~/cysic-verifier && bash start.sh).


On the dashboard, you can see your assigned tasks and rewards once the verifier node completes the task.


Errors:

If you see the “killed” error like below image after completing the syncing, it means your system RAM is lower than the required amount.

So, either you can stop running your node or migrate it to a different VPS.

For this, you need to install the node again on the new VPS. However, after trying to run it, you will get an error saying the node is already registered with a key.

To resolve this issue, copy the old VPS key folder to the new VPS. Follow the instructions below to proceed:

The keys folder is located under the /root/.cysic directory.

  • Delete the keys folder from the new VPS:

Run the following command on your new VPS to remove the existing keys folder:

sudo rm -rf /root/.cysic/keys
  • Copy the keys folder from the old VPS to the new VPS:

Run this command on your old VPS (replace <destination-vps-ip> with the new VPS IP):

scp -r /root/.cysic/keys root@<destination-vps-ip>:/root/.cysic/

Enter the password:
After running the above command, it will prompt you for the password of your new VPS. Paste it and press Enter.

Complete the process:
That’s it! Now proceed with steps 6 and 7 to turn on your node on the new VPS.

————””””””””””””””————

If you’re having any issues, you should contact them on Discord or ping me in the TG Group. I’ll help if I can.

And to receive upcoming updates about node upgrades or reward announcements, please join our Telegram channel and keep notifications unmuted.

————……………………————


Step-by-step guide to update your Cysic Node:

Before updating, it’s crucial to back up the key file. Losing the key file means losing access to your node.

The key file is located in /root/.cysic/keys/. You can copy it to a directory in your home folder (e.g., ~/MyFiles) for safekeeping.

  • Verify the .key File Location:
ls /root/.cysic/keys/

Confirm the .key file exists. For example, it might be named 0xeFe0000000000000000000000000000000058.key

  • Create the MyFiles Directory:
mkdir -p ~/MyFiles
  • Copy the .key File: Use the cp command to copy the file:
cp /root/.cysic/keys/ 0xeFe0000000000000000000000000000000058.key ~/MyFiles/
  • Verify the Copy: Check the MyFiles directory to confirm the file is there:
ls ~/MyFiles/

Now start updating

Re-attach the screen session:

screen -r cysic

Step 1: Remove the Outdated File

Navigate to the cysic-verifier directory:

cd ~/cysic-verifier

Delete the old database file:

rm -f data/cysic-verifier.db

Exit the directory:

cd ..

Step 2: Download the Latest Version

Run the setup script to update the verifier:

curl -L https://github.com/cysic-labs/phase2_libs/releases/download/v1.0.0/setup_linux.sh > ~/setup_linux.sh
bash ~/setup_linux.sh 0x-<Your-Reward-Address>

Replace <Your-Reward-Address> with your actual wallet address.

Step 3: Restart Your Node

Start your verifier:

cd ~/cysic-verifier
bash start.sh

To Detach the session: Press Ctrl + A + D

To reattach the session later:

screen -r cysic

Leave a Comment