> ## 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 e detalhes de conexão para Helius Privacy na mainnet, devnet e localnet.

## Endpoints Beta

**Devnet:**

| Serviço    | Host usado pelo SDK                                                 | Observações                                                               |
| ---------- | ------------------------------------------------------------------- | ------------------------------------------------------------------------- |
| Solana RPC | `https://devnet.helius-rpc.com/?api-key=<API_KEY>`                  | Chave Helius. Financie o pagador com [devnet SOL](/docs/pt-BR/rpc/devnet-sol). |
| Indexer    | `http://zolnet-devnet-1779374825.eu-north-1.elb.amazonaws.com`      | Busca estado criptografado.                                               |
| Prover     | `http://zolnet-devnet-1779374825.eu-north-1.elb.amazonaws.com:3001` | Gera provas ZK                                                            |

**Localnet:**

`zolana dev start`. Porta RPC `:8899`, porta do indexador `:8784`, porta do provedor `:3001`.

## Criar uma conexão 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: "http://zolnet-devnet-1779374825.eu-north-1.elb.amazonaws.com",
          proverUrl: "http://zolnet-devnet-1779374825.eu-north-1.elb.amazonaws.com:3001",
          allowInsecureHttp: true,
        });
        ```

        Financie o pagador com [devnet SOL](/docs/pt-BR/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>

## Guias Relacionados

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

  <Card title="Endereços" icon="map-pin" href="/docs/pt-BR/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>
