# Host Sepolia Anon RPC

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:

* Minimum 850Gb free disk space for Sepolia.
* Docker, see [https://docs.docker.com/engine/install](https://docs.docker.com/engine/install/).

### Installation:

1. Create directories and generate a JWT key.

```bash
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
```

2. Download `docker-compose.yaml` and `Dockerfile` for this anon-specific RPC container.&#x20;

```bash
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
```

3. Build image and deploy containers.

```bash
docker compose up -d
```

4. Find the hidden service address.

<pre class="language-bash"><code class="lang-bash"><strong>cat ~/hs-sepolia-rpc/config/anon/hidden_service/hostname
</strong></code></pre>

The terminal will then print a hidden service address ending in `.anon`.&#x20;

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!

{% content-ref url="sepolia-rpc" %}
[sepolia-rpc](https://docs.anyone.io/sdk/integrations/sepolia-rpc)
{% endcontent-ref %}
