VALIDEXIS Services
  • 👋 About US
  • 🌐 Supported Networks
  • 🌍 Our Validators
  • 🔐 Validator Security: Our Approach and Protection Measures
    • 🔒Enhancing SSH Security for a Validator
    • 📡 TMKMS for Remote Signing
    • 🔑 Horcrux
    • 🛡️ Protecting Validator from DDoS Attacks
    • 🧩Multi-Factor Authentication (MFA) for a Validator
  • 🚨Monitoring
    • 📊 Node-exporter + Prometheus + Grafana
    • 🕵️ TenderDuty for Node Monitoring
  • 🧵 Setting up connection to IBC with Hermes
  • 🤖CelestiaUltraBot
    • 🏆 Contest
    • 🚀 Getting started
    • 🖥️ Validator monitoring
    • 🔍 Bridge Node Monitoring
    • 👛 Wallet
    • 🛸 AI Troubleshooting
  • 🟢 MAINNETS
    • Celestia
      • 🗂️ API/RPC/gRPC/AddrBook
      • 📸 Snapshot
      • 🔗 Validator Node Installation
        • 🛠️ Upgrade
        • 📜 Useful Commands
      • 💾 Full Node Installation
        • 🛠️ Upgrade
        • 📜 Useful Commands
      • 🌉 Bridge Node Installation
        • 🛠️ Upgrade
        • 📜 Useful Commands
      • 💡 Light Node Installation
        • 🛠️ Upgrade
        • 📜 Useful Commands
    • Zetachain
      • ⚙️ Installation
      • 🛠️ Upgrade
      • 📜 Useful Commands
    • Xion
      • ⚙️ Installation
      • 🛠️ Upgrade
      • 📜 Useful Commands
    • Nibiru
      • ⚙️ Installation
      • 🛠️ Upgrade
      • 📜 Useful Commands
    • Kyve
      • ⚙️ Installation
      • 🛠️ Upgrade
      • 📜 Useful Commands
    • Juno
      • ⚙️ Installation
      • 🛠️ Upgrade
      • 📜 Useful Commands
    • Agoric
      • ⚙️ Installation
      • 🛠️ Upgrade
      • 📜 Useful Commands
    • CosmosHub
      • ⚙️ Installation
      • 🛠️ Upgrade
      • 📜 Useful Commands
    • Lava
      • ⚙️ Installation
      • 🛠️ Upgrade
      • 📜 Useful Commands
    • Uptick
      • ⚙️ Installation
      • 🛠️ Upgrade
      • 📜 Useful Commands
    • Paloma
      • ⚙️ Installation
      • 🛠️ Upgrade
      • 📜 Useful Commands
    • Kusama
      • 🗂️ API/RPC
      • 📸 Snapshot
      • ⚙️ Installation
      • 🛠️ Upgrade
      • 📜 Useful Commands
    • Polkadot
      • 🗂️ API/RPC
      • 📸 Snapshot
      • ⚙️ Installation
      • 🛠️ Upgrade
      • 📜 Useful Commands
      • 🔧 Installing a Polkadot Node Using Kagome
      • 🧪 Benchmarking a Server for Substrate/Polkadot
      • 📘 Monitoring Polkadot Nodes with Prometheus and Alertmanager
      • 🔐 UFW Security Template
    • Starknet
      • ⚙️ Installation
      • 🛠️ Upgrade
      • 📜 Useful Commands
    • NYM
      • ⚙️ Installation
      • 🛠️ Upgrade
      • 📜 Useful Commands
  • 🟡 TESTNETS
    • Celestia
      • 🗂️ API/RPC/AddrBook
      • 📸 Snapshot
      • 🔗 Validator Node Installation
        • 🛠️ Upgrade
        • 📜 Useful Commands
      • 💾 Full Node Installation
        • 🛠️ Upgrade
        • 📜 Useful Commands
      • 🌉 Bridge Node Installation
        • 🛠️ Upgrade
        • 📜 Useful Commands
      • 💡 Light Node Installation
        • 🛠️ Upgrade
        • 📜 Useful Commands
Powered by GitBook
On this page
  1. 🟢 MAINNETS
  2. Polkadot

⚙️ Installation

Chain ID: polkadot | Node Version: v1.17.1

Recommended Hardware:

Node Type
CPU
RAM
Storage

Mainnet

6

32GB

1TB

Update System and Install Dependencies

sudo apt update && sudo apt upgrade -y
sudo apt install curl git make clang pkg-config libssl-dev build-essential -y
sudo apt install golang-go -y
sudo apt install apt-transport-https gnupg cmake protobuf-compiler -y

curl -fsSL https://bazel.build/bazel-release.pub.gpg | gpg --dearmor >bazel-archive-keyring.gpg
sudo mv bazel-archive-keyring.gpg /usr/share/keyrings

echo "deb [arch=amd64 signed-by=/usr/share/keyrings/bazel-archive-keyring.gpg] https://storage.googleapis.com/bazel-apt stable jdk1.8" | sudo tee /etc/apt/sources.list.d/bazel.list

Automatic Installation

source <(curl -s https://raw.githubusercontent.com/validexis/Polkadot/main/installmain.sh)

Install Rust and Required Components

curl https://sh.rustup.rs -sSf | sh -s -- -y
source $HOME/.cargo/env
rustup update
rustup component add rust-src
rustup target add wasm32-unknown-unknown
rustup install nightly-2024-01-21
rustup target add wasm32-unknown-unknown --toolchain nightly-2024-01-21

Clone and Build Polkadot SDK

git clone https://github.com/paritytech/polkadot-sdk.git
cd polkadot-sdk
git checkout polkadot-v1.17.2
cargo build --release

Configure and Create a Systemd Service

current_user=$(whoami)
STARTNAME="Your_Node_Name"
sudo tee /etc/systemd/system/polkadot.service > /dev/null <<EOF
[Unit]
Description=Polkadot Validator Node
After=network.target

[Service]
Type=simple
User=$current_user
ExecStart=$HOME/polkadot-sdk/target/release/polkadot \
  --validator \
  --name "$STARTNAME" \
  --chain=polkadot \
  --database RocksDb \
  --state-pruning 1000 \
  --port 30333 \
  --rpc-port 9933 \
  --prometheus-external \
  --prometheus-port=9615 \
  --unsafe-force-node-key-generation \
Restart=always
RestartSec=10
StandardOutput=journal
StandardError=journal

[Install]
WantedBy=multi-user.target
EOF

Start and Enable the Service

sudo systemctl daemon-reload
sudo systemctl enable polkadot.service
sudo systemctl restart polkadot.service

After the node has synchronized, we pull out the key from our node by entering the command

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

Creating a validator

  • We create a validator. To do this, select Network - Staking - Accounts - Validator

Previous📸 SnapshotNext🛠️ Upgrade

Last updated 3 months ago

After launch, we wait for our node to synchronize. You can track our condition using

Go to the and first create a wallet

TELEMETRY
chain