> ## Documentation Index
> Fetch the complete documentation index at: https://www.helius.dev/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Endpoints

> RPC endpoints and connection details for Helius Privacy on mainnet, devnet, and localnet.

## Beta Endpoints

**Devnet:**

| Service    | Host the SDK uses                                                   | Notes                                                          |
| ---------- | ------------------------------------------------------------------- | -------------------------------------------------------------- |
| Solana RPC | `https://devnet.helius-rpc.com/?api-key=<API_KEY>`                  | Helius key. Fund the payer with [devnet SOL](/docs/rpc/devnet-sol). |
| Indexer    | `http://zolnet-devnet-1779374825.eu-north-1.elb.amazonaws.com`      | Fetches encrypted state.                                       |
| Prover     | `http://zolnet-devnet-1779374825.eu-north-1.elb.amazonaws.com:3001` | Generates ZK proofs                                            |

**Localnet:**

`zolana dev start`. RPC port `:8899`, indexer port `:8784`, prover port `:3001`.

## Create an RPC connection

<Tabs>
  <Tab title="TypeScript">
    <Tabs>
      <Tab title="Devnet">
        ```ts theme={"system"}
        import { createZolanaClient } from "@heliuslabs/zolana";

        const client = await createZolanaClient({
          solanaRpcUrl: "https://devnet.helius-rpc.com/?api-key=YOUR_API_KEY",
          indexerUrl: "http://zolnet-devnet-1779374825.eu-north-1.elb.amazonaws.com",
          proverUrl: "http://zolnet-devnet-1779374825.eu-north-1.elb.amazonaws.com:3001",
          allowInsecureHttp: true,
        });
        ```

        Fund the payer with [devnet SOL](/docs/rpc/devnet-sol).
      </Tab>

      <Tab title="Localnet">
        ```bash theme={"system"}
        cargo install --git https://github.com/helius-labs/zolana --tag v0.1.0-alpha zolana-cli
        zolana dev start
        ```

        ```ts theme={"system"}
        import { createZolanaClient } from "@heliuslabs/zolana";

        const client = await createZolanaClient({});
        ```
      </Tab>
    </Tabs>
  </Tab>

  <Tab title="Rust">
    <Tabs>
      <Tab title="Devnet">
        ```rust theme={"system"}
        use solana_address::Address;
        use zolana_client::{SolanaRpc, ZolanaClient};
        use zolana_interface::DEFAULT_TREE_ADDRESS;

        let tree: Address = DEFAULT_TREE_ADDRESS.parse()?;
        let client = ZolanaClient::from_urls_allowing_insecure_http(
            SolanaRpc::new("https://devnet.helius-rpc.com/?api-key=YOUR_API_KEY"),
            "http://zolnet-devnet-1779374825.eu-north-1.elb.amazonaws.com",
            "http://zolnet-devnet-1779374825.eu-north-1.elb.amazonaws.com:3001",
            tree,
        );
        ```
      </Tab>

      <Tab title="Localnet">
        ```bash theme={"system"}
        cargo install --git https://github.com/helius-labs/zolana --tag v0.1.0-alpha zolana-cli
        zolana dev start
        ```

        ```rust theme={"system"}
        use solana_address::Address;
        use zolana_client::{SolanaRpc, ZolanaClient};
        use zolana_interface::DEFAULT_TREE_ADDRESS;

        let tree: Address = DEFAULT_TREE_ADDRESS.parse()?;
        let client = ZolanaClient::from_urls(
            SolanaRpc::new("http://127.0.0.1:8899"),
            "http://127.0.0.1:8784",
            "http://127.0.0.1:3001",
            tree,
        )?;
        ```
      </Tab>
    </Tabs>
  </Tab>
</Tabs>

## Related Guides

<CardGroup cols={2}>
  <Card title="SDK" icon="cube" href="/docs/privacy/sdk" horizontal />

  <Card title="Addresses" icon="map-pin" href="/docs/privacy/addresses" horizontal />
</CardGroup>

## Didn't find what you were looking for?

<Callout type="info">
  Reach out! [Telegram](https://t.me/tilo_light) | [E-Mail](mailto:sales@helius.xyz) | [Contact](https://www.helius.dev/contact)
</Callout>
