Skip to main content

Tangle

END Testnet

Run the node using SystemD

1. Server Requirements

ComponentRequirements
CPU8
Storage500 GB
Ram16 GB
Port30333 - P2P
9933 - RPC
9615 - Prometh
OSUbuntu 22.04

2. Update & install the necessary utilities

# Change Your-name
MONIKER=<Your-name_VNBnode>
apt update && apt upgrade -y
apt install curl iptables build-essential git wget jq make gcc nano tmux htop nvme-cli pkg-config libssl-dev libleveldb-dev libgmp3-dev tar clang bsdmainutils ncdu unzip llvm libudev-dev make protobuf-compiler -y

3. Download binaries files

mkdir -p $HOME/.tangle && cd $HOME/.tangle
wget -O tangle https://github.com/webb-tools/tangle/releases/download/v0.6.1/tangle-testnet-linux-amd64
chmod 744 tangle
mv tangle /usr/bin/
tangle --version
# **Result should be**: 0.x.x-e892e17-x86_64-linux-gnu

4. Download json file

wget -O $HOME/.tangle/tangle-standalone.json "https://raw.githubusercontent.com/webb-tools/tangle/main/chainspecs/testnet/tangle-testnet.json"
chmod 744 ~/.tangle/tangle-standalone.json
# Check json file
sha256sum ~/.tangle/tangle-standalone.json
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
LimitNOFILE=65535
ExecStart=/usr/bin/tangle \
--base-path $HOME/.tangle/data/ \
--name $MONIKER \
--chain $HOME/.tangle/tangle-standalone.json \
--node-key-file "$HOME/.tangle/node-key" \
--port 30333 \
--rpc-port 9933 \
--prometheus-port 9615 \
--auto-insert-keys \
--validator \
--telemetry-url "wss://telemetry.polkadot.io/submit 0" \
--no-mdns
[Install]
WantedBy=multi-user.target
EOF
systemctl daemon-reload
systemctl enable tangle

5. Run service & check logs

systemctl restart tangle && journalctl -u tangle -f -o cat

image image

6. Check the node on dashboard

Click here

image

7.Validator setup

Click here

# get your session key
curl -H "Content-Type: application/json" -d '{ "id": 1, "jsonrpc": "2.0", "method": "author_rotateKeys", "params": [] }' http://localhost:9933

image insert session key image

8.Fill the form

Apply form

9. Leaderboard

Thank to support VNBnode.

Visit us at: