Optimism
Instructions to set up your Optimism node.
Note: Mainnet instructions here will only work after the bedrock upgrade is live on mainnet
Requirements
- Setup your Axelar validator
- Minimum hardware requirements: 8 AWS vCPU+, 16GB RAM, 80GB+ free storage space.
- MacOS or Ubuntu 20.04 (tested on 20.04)
- Official Documentation
Prerequisites
Clone Repo
Set node config
Set the following config options in simple-optimism-node/.env
:
Start the node
This should show an output like this:
After it is done, verify by listing the services and their status
You should see these 4 services running
Check logs
Verify op-geth logs
It will download the bedrock.tar
Once download the server will start, and you will see logs like
Verify op-node logs
You should see logs like
Verify node sync status
RPC Endpoint
Method 1:
If you get something like this in response to the above rpc call, your node is setup correctly
You can use a hex to number convertor to get the block height
Method 2:
You can also check your status by connecting to geth console
You can compare the block height on your node with explorer (mainnet or testnet), use your RPC node only when it has caught up with the latest block height.
Configure vald
In order for vald
to connect to your Optimism node, your rpc_addr
should be exposed in
vald’s config.toml
Common Node Operations
First cd
into the directory
To start
To stop
To update
To stop and wipe out everything