Update
Hapus Data lama and Download Versi terbaru
sudo systemctl stop tangle
rm -r .tangle; mkdir -p $HOME/.tangle
rm -r /usr/bin/tangle
wget -O tangle https://github.com/webb-tools/tangle/releases/download/v0.6.1/tangle-testnet-linux-amd64 && chmod +x tangle
sudo mv tangle /usr/bin/
Semua versi yang telah rilis bisa cek di SINI
Update service
Ubah YourName ke namamu
tangle.service
sudo tee /etc/systemd/system/tangle.service > /dev/null << EOF
[Unit]
Description=Tangle Validator Node
After=network-online.target
StartLimitIntervalSec=0
[Service]
User=$USER
Restart=always
RestartSec=3
ExecStart=/usr/bin/tangle \
--base-path $HOME/.tangle/data/validator/YourName \
--name YourName \
--chain tangle-testnet \
--auto-insert-keys \
--node-key-file "/home/YourName/node-key" \
--port 30333 \
--telemetry-url "wss://telemetry.polkadot.io/submit/ 0" \
--validator \
--no-mdns
[Install]
WantedBy=multi-user.target
EOF
Restart
sudo systemctl daemon-reload
sudo systemctl restart tangle
Cek logs
sudo journalctl -u tangle -f --no-hostname -o cat