# Setup Own RPC Endpoint

#### Setting Up Your Own RPC Endpoint for Cortensor with Popular Providers

Using your own RPC endpoint enhances reliability and performance when interacting with the Cortensor network. Below are instructions for setting up an RPC endpoint with some of the most popular blockchain infrastructure providers: **Ankr**, **Alchemy**, **QuickNode**, and **ChainStack**.

***

## **1. Ankr**

Ankr offers decentralized Web3 infrastructure, including free and paid RPC endpoints.

**Setup Steps:**

1. **Visit** [Ankr RPC](https://www.ankr.com/).
2. **Sign Up / Log In:** Create an account or log in.
3. **Select Blockchain:** Go to the **RPC endpoints** section, select the **Ethereum Sepolia** network, and choose **Arbitrum Sepolia** for compatibility.
4. **Generate Endpoint:** Click to generate a unique endpoint URL, which you can use in your wallet or application.
5. **Connect RPC to Wallet:** Copy the endpoint URL and add it as a custom RPC in your wallet.

***

## **2. Alchemy**

Alchemy offers reliable RPC services with high performance, suited for large-scale applications.

**Setup Steps:**

1. **Visit** [Alchemy](https://www.alchemy.com/).
2. **Sign Up / Log In:** Create an Alchemy account or log in.
3. **Create an App:** Go to your dashboard and click **Create App**. Select **Ethereum** as the blockchain, and choose **Sepolia** or **Arbitrum Sepolia** based on your needs.
4. **Get API Key:** After creating the app, an RPC URL will be generated with an API key. Copy this URL.
5. **Add to Wallet:** Use the URL as a custom RPC endpoint in your wallet for Cortensor interactions.

***

## **3. QuickNode**

QuickNode provides Web3 infrastructure that allows custom API endpoints for various chains.

**Setup Steps:**

1. **Visit** [QuickNode](https://www.quicknode.com/).
2. **Sign Up / Log In:** Create an account or log in.
3. **Add Endpoint:** Click **Create Endpoint** and select the **Ethereum Sepolia** or **Arbitrum Sepolia** chain. Configure any options as needed.
4. **Copy Endpoint URL:** QuickNode will generate a custom RPC URL; copy it for later use.
5. **Wallet Configuration:** Paste the endpoint URL in your wallet’s custom RPC settings.

***

## **4. ChainStack**

ChainStack offers enterprise-grade infrastructure with customizable RPCs for public blockchains.

**Setup Steps:**

1. **Visit** [ChainStack](https://chainstack.com/).
2. **Sign Up / Log In:** Register for an account or log in.
3. **Deploy Node:** Choose **Ethereum** and select the **Sepolia** or **Arbitrum Sepolia** testnet option. Configure as needed and deploy.
4. **Copy RPC URL:** Once your node is deployed, ChainStack will provide an RPC endpoint URL.
5. **Add to Wallet:** Paste this URL in your wallet as a custom RPC.

***

## Using Your Custom RPC with Cortensor

1. **Open MetaMask (or another compatible wallet)** and go to **Settings > Networks**.
2. Click **Add Network** and enter the following fields:
   * **Network Name:** Cortensor on Arbitrum Sepolia (or your preferred network name)
   * **New RPC URL:** Paste your custom RPC URL from one of the providers above
   * **Chain ID:** Based on your chosen chain, such as 421614 for Arbitrum Sepolia
   * **Currency Symbol:** ETH
   * **Block Explorer URL:** <https://sepolia-explorer.arbitrum.io/>
3. **Save and Switch Networks:** You’re now ready to interact with Cortensor using your custom RPC setup!

Using custom RPC endpoints allows for faster and more reliable access, which is especially valuable for intensive operations on the Cortensor decentralized AI inference network.

***

**Disclaimer:** This page and the associated documents are currently a work in progress. The information provided may not be up to date and is subject to change at any time.
