Mantle
Set up your Mantle RPC node
Requirements
- Setup your Axelar validator
- Minimum hardware requirements: 8 AWS vCPU+, 16GB RAM, 500GB+ SSD free storage space.
- MacOS or Ubuntu 22.04 (tested on 22.04)
- Official Documentation
Prerequisites
Install docker
Download configs
Generate JWT secret and p2p node key
Update node config
Make sure to set ETH1_HTTP
to your own Ethereum RPC node for security.
Set the following config option in mainnet/envs/geth.env:
Set the following config option in docker-compose-sepolia.yml
Download latest snapshot
Download the latest snapshot for a quicker sync: Mainnet | Testnet
Start the node
An output similar to the following will be shown:
After it is done, verify by listing the services and their status
You should see these 2 services running
Check logs
Verify mantle geth logs
It will not import new headers until your op-node is synced, once your op-node is synced, your blast-geth logs should look like this
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 mantle node, your rpc_addr
should be exposed in
vald’s config.toml