💻Baremetal

Authors: [man4ela | catapulta.eth]

System Requirements

CPU
OS
RAM
DISK

8+ cores CPU

Debian 12/Ubuntu 22.04

=> 16 GB RAM

550GB+ (SSD or NVMe)

The BobaBNB archive node has a size of 525GB on August 8th, 2024

BobaBNB

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-config

Setting up Firewall

Set explicit default UFW rules

Allow SSH

Allow remote RPC connections with Blast Node

Enable Firewall

To check the status of UFW and see the current rules

Install dependencies

Required Software Dependencies

Dependency
Version
Version Check Command

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:

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

When 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?