Skip to content

RPC Endpoint Setup Guide ​

Current Issue ​

The RPC endpoint is timing out (error 522). This is common with public RPC endpoints that can be overloaded.

  1. Sign up for free: https://www.alchemy.com/
  2. Create a new app:
    • Select "Ethereum" network
    • Select "Sepolia" testnet
  3. Copy your API key from the dashboard
  4. Update your .env file:
    bash
    SEPOLIA_RPC_URL=https://eth-sepolia.g.alchemy.com/v2/YOUR_ALCHEMY_API_KEY

Option 2: Infura ​

  1. Sign up for free: https://www.infura.io/
  2. Create a new project
  3. Copy your Project ID
  4. Update your .env file:
    bash
    SEPOLIA_RPC_URL=https://sepolia.infura.io/v3/YOUR_INFURA_PROJECT_ID

Option 3: QuickNode ​

  1. Sign up: https://www.quicknode.com/
  2. Create an endpoint for Sepolia
  3. Copy the HTTPS URL
  4. Update your .env file:
    bash
    SEPOLIA_RPC_URL=YOUR_QUICKNODE_URL

Alternative Public RPCs (Less Reliable) ​

If you want to try public endpoints, here are some alternatives:

bash
# PublicNode
SEPOLIA_RPC_URL=https://ethereum-sepolia-rpc.publicnode.com

# Ankr
SEPOLIA_RPC_URL=https://rpc.ankr.com/eth_sepolia

# 1RPC
SEPOLIA_RPC_URL=https://1rpc.io/sepolia

After Updating Your .env ​

  1. Save the .env file
  2. Try deploying again:
    bash
    npm run deploy:sepolia

Why Use a Dedicated Provider? ​

  • Reliability: Better uptime and faster responses
  • Rate Limits: Higher rate limits for deployments
  • Support: Better support if issues arise
  • Free Tier: All providers offer generous free tiers

CR8 Platform Documentation