From 75976e67acb443cde77731d962a2dbd6a24d211e Mon Sep 17 00:00:00 2001 From: kasrakhosravi Date: Sat, 3 Aug 2024 13:06:43 +0200 Subject: [PATCH] fix: erpc docs --- docs/tooling/rpc-providers.md | 26 ++++++++++++-------------- 1 file changed, 12 insertions(+), 14 deletions(-) diff --git a/docs/tooling/rpc-providers.md b/docs/tooling/rpc-providers.md index 511bc75b9f3..d30c15858a0 100644 --- a/docs/tooling/rpc-providers.md +++ b/docs/tooling/rpc-providers.md @@ -436,23 +436,21 @@ Note: on Fuji Testnet, the URL is `wss://subnets.avax.network/dexalot/testnet/ws ## Avalanche RPC Proxy and Caching -[eRPC](https://erpc.cloud/) is a fault-tolerant EVM RPC proxy and re-org aware permanent caching solution. It is built with read-heavy use-cases in mind such as data indexing and high-load frontend usage. - -- [github](https://github.com/erpc/erpc)
-- [docs](https://docs.erpc.cloud/)
-- [telegram](https://t.me/erpc_cloud)
- -![Architecture](https://github.com/erpc/erpc/raw/main/assets/hla-diagram.svg) - -
+[eRPC](https://github.com/erpc/erpc) is a fault-tolerant EVM RPC proxy and re-org aware permanent caching solution. It is built with read-heavy use-cases in mind such as data indexing and high-load frontend usage. # Quick start -1. Create your [`erpc.yaml`](https://docs.erpc.cloud/config/example) configuration file based on the [`erpc.yaml.dist`](https://github.com/erpc/erpc/blob/main/erpc.yaml.dist) file: - -```bash -cp erpc.yaml.dist erpc.yaml -code erpc.yaml +1. Create your [`erpc.yaml`](https://docs.erpc.cloud/config/example) configuration file: + +```yaml filename="erpc.yaml" +logLevel: debug +projects: + - id: main + upstreams: + # You don't need to define architecture (e.g. evm) or chain id (e.g. 42161) + # as they will be detected automatically by eRPC. + - endpoint: https://ava-mainnet.blastapi.io/xxxx + - endpoint: evm+alchemy://xxxx-my-alchemy-api-key-xxxx ``` See [a complete config example](https://docs.erpc.cloud/config/example) for inspiration.