Pipe Network Testnet

Written by FURI2 min read

Pipe Network Testnet
On this page

Pipe Network is a decentralized content delivery network. Run a node and participate in the incentivized testnet to earn rewards. Both PoP Nodes and Guardian Nodes play critical roles in the network.


Setup Guide#

1. Create Directory#

text
sudo mkdir -p /opt/dcdn

2. Download Pipe Tool Binary#

Replace the URL with the link provided in your email:

text
sudo curl -L "https://example-link.com/pipe-tool" -o /opt/dcdn/pipe-tool

3. Download Node Binary#

text
sudo curl -L "https://example-link.com/dcdnd" -o /opt/dcdn/dcdnd

4. Make Binaries Executable#

text
1sudo chmod +x /opt/dcdn/pipe-tool
2sudo chmod +x /opt/dcdn/dcdnd

5. Login to Generate Access Token#

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

6. Generate Registration Token#

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

7. Create Service File#

text
1sudo cat > /etc/systemd/system/dcdnd.service << 'EOF'
2[Unit]
3Description=DCDN Node Service
4After=network.target
5Wants=network-online.target
6
7[Service]
8ExecStart=/opt/dcdn/dcdnd \
9    --grpc-server-url=0.0.0.0:8002 \
10    --http-server-url=0.0.0.0:8003 \
11    --node-registry-url="https://rpc.pipedev.network" \
12    --cache-max-capacity-mb=1024 \
13    --credentials-dir=/root/.permissionless \
14    --allow-origin=*
15
16Restart=always
17RestartSec=5
18LimitNOFILE=65536
19LimitNPROC=4096
20StandardOutput=journal
21StandardError=journal
22SyslogIdentifier=dcdn-node
23WorkingDirectory=/opt/dcdn
24
25[Install]
26WantedBy=multi-user.target
27EOF

8. Open Ports#

text
1sudo ufw allow 8002/tcp
2sudo ufw allow 8003/tcp

9. Start the Node#

text
1sudo systemctl daemon-reload
2sudo systemctl enable dcdnd
3sudo systemctl start dcdnd

10. Verify Node Status#

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

11. Generate and Register Wallet#

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

Link your wallet:

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

Best of luck with the testnet! 馃殌

Keep reading

All articles