> ## 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 et détails de connexion pour Helius Privacy sur devnet et localnet.

## Endpoints Bêta

**Devnet :**

| Service    | Endpoint                                           | Remarques                                                             |
| ---------- | -------------------------------------------------- | --------------------------------------------------------------------- |
| Solana RPC | `https://devnet.helius-rpc.com/?api-key=<API_KEY>` | Clé Helius. Financez le payeur avec [devnet SOL](/docs/fr/rpc/devnet-sol). |
| Indexer    | `https://d2xah7tnhdhcom.cloudfront.net`            | Récupère l'état chiffré.                                              |
| Prover     | `https://d21ni15goiip6l.cloudfront.net`            | Génère des preuves ZK                                                 |

**Pour utiliser des anneaux personnalisés :**

| Service  | Endpoint                                | Remarques         |
| -------- | --------------------------------------- | ----------------- |
| Ring RPC | `https://d24brah9h1i4q9.cloudfront.net` | Endpoint Ring RPC |

**Localnet :**

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

## Créer une connexion 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",
        });
        ```

        Financez le payeur avec [devnet SOL](/docs/fr/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(
            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 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>

## Guides Connexes

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

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