{"repo":"chainstacklabs/self-hosted-erpc-hybrid","free":true,"listed":false,"github":"https://github.com/chainstacklabs/self-hosted-erpc-hybrid","clone":"git clone https://github.com/chainstacklabs/self-hosted-erpc-hybrid.git","description":"Self-hosted Ethereum node + Chainstack Cloud archive behind one eRPC endpoint — hybrid RPC tutorial","language":"Shell","stars":11,"topics":[],"license":"Apache-2.0","category":"self-hosted-apps","readme_excerpt":"Chainstack is the leading suite of services connecting developers with Web3 infrastructure • Homepage • Supported protocols • Chainstack blog • Blockchain API reference • • Agents • Start for free • Hybrid RPC: self-hosted node + Chainstack Cloud archive behind one eRPC endpoint This tutorial shows a hybrid RPC setup : run your own full node for the bulk of your RPC traffic, and let eRPC transparently route what your node can't serve — archive state, trace , and debug — to a Chainstack Cloud archive node. Your apps see one endpoint; recent calls are served by your self-hosted node at flat hardware cost, and you pay for archive only when you actually need it. The worked example runs on Ethereum Hoodi — a testnet that's cheap to self-host and fits a small box — but the pattern is chain-agnostic. The same eRPC config with a different chainId works on any EVM network from the protocols supported by Chainstack Self-Hosted, and mainnets like Ethereum or Base are where the cost savings land. New to this? Start here The three moving parts: - Full node — keeps recent chain state. Cheap to run, and covers 95% of typical app traffic: balances, transactions, logs, contract calls at recent blocks. - Archive node — keeps all historical state. Expensive to self-host (multi-TB disk, long sync), but required for trace , debug , and state reads at old blocks. - eRPC — an open-source RPC proxy that sits in front of both. It routes each request by method, fails over when the full node errors (fo","default_branch":null,"files":null,"tree":[],"storefront":"/r/chainstacklabs","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/chainstacklabs/self-hosted-erpc-hybrid/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}