Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 

Repository files navigation

Pipe Network Devnet-2 Node Setup Guide

Pipe Network DevNet 2 will serve as a proving ground for the testnet. After 40 days of stability, it will transition to the testnet

By running a Node, Users will earn Reputation and Scores during this phase to prove their contributions to the network.

  • You must be whitelisted and receive email with instructions to qualify for node's rewards.
  • If you are a new user, Signup here and wait until you receive an email.

System Requirements

  • Linux
  • Minimum 4GB RAM (configurable), more the better for higher rewards
  • At least 100GB free disk space (configurable). 200-500GB is a sweet spot
  • Internet connectivity available 24/7

Stop Old Node

if you have running a node previously, you need to do these steps first.

1. Backup node_info.json

Got to SFTP on your terminus, look for * node_info.json and back it up to your local file.

2. Stop old node

ls -l

3. You will see list, note the one that has anything to do with pipe-network

rm -rf # (whatever you want to delete).
# e.g rm -rf pipe

Node Setup

1. Create directories

mkdir -p /root/pipe
mkdir -p /root/pipe/download_cache/
cd /root/pipe

2. Download Pipe binaries

wget -O pop "https://dl.pipecdn.app/v0.2.5/pop"

3. Make pop executable

chmod +x pop

4. Create systemd file

We create a systemd file to run the node by entering the following command.

  • --ram 4: Replace 4 with your favorite Ram you want to allocate. (e.g., 4 for 8GB).
  • --max-disk 200: Replace 200 with the hard disk you want to allocate. (e.g., 200 for 200GB).
  • --pubKey SOLADDRESS: Replace SOLADDRESS with your Solana Public Address. (You can use your old node generated Sol address)
  • Refer to System Requirements step for choosing better specifications
sudo tee /etc/systemd/system/pipe.service > /dev/null << EOF
[Unit]
Description=Pipe Node Service
After=network.target
Wants=network-online.target

[Service]
User=root
Group=root
WorkingDirectory=/root/pipe
ExecStart=/root/pipe/pop \
    --ram 4 \
    --max-disk 200 \
    --cache-dir /root/pipe/download_cache \
    --pubKey SOLADDRESS \
    --signup-by-referral-route 62a43039f81528cc
Restart=always
RestartSec=5
LimitNOFILE=65536
LimitNPROC=4096
StandardOutput=journal
StandardError=journal
SyslogIdentifier=dcdn-node

[Install]
WantedBy=multi-user.target
EOF

5. Start systemd

sudo systemctl daemon-reload
sudo systemctl enable pipe
sudo systemctl start pipe

6. Check health

1. Check status

sudo systemctl status pipe

2. Check logs

journalctl -u pipe -f

No problem if you get the following error, it will be fine after a few hour

7. Check Node's Reputation and Scores

cd $HOME && cd pipe
./pop --status

You'll get following details representing your node's reputation

  • Uptime Score (40%): Based on node's uptime over past 7 days
  • Egress Score (30%): Based on data served in past 24h
  • Historical Score (30%): Based on consistent reporting

8. Backup Files

Recommened to backup node_info.json in /root/pipe. It is linked to the IP address that registered the PoP node. It is no recoverable if lost.

  • node_info.json: Node configuration

  • download_cache: Cached content

  • You will not be able to create a new node and new node_info.json with the same IP

    9. Replacing * node_info.json.

Got to SFTP on your terminus, look for PIPE folder/directory,open it and you will see the newly generated * node_info.json now replace the new one with the old one we save earlier and you are good to go.

10. Generate Referral Code

You can share your referral to other people to signup with it when running the PoP Node and earn bonus points.

cd $HOME && cd pipe
./pop --gen-referral-route

Optional: Restart or Stop Node

# Stop
sudo systemctl stop pipe

# Restart
sudo systemctl daemon-reload
sudo systemctl enable pipe
sudo systemctl restart pipe

Check your Node status:

https://dashboard.pipenetwork.com/

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors