Bandwidth Mining Guide
Install Deeplink bandwidth service and pledge online
1. Install Turn server
2.1 Installation
sudo apt update
sudo apt install coturn -y
2.2 Configuring turnserver
sudo vim /etc/turnserver.conf
# Replace the configuration with the following. Note: Be sure to replace the IP, otherwise your service will be abnormal.
listening-port=3478
relay-ip=<server local IP>
external-ip=<server public IP>
server-name=<server public IP>
lt-cred-mech
min-port=40001
max-port=41000
user=user1:key1
fingerprint
server-relay
realm=quicdesk.com
#restart server
sudo systemctl restart coturn
sudo systemctl status coturn
2.3 stop and disable firewall
sudo systemctl stop ufw
sudo systemctl disable ufw
2.4 Open ports (set in the vps console --- security group, refer to the VPS purchasing guide)
Open UDP 3478 and UDP 40001-41000 ports
2.5 Test connectivity
Open the following URL, enter actual data, test
https://webrtc.github.io/samples/src/content/peerconnection/trickle-ice/
Click the red button, and if done appears, it is successful
3. Install DeepLink_Bandwidth node program
3.1 download
mkdir deeplink_bandwidth && cd deeplink_bandwidth
wget https://download.deeplink.cloud/Deeplink_Bandwidth
sudo chmod +x Deeplink_Bandwidth
3.2 init node./Deeplink_Bandwidth -wallet <EVM wallet address>
3.3 run server(Or use PM2 for management according to 3.4, which is more stable)
nohup ./Deeplink_Bandwidth &
3.4 PM2 management service (automatically restart to prevent program interruption and loss of benefits)
# install nodejs
sudo apt update
curl -fsSL https://deb.nodesource.com/setup_20.x | sudo -E bash -
sudo apt install -y nodejs
#Verify whether the installation is successful. If the version number is output normally, the installation is successful.
node -v
npm -v
#install pm2
sudo npm install -g pm2
# Set pm2 to start automatically at boot
sudo pm2 startup systemd
# Edit the startup script
vim pm2_start.json
{
"apps": [
{
"name": "deeplink-bandwidth",
"script": "./Deeplink_Bandwidth",
"watch": true,
"instances": 1,
"exec_mode": "fork"
}
]
}
# start server
pm2 start pm2_start.json
# check server
pm2 list
4. Staking and Online
4.1 URL
https://www.dbcscan.io/en/mining/DeepLink
4.2 get machine id to stake
# Execute in the same directory as the bandwidth program:
cat config.json
4.3 Go to the website to pledge. Make sure you have 1001+ DBC and 1 NFT for one node in your account. Click pledge in order and authorize the pledge operation in the pop-up matemask or other wallet plug-in.