Run a Node
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
jq
to read and navigate in JSON files and outputs (other utilities could be installed too).
To install Heimdall, run the below commands:
That will install the heimdalld
and heimdallcli
binaries. Verify the installation by checking the Heimdall version on your machine:
Open the P2P port (26656 by default)
To install Erigon, run the below commands:
That will install the Erigon
binary. Verify the installation by checking the Erigon version on your machine:
Open the port (30303 by default)
Create a new erigon service file
The configuration below assumes that you are running it on amoy
Run erigon using configs provided in the config.toml
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 Erigon.
You can check Erigon logs here:
Last updated