Skip to content

Commit

Permalink
chore(rpc): improves configuration within README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
allemanfredi committed Oct 2, 2024
1 parent 6868c5f commit d540a6a
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion packages/rpc/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,18 @@ These instructions will cover the usage information and how to run the code loca

### Configuration

Configure the mode you want to run by editing the variable in `.env` by checking `.env.example`
Configure the mode you want to run by editing the variable in `.env` by checking `.env.example`.

```sh
cp .env.example .env
```

To add a new chain, create a value in the .env file with the following name:

```sh
JSON_RPC_URL_<chain_id>="your rpc url"
```

### Install

Please make sure you have run `yarn install` on the root level.
Expand Down

0 comments on commit d540a6a

Please sign in to comment.