> ## 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

> Endpoints RPC y detalles de conexión de Helius Privacy en devnet y localnet.

## Endpoints beta

**Devnet:**

| Servicio      | Endpoint                                           | Notas                                                                              |
| ------------- | -------------------------------------------------- | ---------------------------------------------------------------------------------- |
| RPC de Solana | `https://devnet.helius-rpc.com/?api-key=<API_KEY>` | Clave de Helius. Agrega fondos al pagador con [SOL de devnet](/docs/es/rpc/devnet-sol). |
| Indexador     | `https://d2xah7tnhdhcom.cloudfront.net`            | Obtiene el estado cifrado.                                                         |
| Probador      | `https://d21ni15goiip6l.cloudfront.net`            | Genera pruebas ZK                                                                  |

**Para anillos personalizados, usa:**

| Servicio       | Endpoint                                | Notas                   |
| -------------- | --------------------------------------- | ----------------------- |
| RPC de anillos | `https://d24brah9h1i4q9.cloudfront.net` | Endpoint RPC de anillos |

**Localnet:**

`zolana dev start`. Puerto RPC `:8899`, puerto del indexador `:8784`, puerto del probador `:3001`.

## Crea una conexión RPC

<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: "https://d2xah7tnhdhcom.cloudfront.net",
          proverUrl: "https://d21ni15goiip6l.cloudfront.net",
        });
        ```

        Agrega fondos al pagador con [SOL de devnet](/docs/es/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 zolana_client::{SolanaRpc, ZolanaClient};
        use zolana_interface::pda;

        let tree = pda::tree(0);
        let client = ZolanaClient::from_urls(
            SolanaRpc::new("https://devnet.helius-rpc.com/?api-key=YOUR_API_KEY"),
            "https://d2xah7tnhdhcom.cloudfront.net",
            "https://d21ni15goiip6l.cloudfront.net",
            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 zolana_client::{SolanaRpc, ZolanaClient};
        use zolana_interface::pda;

        let tree = pda::tree(0);
        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>

## Guías relacionadas

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

  <Card title="Addresses" icon="map-pin" href="/docs/es/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>
