175 lines
4.7 KiB
Plaintext
175 lines
4.7 KiB
Plaintext
global_limits:
|
|
connection_timeout: 30s
|
|
idle_timeout: 300s
|
|
max_concurrent_connections: 50
|
|
read_timeout: 60s
|
|
write_timeout: 30s
|
|
monitoring:
|
|
enabled: true
|
|
log_slow_requests: true
|
|
metrics_interval: 60s
|
|
slow_request_threshold: 5s
|
|
track_provider_performance: true
|
|
provider_pools:
|
|
execution:
|
|
failover_enabled: true
|
|
health_check_interval: 30s
|
|
max_concurrent_connections: 20
|
|
providers:
|
|
- Alchemy WSS
|
|
- Alchemy WSS 2
|
|
- Chainstack WSS 1
|
|
- Chainstack WSS 2
|
|
- Chainstack WSS 3
|
|
- Arbitrum Public HTTP
|
|
strategy: reliability_first
|
|
read_only:
|
|
failover_enabled: true
|
|
health_check_interval: 30s
|
|
max_concurrent_connections: 25
|
|
providers:
|
|
- Alchemy WSS
|
|
- Alchemy WSS 2
|
|
- Chainstack WSS 1
|
|
- Chainstack WSS 2
|
|
- Chainstack WSS 3
|
|
- Arbitrum Public HTTP
|
|
strategy: websocket_preferred
|
|
providers:
|
|
# Alchemy - Premium provider (Priority 1)
|
|
- features:
|
|
- reading
|
|
- real_time
|
|
- execution
|
|
- transaction_submission
|
|
health_check:
|
|
enabled: true
|
|
interval: 30s
|
|
timeout: 60s
|
|
http_endpoint: https://arb-mainnet.g.alchemy.com/v2/d6VAHgzkOI3NgLGem6uBMiADT1E9rROB
|
|
name: Alchemy WSS
|
|
priority: 1
|
|
rate_limit:
|
|
burst: 1000
|
|
max_retries: 3
|
|
requests_per_second: 330
|
|
retry_delay: 1s
|
|
timeout: 60s
|
|
type: standard
|
|
ws_endpoint: wss://arb-mainnet.g.alchemy.com/v2/d6VAHgzkOI3NgLGem6uBMiADT1E9rROB
|
|
|
|
# Alchemy 2 - Secondary premium provider (Priority 2)
|
|
- features:
|
|
- reading
|
|
- real_time
|
|
- execution
|
|
- transaction_submission
|
|
health_check:
|
|
enabled: true
|
|
interval: 30s
|
|
timeout: 60s
|
|
http_endpoint: https://arb-mainnet.g.alchemy.com/v2/Qpf70Ii5GojW2pD14601r
|
|
name: Alchemy WSS 2
|
|
priority: 2
|
|
rate_limit:
|
|
burst: 1000
|
|
max_retries: 3
|
|
requests_per_second: 330
|
|
retry_delay: 1s
|
|
timeout: 60s
|
|
type: standard
|
|
ws_endpoint: wss://arb-mainnet.g.alchemy.com/v2/Qpf70Ii5GojW2pD14601r
|
|
|
|
# Chainstack Endpoint 1 (Priority 3)
|
|
- features:
|
|
- reading
|
|
- real_time
|
|
- execution
|
|
- transaction_submission
|
|
health_check:
|
|
enabled: true
|
|
interval: 30s
|
|
timeout: 60s
|
|
http_endpoint: https://arbitrum-mainnet.core.chainstack.com/5d4d7ef9a15d34c16a5d566c4d077d9d
|
|
name: Chainstack WSS 1
|
|
priority: 3
|
|
rate_limit:
|
|
burst: 100
|
|
max_retries: 3
|
|
requests_per_second: 100
|
|
retry_delay: 1s
|
|
timeout: 60s
|
|
type: standard
|
|
ws_endpoint: wss://arbitrum-mainnet.core.chainstack.com/5d4d7ef9a15d34c16a5d566c4d077d9d
|
|
|
|
# Chainstack Endpoint 2 (Priority 4) - Original endpoint
|
|
- features:
|
|
- reading
|
|
- real_time
|
|
- execution
|
|
- transaction_submission
|
|
health_check:
|
|
enabled: true
|
|
interval: 30s
|
|
timeout: 60s
|
|
http_endpoint: https://arbitrum-mainnet.core.chainstack.com/53c30e7a941160679fdcc396c894fc57
|
|
name: Chainstack WSS 2
|
|
priority: 4
|
|
rate_limit:
|
|
burst: 100
|
|
max_retries: 3
|
|
requests_per_second: 100
|
|
retry_delay: 1s
|
|
timeout: 60s
|
|
type: standard
|
|
ws_endpoint: wss://arbitrum-mainnet.core.chainstack.com/53c30e7a941160679fdcc396c894fc57
|
|
|
|
# Chainstack Endpoint 3 (Priority 5)
|
|
- features:
|
|
- reading
|
|
- real_time
|
|
- execution
|
|
- transaction_submission
|
|
health_check:
|
|
enabled: true
|
|
interval: 30s
|
|
timeout: 60s
|
|
http_endpoint: https://arbitrum-mainnet.core.chainstack.com/f69d14406bc00700da9b936504e1a870
|
|
name: Chainstack WSS 3
|
|
priority: 5
|
|
rate_limit:
|
|
burst: 100
|
|
max_retries: 3
|
|
requests_per_second: 100
|
|
retry_delay: 1s
|
|
timeout: 60s
|
|
type: standard
|
|
ws_endpoint: wss://arbitrum-mainnet.core.chainstack.com/f69d14406bc00700da9b936504e1a870
|
|
|
|
# Arbitrum Public RPC - Free fallback (Priority 10)
|
|
- features:
|
|
- reading
|
|
- real_time
|
|
- execution
|
|
- transaction_submission
|
|
health_check:
|
|
enabled: true
|
|
interval: 30s
|
|
timeout: 60s
|
|
http_endpoint: https://arb1.arbitrum.io/rpc
|
|
name: Arbitrum Public HTTP
|
|
priority: 10
|
|
rate_limit:
|
|
burst: 20
|
|
max_retries: 3
|
|
requests_per_second: 10
|
|
retry_delay: 2s
|
|
timeout: 60s
|
|
type: standard
|
|
ws_endpoint: ""
|
|
rotation:
|
|
fallover_enabled: true
|
|
health_check_required: true
|
|
retry_failed_after: 5m
|
|
strategy: priority_based
|