💻Baremetal
Authors: [Payne | Stake🦑Squid]
System Requirements
BNB archive size on June 20th 2024 was 11TB
Erigon 🦦
Official Docs https://github.com/node-real/bsc-erigon
Snapshots
To download archive snapshots, please use the following: https://github.com/binance-chain/bsc-snapshots
Install go
Download the Go programming language distribution archive, extracts it to the "/usr/local" directory, and then removes the downloaded archive, effectively installing Go version 1.22.4 on the system.
Please add the Go executable path to your system's PATH
environment variable, and then test to ensure that Go is working correctly.
Build Erigon
Clone the Erigon repository from GitHub, including its submodules, changes the current directory to the Erigon directory, checks out the latest release tag, and then compile the project using the "make" build system.
Configure Erigon
Append a systemd service configuration for the Erigon BNB Mainnet Service to the "/etc/systemd/system/erigon.service" file, specifying its description, dependencies, and executable parameters for proper execution and monitoring.
Run Erigon
Reload the systemd manager configuration, start the Erigon service, and enable it to start automatically on system boot, ensuring that the Erigon BNB Mainnet Service is active and will be automatically started upon system startup.
Monitor Logs
Use journalctl to display real-time log messages and continuously follow the log output of the Erigon service, allowing you to monitor its activity and troubleshoot any issues as they occur.
Last updated