> For the complete documentation index, see [llms.txt](https://docs.anyone.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.anyone.io/sdk/integrations/host-anon-rpc.md).

# 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="/pages/xQo8dVJlDmiAyc1jQYrx" %}
[Use Sepolia Anon RPC](/sdk/integrations/sepolia-rpc.md)
{% endcontent-ref %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.anyone.io/sdk/integrations/host-anon-rpc.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
