Base
Instructions to set up your Base (Coinbase L2) node.
Note: Mainnet for base is not available yet. Instructions will be added after launch.
Requirements
- Setup your Axelar validator
- Minimum hardware requirements: 16GB RAM, 100GB+ free storage space.
- MacOS or Ubuntu 20.04 (tested on 20.04)
- Official Documentation (opens in a new tab)
Prerequisites
sudo apt-get install jq -y
snap install docker
Configure and start node
- Clone the Base repo
git clone https://github.com/base-org/node
-
In
docker-compose.yml
, setOP_NODE_L1_ETH_RPC
to your own Goerli L1 RPC node. Using your own Goerli node is required to guarantee decentralization for validation. -
Run:
docker compose up
- You should now be able to
curl
your Base node:
curl -d '{"id":0,"jsonrpc":"2.0","method":"eth_getBlockByNumber","params":["latest",false]}' \
-H "Content-Type: application/json" http://localhost:8545
Sync speed depends on your L1 node, as the majority of the chain is derived from data submitted to the L1. You can check your syncing status using the optimism_syncStatus
RPC on the op-node
container. Example:
echo Latest synced block behind by: \
$((($( date +%s )-\
$( curl -d '{"id":0,"jsonrpc":"2.0","method":"optimism_syncStatus"}' -H "Content-Type: application/json" http://localhost:7545 |
jq -r .result.unsafe_l2.timestamp))/60)) minutes
You can check the latest block against the explorer (opens in a new tab).
Since Base uses the Optimism stack, you can review the Optimism Instructions for more details on expected log output and helpful rpc queries.
Configure vald
In order for vald
to connect to your Base node, your Base RPC should be exposed in
vald's config.toml
[[axelar_bridge_evm]]
name = "base"
rpc_addr = "http://IP:PORT"
start-with-bridge = true