This guide shows how to run a Polkadot relay chain node (full / validator-ready),
using three official binaries: polkadot, polkadot-prepare-worker and
polkadot-execute-worker.
sudo apt update && sudo apt upgrade -y
sudo apt install curl wget jq lz4 git tmux htop -y
sudo apt install systemd-timesyncd -y
sudo systemctl enable systemd-timesyncd
sudo systemctl start systemd-timesyncd
timedatectl status
Version {{nodeVersion}} is automatically populated on this page. Three binaries are used:
polkadot, polkadot-prepare-worker, polkadot-execute-worker.
cd $HOME
wget "https://github.com/paritytech/polkadot-sdk/releases/download/polkadot-{{nodeVersion}}/polkadot"
wget "https://github.com/paritytech/polkadot-sdk/releases/download/polkadot-{{nodeVersion}}/polkadot-prepare-worker"
wget "https://github.com/paritytech/polkadot-sdk/releases/download/polkadot-{{nodeVersion}}/polkadot-execute-worker"
chmod +x polkadot polkadot-prepare-worker polkadot-execute-worker
sudo mv polkadot polkadot-prepare-worker polkadot-execute-worker /usr/local/bin/
polkadot --version
We use a base path that is compatible with the snapshot instructions from the 📸 Snapshot tab.
mkdir -p $HOME/polkadot/.local/share/polkadot
chown -R $(id -u):$(id -g) $HOME/polkadot
A node key provides a stable network identity (peer ID) for your node.
mkdir -p $HOME/polkadot/.local/share/polkadot/chains/polkadot/network
polkadot key generate-node-key \
--file $HOME/polkadot/.local/share/polkadot/chains/polkadot/network/secret_ed25519
Edit YOUR_NODE_NAME and, if needed, public IP / ports. The example below runs an archive validator node
with Prometheus metrics and telemetry enabled.
sudo tee /etc/systemd/system/polkadot.service > > /dev/null <<EOF
[Unit]
Description=Polkadot node
After=network-online.target
Wants=network-online.target
[Service]
User=${USER}
Restart=always
RestartSec=5
LimitNOFILE=65535
ExecStart=/usr/local/bin/polkadot \
--chain polkadot \
--name "YOUR_NODE_NAME" \
--validator \
--base-path $HOME/polkadot/.local/share/polkadot \
--node-key-file $HOME/polkadot/.local/share/polkadot/chains/polkadot/network/secret_ed25519 \
--state-pruning archive \
--blocks-pruning archive \
--port 30333 \
--rpc-port 9933 \
--ws-port 9944 \
--rpc-external \
--ws-external \
--rpc-cors=all \
--rpc-methods=safe \
--prometheus-port 9615 \
--prometheus-external \
--telemetry-url "wss://telemetry.polkadot.io/submit/ 0"
[Install]
WantedBy=multi-user.target
EOF
sudo systemctl daemon-reload
sudo systemctl enable polkadot
sudo systemctl start polkadot
sudo journalctl -u polkadot -f -o cat
To speed up synchronization, use the latest snapshot from the 📸 Snapshot tab on this page
and extract it into $HOME/polkadot/.local/share/polkadot.
For full validator setup (keys, bonding, session keys, telemetry, etc.), please follow the official Polkadot validator documentation .
URL: https://rpc.polkadot.stakeup.tech
Description: This RPC endpoint allows remote procedure calls to interact with the Polkadot blockchain network.
URL: wss://rpc.polkadot.stakeup.tech
Description: This WebSocket (WSS) endpoint provides a real-time connection for continuous updates and interaction with the Polkadot network.
Advanced analytics for Polkadot validators, developed and maintained by StakeUp.
Main explorer for the Polkadot relay chain.
Explorer for the Asset Hub system parachain on Polkadot.
Main hub for Polkadot information and guides.
Developer-focused documentation and infrastructure guides.
Official guide for running a full Polkadot node.
High-level explanation of staking and nominating.
Native staking dashboard for Polkadot, Kusama and Westend.
Alternative staking interface for Polkadot.
Advanced validator & operator analytics by StakeUp.
Dashboards and tools for nominators and validators.
Real-time network and node telemetry.
Classic web UI for interacting with Polkadot and parachains.
Main repositories for Polkadot, Substrate and tooling.
Source for the Polkadot documentation website.
Documentation for polkadot{.js} libraries and tools.
Classic browser extension wallet for Substrate-based networks.
User-friendly multichain wallet focused on Polkadot & Kusama.
Non-custodial wallet for Polkadot, Kusama and parachains.
Mobile wallet with rich staking & portfolio features for Polkadot.
Ecosystem discussions, proposals and technical Q&A.
Technical questions and answers for Substrate / Polkadot devs.
| Block | Size | Snapshot Time | Database | Download |
|---|
sudo apt install lz4
wget https://snapshots.stakeup.tech/{{dirName}}/{{dirName}}_latest.tar.lz4
lz4 -d -c {{dirName}}_latest.tar.lz4 | tar -x -C $HOME/polkadot/.local/share/polkadot/chains/polkadot
rm -v {{dirName}}_latest.tar.lz4