File tree Expand file tree Collapse file tree 1 file changed +13
-1
lines changed Expand file tree Collapse file tree 1 file changed +13
-1
lines changed Original file line number Diff line number Diff line change @@ -79,12 +79,24 @@ To change the `ORIGIN_URL` edit the `wrangler.toml` file and specify the URL as
79
79
80
80
```
81
81
vars = { ORIGIN_URL = "https://url-pointing-to-my-ethereum-node.com"}
82
-
83
82
```
84
83
85
84
Now we are ready to publish. Make sure we have ` workers_dev = true ` set so that
86
85
we only use the free workers tier plan.
87
86
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
+
88
100
To publish all we need to do now it run the command
89
101
90
102
```
You can’t perform that action at this time.
0 commit comments