👩‍🏫L1 Node Operation Tutorial

Titan Node Installation and Launch Tutorial

This tutorial will guide you through the process of downloading, configuring and launching the Titan L1 node program. Please follow the steps below and ensure that all network requirements are met.

Network Requirements

Before you begin, make sure the following ports are open on your firewall or router to ensure that the nodes communicate properly:

  • 9000 TCP: Used for communication between nodes.

  • 2345 TCP/UDP: Used for broadcast and data synchronization of the nodes.

*If the node's network settings do not meet our requirements, the node will not work properly and you will not be able to earn any rewards.*

Step 1: Download titan-L1 program

Open the Linux terminal and download the latest version of titan-L1 program using the following command:

wget https://github.com/Titannet-dao/titan-node/releases/download/v0.1.19/titan-l1-guardian

Step 2: Set execution permissions

After the download is complete, you need to set proper execution permissions for this program file to ensure that it can run smoothly. Please enter the following command:

chmod 0755 titan-l1-guardian

Step 3: Configure storage environment variables

The Titan program needs to know where to store its data. Please select the appropriate storage path according to your system environment, and then set the environment variable. For example, if you want to use /mnt/storage as the storage path, you can use the following command:

export TITAN_METADATAPATH=/mnt/storage
export TITAN_ASSETSPATHS=/mnt/storage

Be sure to replace /mnt/storage with your actual path.

Step 4: Run the program in the background

After setting the environment variables, you are ready to start the Titan program. This step requires you to provide a valid code_id, which can be viewed in your Telegram or Email. Use the following command to start the program in the background and save the output log to a file:

nohup ./titan-l1-guardian daemon start --init --url https://cassini-locator.titannet.io:5000/rpc/v0 --code <code_id> > /var/log/guardian.log 2>&1 &

Please replace <code_id> with your actual code ID

Step 5: 👉Apply Identity Codebind👈

Step 6: Bind the identity code

Replace the your-hash-here with the identity code

./titan-l1-guardian bind --hash=your-hash-here https://api-test1.container1.titannet.io/api/v2/device/binding

Caution:

  • Ensure that the storage path you are using exists and has write permissions.

  • All output from the run will be redirected to /var/log/guardian.log, which you can view at any time to monitor the status of the program.

  • If you encounter problems with any of the steps, please recheck that you have entered the commands correctly, or contact technical support for assistance.

The above is a complete tutorial for setting up and running a Titan node, including a detailed description of the network requirements. Following these steps will ensure that your node is installed and running correctly. Please do not hesitate to contact us if you have any questions or need further assistance.

Last updated