💻Baremetal
Authors: [man4ela | catapulta.eth]
System Requirements
8+ cores CPU
Debian 12/Ubuntu 22.04
=> 16 GB RAM
550GB+ (SSD or NVMe)
BobaBNB
Boba Network is built on the Optimistic Rollup developed by Optimism, which ensures EVM and Solidity compatibility, minimizing the efforts required to migrate smart contracts from L1 to L2.
In this guide, we are walking through the process of setting up a BobaBNB archive node using l2geth and DTL (Data Transport Layer).
BobaBNB is a Layer 2 scaling solution for the Binance Smart Chain (BSC), designed to enhance transaction throughput and reduce fees while maintaining the security of BSC. By deploying a BobaBNB archive node, you gain access to the complete transaction history, enabling advanced queries and analytics
Pre-Requisites
sudo apt update -y && sudo apt upgrade -y && sudo apt autoremove -y
sudo apt install -y git make wget aria2 gcc pkg-config libusb-1.0-0-dev libudev-dev jq gcc g++ curl libssl-dev screen apache2-utils build-essential pkg-configSetting up Firewall
Set explicit default UFW rules
Allow SSH
Allow remote RPC connections with Blast Node
Not advised to allow all or unknown IP address to RPC port
Enable Firewall
To check the status of UFW and see the current rules
Install dependencies
Required Software Dependencies
go
^1.21
go version
node
^20
node --version
pnpm
^8
pnpm --version
foundry
^0.2.0
forge --version
make
^4
make --version
yarn
1.22.21
yarn --version
nvm
0.39.3
nvm --verison
Install GO
Install nvm
Download foundry
Install foundry
Install node and yarn
Check if go and all dependancies are installed
Build the Execution Engine (l2geth)
Clone the Boba Legacy Monorepo and build l2geth:
Create database directories for l2geth and DTL:
Creating password and block-signer key
Create systemd service for l2geth
Paste the configs and save by entering ctrl+X and Y+ENTER:
Build Data Transport Layer (DTL)
Create systemd service for DTL
Paste DTL configs and save by entering ctrl+X and Y+ENTER:
Create Environment file for DTL:
Paste the configs and save changes by entering ctrl+X and Y+ENTER:
ctrl+X and Y+ENTER:Import genesis information and initialize l2geth
Launch BobaBNB
Start DTL
Start l2geth
Run curl command in the terminal to check the status of your node
curl command in the terminal to check the status of your nodeWhen it returns false then your node is fully synchronized with the network
Monitor the logs for errors
During the synchonization, you are expected to get following log messages from DTL:
and l2geth:
References
Last updated
Was this helpful?