Run a Node
Hardware Requirements:
The following hardware minimum requirements are recommended for running the node:
Memory: 64 GB RAM
CPU: 16-Core
Disk: 6 TB SDD Storage
Bandwidth: 1 Gbps for Download/100 Mbps for Upload
Setting Up Your Node:
The following tutorial is done on an Ubuntu Linux 20.04 (LTS) x64 instance machine.
Node Installation:
This guide shows how to install and run an Polygon full node.
How to install Polygon from source:
Before you start, you might want to ensure your system is updated. You can also install a utility named
jqto read and navigate in JSON files and outputs (other utilities could be installed too).sudo apt update && sudo apt upgrade -y && sudo apt install -y build-essential curl wget jq
To install Heimdall, run the below commands:
curl -L https://raw.githubusercontent.com/maticnetwork/install/main/heimdall.sh | bash -s -- <heimdall_version> <network_type> <node_type>That will install the heimdalld and heimdallcli binaries. Verify the installation by checking the Heimdall version on your machine:
heimdalld version --longConfigure heimdall seeds (mainnet)
Configure heimdall seeds (amoy)
Open the P2P port (26656 by default)
To install Bor, run the below commands:
That will install the bor binary. Verify the installation by checking the Bor version on your machine:
Configure bor seeds (mainnet)
Configure bor seeds (amoy)
Open the port (30303 by default)
Once the has been configured, we are ready to start the node and sync the data:
Start Heimdall Service.
Check logs in real time.
To verify that the heimdall node is synced before proceeding.
Make sure that you have "catching_up": false, otherwise leave it running until it is in sync.
Now once Heimdall is synced, run.
Start Bor.
You can check Bor logs here:
To verify that the bor node is synced before proceeding.
Make sure that you have "catching_up": false, otherwise leave it running until it is in sync.
Last updated