Skip to content

Commit

Permalink
✨ More network within erpc
Browse files Browse the repository at this point in the history
  • Loading branch information
KONFeature committed Aug 1, 2024
1 parent c4b16c2 commit 3ea6347
Showing 1 changed file with 87 additions and 0 deletions.
87 changes: 87 additions & 0 deletions packages/erpc/erpc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@ metrics:
projects:
- id: rpc-main
networks:
# ---------------------------------------------------------------------------- #
# Tesnets #
# ---------------------------------------------------------------------------- #
# Arb sepolia
- architecture: evm
evm:
Expand All @@ -32,6 +35,58 @@ projects:
hedge:
delay: 2000ms
maxCount: 2
# Optimism sepolia
- architecture: evm
evm:
chainId: 11155420
failsafe:
timeout:
duration: 120s
retry:
maxCount: 5
delay: 500ms
backoffMaxDelay: 20s
backoffFactor: 2
jitter: 500ms
hedge:
delay: 2000ms
maxCount: 2
# Base sepolia
- architecture: evm
evm:
chainId: 84532
failsafe:
timeout:
duration: 120s
retry:
maxCount: 5
delay: 500ms
backoffMaxDelay: 20s
backoffFactor: 2
jitter: 500ms
hedge:
delay: 2000ms
maxCount: 2

# ---------------------------------------------------------------------------- #
# Mainnets #
# ---------------------------------------------------------------------------- #
# Polygon
- architecture: evm
evm:
chainId: 137
failsafe:
timeout:
duration: 30s
retry:
maxCount: 5
delay: 500ms
backoffMaxDelay: 10s
backoffFactor: 0.5
jitter: 200ms
hedge:
delay: 1000ms
maxCount: 2
# Arb
- architecture: evm
evm:
Expand All @@ -48,6 +103,38 @@ projects:
hedge:
delay: 1000ms
maxCount: 2
# Base
- architecture: evm
evm:
chainId: 8453
failsafe:
timeout:
duration: 30s
retry:
maxCount: 5
delay: 500ms
backoffMaxDelay: 10s
backoffFactor: 0.5
jitter: 200ms
hedge:
delay: 1000ms
maxCount: 2
# Optimism
- architecture: evm
evm:
chainId: 10
failsafe:
timeout:
duration: 30s
retry:
maxCount: 5
delay: 500ms
backoffMaxDelay: 10s
backoffFactor: 0.5
jitter: 200ms
hedge:
delay: 1000ms
maxCount: 2
upstreams:
- id: alchemy-multi-chain
endpoint: alchemy://${ALCHEMY_API_KEY}
Expand Down

0 comments on commit 3ea6347

Please sign in to comment.