The following instructions will demonstrate the process of deploying a full node on Binance Smart Chain using the Erigon Ethereum client.
Resources:
...
client.
Status | ||||
---|---|---|---|---|
|
Top-Level Guide
The following demonstration will exhibit the step-by-step processes of:
Logging into the system
Username & password login by default
Improve security w/ Public SSH Key
Option A → Run ssh-keygen command:
Option B → ls -al .ssh
fdafdasd
Code Block ssh-keygen -t rsa
Get Erigon
Run Erigon + Setup as a service so it will run again after rebooting
Change the hostname of the server
Make an exception for SSH, then turn on the firewall.
Open Erigon port 30303 through the firewall to allow incoming connections to the node (allows for a trustless, distributed system).
Setup DNS so it can be accessed with a domain name.
...
Launching an Erigon Node on Binance Smart Chain
Tutorial Demo for MacOS Systems
00 PREREQUISITES
0.1 System Requirements
Specification | Minimum Requirement | Used for Demo | ||
---|---|---|---|---|
Processor(s) | ≥ 16-Core | 16-Core | ||
Hardware | Linux / Mac / Windows system running the latest OS version | MacBook Pro running MacOS Monterey 12.2 | ||
SSD / NVMe Storage | ≥ 2 TB | 7.68 TB | ||
RAM | ≥ 6416 GB | 256 GB | ||
Server OS | Linux OS (64-bit) | Ubuntu Server 20.04.3 | ||
Network | Card≥ 5 Mbps | 1000 MbpsSettings |
|
0.2
...
What You’ll Need:
...
Required Components
Linux, Mac, or Windows computer running the latest
...
operating system (OS) version.
(For Demo: MacBook Pro
...
+ MacOS Monterey 12.2)
Terminal Emulator / SSH Client
Mac: Terminal
...
|| Windows: PuTTy
...
|| Linux: OpenSSH
Login credentials for the server being accessed.
01 Access the Server
Step 1: Open the terminal emulator. (e.g., Terminal, PuTTy, etc.)
...
0.3 System Preparation
0.3.1 Enabling SSH
To access the server remotely, the user must enable Secure Shell (SSH) on their home system.
Open Terminal.
Enable SSH on the
...
system with the following command/s:
Code Block language
...
powershell
...
sudo systemsetup -setremotelogin on
...
Password:
...
{Admin Password
...
}
Step 3: Access the Server via SSH:
Code Block | ||
---|---|---|
| ||
$ ssh {username}@{ip.address}
$ Password: *User's Password* |
...
02 Install Dependencies
0.3.2 Disabling SSH
Following the session - and anytime the server is not being accessed - it is best practice to disable SSH on the home system for ensured security.
Disable SSH by running this Terminal command/s:
Code Block sudo systemsetup -setremotelogin off Password: {Admin Password}
...
01 SETTING UP THE NODE SERVER
1.1 Connect to the Server via SSH
To access the server with SSH, run the following Terminal command/s (replacing details inside the brackets with your provided credentials):
Code Block ssh your_username@{server.ip} Password: {Server Password}
...
02 Install Dependencies
2.1 Viewing and Verifying the Server’s Components
Run the List Block command to view drives and partitions installed on the server.
Code Block |
---|
lsblk |
$ sudo apt-get update
$ sudo apt dist-upgrade -y
$ sudo apt autoremove -y
$ sudo apt install git
$ sudo apt install npm
What is Erigon? [Gnosis :: Medium]
How to Run a Fullnode on Binance Smart Chain [Binance Chain Docs]
How to Run a BSC Node on Erigon [Ankr Docs]