Host Sepolia Anon RPC

Host your own anon RPC as a hidden service.

This guide will demonstrate how to install Geth, Lighthouse and Anon to host a Sepolia RPC as a hidden service.

To speed up the synchronization of blockchain and consensus data, Geth will run in 'snap' mode and Lighthouse will use the checkpoint sync state URL: https://sepolia.beaconstate.info. Depending on the bandwidth of the host it can take between a few hours to days. The RPC will only be ready to use when the synchronization has finished.

References:

https://hub.docker.com/r/ethereum/client-go https://hub.docker.com/r/sigp/lighthouse

Prerequisites:

Installation:

  1. Create directories and generate a JWT key.

mkdir -p ~/hs-sepolia-rpc/jwt-secret/
cd ~/hs-sepolia-rpc
openssl rand -hex 32 | tr -d "\n" > ~/hs-sepolia-rpc/jwt-secret/jwt.hex
  1. Download docker-compose.yaml and Dockerfile for this anon-specific RPC container.

wget https://raw.githubusercontent.com/anyone-protocol/anon-install/refs/heads/main/hs-sepolia-rpc/Dockerfile
wget https://raw.githubusercontent.com/anyone-protocol/anon-install/refs/heads/main/hs-sepolia-rpc/docker-compose.yaml
  1. Build image and deploy containers.

docker compose up -d
  1. Find the hidden service address.

The terminal will then print a hidden service address ending in .anon.

Verify the containers are running properly by checking the logs:

docker logs -f geth

docker logs -f lighthouse

docker logs -f anon

Use

Follow the below guide to connect popular wallets to the public RPC link!

Use Sepolia Anon RPC

Last updated