Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
soos3d authored Apr 4, 2023
1 parent b9289f9 commit 5311079
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ git clone https://github.com/soos3d/node-proxy-server-to-protect-your-rpc-url-en
Edit the `.env.sample` file to include your node RPC URL key and rename it to `.env`.

```env
ETHEREUM_RPC_URL="YOUR_CHAINSTACK_ENDPOINT_URL"
ETHEREUM_RPC_URL="YOUR_CHAINSTACK_NODE_URL"
```

Install dependencies:
Expand All @@ -60,10 +60,10 @@ Run the server in dev mode with:
npm run dev
```

The server is now running on `http://localhost:3000/`. You can send balance requests to your server with the following:
The server is now running on `http://localhost:4000/`. You can send balance requests to your server with the following:

```sh
curl --location 'http://localhost:3000/balance' \
curl --location 'http://localhost:4000/balance' \
--header 'Content-Type: application/json' \
--data '{"address":"0xc457C11e2d7b6Ed68516CdED897c2Ab9F41e022C"}'
```
Expand Down

0 comments on commit 5311079

Please sign in to comment.