eRPC (@ERPC) header
eRPC (@ERPC) profile picture

open-source fault-tolerant evm rpc proxy

👉 npx start-erpc
Joined November 2010
eRPC can cut over 50% of your eth_call traffic to RPC providers. It bundles calls for the same block into one Multicall3 request. On 22 minutes of real BNB Chain traffic: 62.5% fewer upstream requests, same answers.
2
10
143
eRPC now sends 98% fewer eth_blockNumber calls to RPC providers. Calls per day dropped from 40.48M down to 0.69M, comparing 7 days before and after this update. Latency and error rates also dropped...
2
9
211
. @erpc release 0.1.0 is here 🧑‍🚀 Few important highlights: - Hundreds of data quality improvements (e.g. latest block and tip of chain nuances) - Unified and improved selection policy so you have complete control over which RPC nodes to use and when (e.g. block lag, response time latency, RPC costs) - More metrics and visibility into why a node was selected and for how long it was used
1
6
3
10
919
Btw, you can integrate all superchain chains into eRPC with just one line! ✨ Only 1 endpoint for all L2s ✨ Reliable failover & optimal routing (hedging, data integrity, ...) ✨ Easy RPC performance & usage monitoring docs.erpc.cloud/config/proje…
1
1
315
eRPC was included in Optimism’s April Retro Funding round for dev tooling. honored to contribute to the ecosystem through open-source 🫡
2
4
12
699
Now you can reduce RPC costs even further with new eRPC updates: docs.erpc.cloud 🫡 Latest release: github.com/erpc/erpc/release…
1
2
8
297
🚀 eRPC v0.0.44 is out — packed with cool stuff: 🔹 eth_getLogs auto-splitting and block range handling 🔹 Finalized/Latest block integrity checks across upstreams 🔹 Smarter EVM cache policies for unfinalized/finalized data 🔹 More metrics for RPC errors & perf
2
7
31
1,610
[4] Once your instance is running, you can send requests by specifying the chainId. For example, to get the latest block on chain 42161, use:
1
1
98
[2] Kick things off by running an eRPC instance with a single command. This spins up a basic configuration using a special repository provider that auto-fetches public endpoints every hour. docs.erpc.cloud/free
1
129
Instantly access 2,000+ chains and 4,000+ public free EVM RPC endpoints for your projects. 🚀 `npx start-erpc` Let's dive in 👇
2
1
4
16
2,792
Leveraging eRPC's metrics emitted for requests and hedge attempts you can track the efficiency of your config and tune until you find the perfect combo 🫡 docs.erpc.cloud/config/fails…
1
110
With dynamic quantile-based "hedging" you can decrease your RPC tail-latency, while reducing costs and additional requests 🫰
1
1
2
8
759
Results🚀 - Significant Reduction in RPC Usage: Since migrating to eRPC, RPC usage nearly halved compared to the previous billing period. (e.g daily RPC costs dropped from ~$60 to an average of $11 for certain RPC providers) - Enhanced Performance: Improved caching & multiplexing boosted system responsiveness and scalability.
6
2
208
Setup🔧 - Deployment Setup: Deployed eRPC on a Kubernetes EKS cluster in the EU, using Nginx ingress for seamless traffic management. Allocated a dedicated node group for eRPC pods to ensure top performance. - In-Memory Caching: Implemented robust in-memory caching with a 1M item limit. - Multiplexing Requests: Multiplexing RPC requests lets multiple calls run on a single connection, reducing overhead and lowering overall usage. - Optimized Requests: Restructured request patterns and multiplexed RPC calls to maximize cache hits and minimize usage. - Robust Env Configurations: Configured eRPC across 3 environments with 3x replicas/env and diverse upstream providers for reliability.
1
1
104
Challenges 🚧 - Excessive RPC Calls: Repetitive simple requests like eth_chainId & eth_blockByNumber skyrocketed costs without added value. - Multi-Chain Complexity: Managing 18+ L1 & EVM chains made efficient RPC usage a nightmare. - Ineffective Caching: Lack of reliable caching led to unnecessary RPC calls and higher expenses. - Scalability Struggles: Previous Load balancing setups couldn’t handle throughput, causing RPC usage to explode with each additional replica.
1
1
99