Run a Gravity Alpha Mainnet (L2) Node
Instructions about how to run a Gravity Alpha Mainnet node.
Guide
Prerequisites
A local directory for storing node data
An Ethereum mainnet RPC endpoint with unlimited rate limit for eth_getLogs
An Ethereum beacon chain RPC endpoint
Download Snapshot (Recommended)
Syncing a node from scratch can be extremely time-consuming and resource-intensive. We strongly recommend downloading our latest snapshot:
Extract the snapshot to your local directory before running the node.
In our experiment, syncing from scratch without using snapshots will take 12-15 days for Gravity Alpha Mainnet. The experiment was done in March 2025, when the block height of Gravity Alpha Mainnet is around 51,413,000.
Running the Node
Save the following script as run-gravity-node.sh
, make it executable with chmod +x run-gravity-node.sh
, and update the TODO variables:
Additional Information
The chain info is obtained from Conduit:
Relay endpoint is provided by Conduit as
wss://relay-gravity-mainnet-0.t.conduit.xyz
Gravity Alpha Mainnet uses Anytrust DA, with aggregator URL:
https://das-gravity-mainnet-0.t.conduit.xyz
References
For more information, please check out the following guides:
Last updated
Was this helpful?