Skip to content

Commit ddb60b0

Browse files
committed
Update README
1 parent be5f268 commit ddb60b0

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

README.md

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,12 +79,24 @@ To change the `ORIGIN_URL` edit the `wrangler.toml` file and specify the URL as
7979

8080
```
8181
vars = { ORIGIN_URL = "https://url-pointing-to-my-ethereum-node.com"}
82-
8382
```
8483

8584
Now we are ready to publish. Make sure we have `workers_dev = true` set so that
8685
we only use the free workers tier plan.
8786

87+
## Write Specific Endpoint
88+
89+
Optionally you can specify a separate endpoint to use for write operations,
90+
for example the flashbots RPC endpoint.
91+
92+
To do so, specify a `WRITE_URL` var in your `wrangler.toml` file
93+
94+
```
95+
vars = { ORIGIN_URL = "https://url-pointing-to-my-ethereum-node.com", WRITE_URL = "https://rpc.flashbots.net" }
96+
```
97+
98+
## Publish
99+
88100
To publish all we need to do now it run the command
89101

90102
```

0 commit comments

Comments
 (0)