Skip to content

Gunpyr/Pipe-Network

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

Pipe-Network

  • You must have signed up for the Pipe Network Node Operator Waitlist Form to be able to run incentivized PoP Node. If not, Fill in the Form and wait for Email

  • Check your email or search pipe. If you've received such Email, you can start running the Node

image

  • You must open the latest Email since they made several updates recently. For now the latest version is v0.1.3

image

Incentivized PoP Node Step by Step Guide

Official Links

X Discord

System Requirements

Ram cpu disk
2 GB 2 Core 60 GB SSD

Install Dependecies

sudo apt update && sudo apt upgrade -y
sudo apt install curl iptables build-essential git wget lz4 jq make gcc nano automake autoconf tmux htop nvme-cli pkg-config libssl-dev libleveldb-dev tar clang aria2 bsdmainutils ncdu unzip libleveldb-dev -y

Install PoP Node

1.Create directory

sudo mkdir -p /opt/dcdn

2.Set Variables

Replace your files urls sent to your email between ""

export DCDND_URL=""
export PIPE_URL=""

Screenshot_470

3.Download Binaries

sudo curl -L "$PIPE_URL" -o /opt/dcdn/pipe-tool
sudo curl -L "$DCDND_URL" -o /opt/dcdn/dcdnd

4.Give permission to binary files

sudo chmod +x /opt/dcdn/pipe-tool
sudo chmod +x /opt/dcdn/dcdnd

5.Create systemd file

Enter the whole command in the terminal

# Create service file using tee
sudo tee /etc/systemd/system/dcdnd.service << 'EOF'
[Unit]
Description=DCDN Node Service
After=network.target
Wants=network-online.target

[Service]
# Path to the executable and its arguments
ExecStart=/opt/dcdn/dcdnd \
                --grpc-server-url=0.0.0.0:8002 \
                --http-server-url=0.0.0.0:8003 \
                --node-registry-url="https://rpc.pipedev.network" \
                --cache-max-capacity-mb=1024 \
                --credentials-dir=/root/.permissionless \
                --allow-origin=*

# Restart policy
Restart=always
RestartSec=5

# Resource and file descriptor limits
LimitNOFILE=65536
LimitNPROC=4096

# Logging
StandardOutput=journal
StandardError=journal
SyslogIdentifier=dcdn-node


# Working directory
WorkingDirectory=/opt/dcdn

[Install]
WantedBy=multi-user.target
EOF

6.Open Ports

sudo ufw allow 8002/tcp
sudo ufw allow 8003/tcp

7.Log In to Generate Access Token

/opt/dcdn/pipe-tool login --node-registry-url="https://rpc.pipedev.network"

Screenshot_465

  • Scan the QR code or use the browser window that opens automatically.
  • Create an account or sign in with your Google credentials.
  • Return to the terminal. Upon successful login, you will see the message: “Logged in successfully!”

Screenshot_466

8.Generate Registration Token

/opt/dcdn/pipe-tool generate-registration-token --node-registry-url="https://rpc.pipedev.network"

Screenshot_468

9.Start Node

sudo systemctl daemon-reload
sudo systemctl enable dcdnd
sudo systemctl start dcdnd

Check Node health

/opt/dcdn/pipe-tool list-nodes --node-registry-url="https://rpc.pipedev.network/"

Screenshot_469

Generate Wallet

Important: Save your Recovery Phrase

/opt/dcdn/pipe-tool generate-wallet --node-registry-url="https://rpc.pipedev.network"

Link Wallet

/opt/dcdn/pipe-tool link-wallet --node-registry-url="https://rpc.pipedev.network"

  • Save your ~/.permissionless directory which contains your keys
  • We will need to update our node with each release, I will announce it in twitter or update this repo

Optional: Delete Node

sudo systemctl stop dcdnd.service
sudo systemctl disable dcdnd.service
sudo rm /etc/systemd/system/dcdnd.service
sudo systemctl daemon-reload
rm -r /opt/dcdn

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors