RPC Endpoints Configuration
This document provides example RPC endpoint configurations for all supported blockchains. These endpoints are used by the relayer, backend, and frontend to interact with various blockchain networks.
Service
URL
Provider
Soroban RPC
https://soroban-testnet.stellar.org
Stellar Foundation
Horizon
https://horizon-testnet.stellar.org
Stellar Foundation
Friendbot
https://friendbot.stellar.org
Stellar Foundation
Service
URL
Provider
Soroban RPC
https://soroban-mainnet.stellar.org
Stellar Foundation
Horizon
https://horizon-mainnet.stellar.org
Stellar Foundation
# Testnet
STELLAR_NETWORK=testnet
SOROBAN_RPC_URL=https://soroban-testnet.stellar.org
HORIZON_URL=https://horizon-testnet.stellar.org
# Mainnet
STELLAR_NETWORK=mainnet
SOROBAN_RPC_URL=https://soroban-mainnet.stellar.org
HORIZON_URL=https://horizon-mainnet.stellar.org
Provider
Free Tier
Notes
Stellar Foundation
Yes
Default, rate limited
QuickNode
Yes
Requires account
Tatum
Yes
Has API limits
Service
URL
Default Port
RPC
http://localhost:8332
8332
ZMQ
tcp://localhost:8333
8333
Service
URL
Default Port
RPC
http://localhost:8332
8332
ZMQ
tcp://localhost:8333
8333
# Testnet
BITCOIN_NETWORK=testnet
BITCOIN_RPC_URL=http://localhost:8332
BITCOIN_RPC_USER=bitcoin
BITCOIN_RPC_PASSWORD=your_password
# Mainnet
BITCOIN_NETWORK=mainnet
BITCOIN_RPC_URL=http://localhost:8332
BITCOIN_RPC_USER=bitcoin
BITCOIN_RPC_PASSWORD=your_password
Provider
Network
Free Tier
Notes
Blockstream
Mainnet
Yes
Electrum only
Blockstream
Testnet
Yes
Electrum only
BitcoinNode
Mainnet
Yes
Requires signup
QnB
Mainnet
Yes
Limited requests
Running Local Bitcoin Node
# Start Bitcoin Core in testnet mode
bitcoind -testnet -server -rpcuser=bitcoin -rpcpassword=bitcoin_password
# Or for mainnet
bitcoind -server -rpcuser=bitcoin -rpcpassword=bitcoin_password
Network
RPC URL
WebSocket URL
Sepolia
https://sepolia.infura.io/v3/YOUR_KEY
wss://sepolia.infura.io/v3/YOUR_KEY
Goerli
https://goerli.infura.io/v3/YOUR_KEY
wss://goerli.infura.io/v3/YOUR_KEY
Network
RPC URL
WebSocket URL
Ethereum
https://mainnet.infura.io/v3/YOUR_KEY
wss://mainnet.infura.io/v3/YOUR_KEY
# Testnet (Sepolia)
ETHEREUM_NETWORK=testnet
ETHEREUM_RPC_URL=https://sepolia.infura.io/v3/YOUR_INFURA_KEY
ETHEREUM_RPC_WS_URL=wss://sepolia.infura.io/v3/YOUR_INFURA_KEY
# Mainnet
ETHEREUM_NETWORK=mainnet
ETHEREUM_RPC_URL=https://mainnet.infura.io/v3/YOUR_INFURA_KEY
ETHEREUM_RPC_WS_URL=wss://mainnet.infura.io/v3/YOUR_INFURA_KEY
Provider
Networks
Free Tier
Notes
Infura
Mainnet, Testnets
100K/day
Most popular
Alchemy
Mainnet, Testnets
10M compute units
Generous free tier
QuickNode
Mainnet, Testnets
Yes
Fast nodes
Cloudflare
Mainnet
Yes
Ethereum only
Getting Started with Infura
Create account at infura.io
Create new project
Copy project ID
Use endpoint: https://<NETWORK>.infura.io/v3/YOUR_PROJECT_ID
Service
URL
RPC
https://api.testnet.solana.com
WebSocket
wss://api.testnet.solana.com
Service
URL
RPC
https://api.mainnet-beta.solana.com
WebSocket
wss://api.mainnet-beta.solana.com
# Testnet
SOLANA_NETWORK=testnet
SOLANA_RPC_URL=https://api.testnet.solana.com
# Mainnet
SOLANA_NETWORK=mainnet
SOLANA_RPC_URL=https://api.mainnet-beta.solana.com
Provider
Network
Free Tier
Notes
Solana Foundation
Testnet, Mainnet
Yes
Rate limited
QuickNode
Mainnet, Testnets
Yes
Fast
Alchemy
Mainnet, Testnets
Yes
Good free tier
Service
URL
RPC
https://rpc-amoy.polygon.technology
WebSocket
wss://ws-amoy.polygon.technology
Service
URL
RPC
https://polygon-rpc.com
WebSocket
wss://polygon-rpc.com
# Testnet
POLYGON_NETWORK=testnet
POLYGON_RPC_URL=https://rpc-amoy.polygon.technology
# Mainnet
POLYGON_NETWORK=mainnet
POLYGON_RPC_URL=https://polygon-rpc.com
# Local development with Docker
STELLAR_NETWORK=testnet
SOROBAN_RPC_URL=https://soroban-testnet.stellar.org
BITCOIN_RPC_URL=http://bitcoin:8332
ETHEREUM_RPC_URL=http://ethereum:8545
# Staging environment
STELLAR_NETWORK=testnet
SOROBAN_RPC_URL=https://soroban-testnet.stellar.org
BITCOIN_RPC_URL=http://bitcoin-testnet:8332
ETHEREUM_RPC_URL=https://sepolia.infura.io/v3/YOUR_KEY
# Production environment
STELLAR_NETWORK=mainnet
SOROBAN_RPC_URL=https://soroban-mainnet.stellar.org
BITCOIN_RPC_URL=http://bitcoin-mainnet:8332
ETHEREUM_RPC_URL=https://mainnet.infura.io/v3/YOUR_KEY
Provider
Requests/Day
Notes
Stellar
100/sec
Burst allowed
Infura
100K/day
Project based
Alchemy
10M CU
Compute units
QuickNode
Varies
Plan based
Implement exponential backoff
Cache responses where possible
Use multiple providers for redundancy
Upgrade to paid tier for production
Network Confirmation Requirements
Chain
Confirmations (Testnet)
Confirmations (Mainnet)
Stellar
1 ledger
1 ledger
Bitcoin
1 block
6 blocks
Ethereum
1 block
12-15 blocks
Solana
1 block
1 block
Polygon
1 block
12 blocks
Check network connectivity
Verify firewall rules
Try alternative provider
Provider may be experiencing issues
Check API key validity
Verify request format
Verify API key is correct
Check API key has required permissions
Ensure project is active