Skip to content

Commit

Permalink
fix: erpc docs
Browse files Browse the repository at this point in the history
  • Loading branch information
kasrakhosravi committed Aug 3, 2024
1 parent 5c03f44 commit 75976e6
Showing 1 changed file with 12 additions and 14 deletions.
26 changes: 12 additions & 14 deletions docs/tooling/rpc-providers.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)<br/>
- [docs](https://docs.erpc.cloud/)<br/>
- [telegram](https://t.me/erpc_cloud)<br/>

![Architecture](https://github.com/erpc/erpc/raw/main/assets/hla-diagram.svg)

<br />
[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.
Expand Down

0 comments on commit 75976e6

Please sign in to comment.