Gravity Testnet Sepolia (L2) Node Setup

Instructions about how to run a Gravity Alpha Testnet Sepolia node.

Guide

Prerequisites

  1. A local directory for storing node data

  2. An Ethereum Sepolia RPC endpoint with unlimited rate limit for eth_getLogs

  3. An Ethereum Sepolia beacon chain RPC endpoint

  4. Connection to a Celestia lightnode or public testnet RPC endpoint

Node & DAS Server Setup

  1. Setup the Celestia DAS Server

    docker run -d --rm --name celestia-das-server \
        -p 9876:9876 \
        --entrypoint /bin/celestia-server \
        ghcr.io/celestiaorg/nitro-das-celestia:v0.4.1 \
        --enable-rpc --rpc-addr=0.0.0.0 --rpc-port=9876 \
        --celestia.rpc=<YOUR_CELESTIA_TESTNET_ENDPOINT>\
        --celestia.namespace-id=<TESTNET_NAMESPACE_ID> 
  2. Connect to a Celestia testnet RPC endpoint

Syncing a node from scratch can be extremely time-consuming and resource-intensive. We strongly recommend downloading our latest snapshot:

Running the node

Save the following script as run-gravity-testnet-node.sh, make it executable with chmod +x run-gravity-node.sh, and update the TODO variables:

References

For more information, please check out the following guides:

Last updated

Was this helpful?