Setup OP Geth Node
This is a non-voting RPC node that users interact with for L2 transactions.
This OP Geth node serves as a non-voting RPC node that enables executing Eth L2 transactions.
Setting up an OP Geth Node needs OP Geth, Rhea, Hercules, Light Client (AKA Proxy), and Postgres.
OP Geth has been modified to calculate gas based on the required Solana compute. It retrieves the required gas value by querying Light Client.
Rhea picks up L2 transactions from OP Geth mempool, composes them into Solana transactions, and submits them to Solana for sequencing.
Solana's consensus voting nodes execute and vote on the ordering of these transactions. Hercules reads state from Solana nodes and confirms L2 transactions and ordering on OP Geth.
Machine specs
We recommend using an Ubuntu machine with:
4 cores, 8GB RAM, 1TB storage, 8MBit/sec network bandwidth
E.g. AWS c5a.2xlarge, Ubuntu, x86_64, EBS 1 TB GP3
Run Docker containers sequentially in the order below
Nginx
If you are setting up your L2 on a remote machine, then run the nginx container.
Modify romenginx volumes in rome-setup/docker/docker-compose.yml
to use the location of your SSL cert & private key (replace caesar.devnet.romeprotocol.xyz with your domain below):
Wait for the logs to print out "Configuration complete; ready for start up".
Restart services if needed
Docker container overview
The docker containers started above are listed below:
proxy
Light Client App
geth
OP Geth App
rhea
Rhea App
hercules
Hercules App
postgres
Postgres database
apply_migrations
Postgres migrations
romenginx
Nginx Proxy
Last updated
Was this helpful?