Overview
Sardis provides native support for 6 mainnet chains and 5 testnet environments, with intelligent chain routing and automatic RPC failover.| Chain | Chain ID | Type | Native Token | Block Time |
|---|---|---|---|---|
| Base | 8453 | Mainnet | ETH | 2s |
| Polygon | 137 | Mainnet | MATIC | 2s |
| Ethereum | 1 | Mainnet | ETH | 12s |
| Arbitrum | 42161 | Mainnet | ETH | 1s |
| Optimism | 10 | Mainnet | ETH | 2s |
| Arc Testnet | 5042002 | Testnet | USDC | 0.5s |
Mainnet Chains
Base
Chain ID:8453
RPC Endpoints (with automatic fallback):
- Primary:
https://mainnet.base.org - Fallback:
https://base-mainnet.public.blastapi.io - Fallback:
https://base.llamarpc.com
- Max Gas Price: 100 gwei
- Max Transaction Cost: $10 USD
- Typical Gas Price: 0.001-0.01 gwei
packages/sardis-chain/src/sardis_chain/config.py:401-413):
Polygon
Chain ID:137
RPC Endpoints:
- Primary:
https://polygon-rpc.com - Fallback:
https://polygon-mainnet.public.blastapi.io - Fallback:
https://polygon.llamarpc.com
- Max Gas Price: 1000 gwei
- Max Transaction Cost: $20 USD
- Typical Gas Price: 30-100 gwei
Ethereum
Chain ID:1
RPC Endpoints:
- Primary:
https://eth.llamarpc.com - Fallback:
https://ethereum-rpc.publicnode.com - Fallback:
https://eth.drpc.org
- Max Gas Price: 1000 gwei
- Max Transaction Cost: $100 USD
- Typical Gas Price: 15-50 gwei
Arbitrum
Chain ID:42161
RPC Endpoints:
- Primary:
https://arb1.arbitrum.io/rpc - Fallback:
https://arbitrum-one-rpc.publicnode.com - Fallback:
https://arbitrum.llamarpc.com
- Max Gas Price: 100 gwei
- Max Transaction Cost: $10 USD
- Typical Gas Price: 0.1-0.5 gwei
Optimism
Chain ID:10
RPC Endpoints:
- Primary:
https://mainnet.optimism.io - Fallback:
https://optimism-rpc.publicnode.com - Fallback:
https://optimism.llamarpc.com
- Max Gas Price: 100 gwei
- Max Transaction Cost: $10 USD
- Typical Gas Price: 0.001-0.01 gwei
Arc Testnet (Circle L1)
Chain ID:5042002
RPC Endpoints:
- Primary:
https://rpc.testnet.arc.network - Fallback:
https://rpc.blockdaemon.testnet.arc.network - Fallback:
https://rpc.drpc.testnet.arc.network
- Native Gas Token: USDC (first USDC-native chain)
- Max Transaction Cost: $1000 USD
- Typical Gas Price: Sub-cent
- Pay gas fees in USDC (no need for native ETH)
- Ultra-fast blocks (0.5s)
- Built by Circle for stablecoin infrastructure
Testnet Chains
Base Sepolia
Chain ID:84532RPC:
https://sepolia.base.orgExplorer: https://sepolia.basescan.org
Faucet: https://docs.base.org/tools/network-faucets
Polygon Amoy
Chain ID:80002RPC:
https://rpc-amoy.polygon.technologyExplorer: https://amoy.polygonscan.com
Ethereum Sepolia
Chain ID:11155111RPC:
https://rpc.sepolia.orgExplorer: https://sepolia.etherscan.io
Arbitrum Sepolia
Chain ID:421614RPC:
https://sepolia-rollup.arbitrum.io/rpcExplorer: https://sepolia.arbiscan.io
Optimism Sepolia
Chain ID:11155420RPC:
https://sepolia.optimism.ioExplorer: https://sepolia-optimism.etherscan.io
Chain Selection Best Practices
By Use Case
High-Frequency Microtransactions (< $10)- Best: Base, Optimism, Arbitrum
- Why: Sub-cent gas fees, fast finality
- Best: Ethereum
- Why: Maximum liquidity, security, decentralization
- Best: Polygon, Ethereum
- Why: Broadest token support (USDC, USDT, EURC, PYUSD)
- Best: Arc Testnet, Base Sepolia
- Why: USDC-native gas (Arc), fastest Base testnet
Gas Cost Comparison
ERC-20 Transfer (65,000 gas):| Chain | Gas Price | Cost (USD) | Time |
|---|---|---|---|
| Base | 0.003 gwei | $0.0001 | 6s |
| Optimism | 0.003 gwei | $0.0001 | 6s |
| Arbitrum | 0.2 gwei | $0.001 | 3s |
| Polygon | 50 gwei | $0.003 | 6s |
| Ethereum | 25 gwei | $0.05 | 36s |
Environment-Specific Routing
Sardis automatically routes transactions based on environment configuration:packages/sardis-core/src/sardis_v2_core/config.py:245-260):
Custom RPC Configuration
Override default RPC endpoints via environment variables:packages/sardis-chain/src/sardis_chain/config.py:310-333).
RPC Health & Failover
Sardis includes production-grade RPC management: Health Checks:- Automatic endpoint health monitoring every 60s
- 3 consecutive failures trigger failover
- Weighted round-robin for load distribution
- Max 3 retries per endpoint
- 1s delay between retries
- Automatic fallback to next endpoint
- Default: 30s per RPC call
- Configurable per-endpoint
- Transaction-specific timeouts
packages/sardis-chain/src/sardis_chain/config.py:88-103):
Chain Validation
Sardis validates chain IDs at runtime to prevent fund loss from misconfiguration:packages/sardis-chain/src/sardis_chain/config.py:574-594).
Next Steps
Supported Tokens
Token addresses and configurations per chain
Gas Optimization
Strategies for minimizing transaction costs
Smart Contracts
Policy enforcement and paymaster contracts