book: add env guide to exex book (#10310)

This commit is contained in:
pia
2024-08-14 18:12:45 -04:00
committed by GitHub
parent 4421565000
commit 60905f24a2

View File

@ -475,10 +475,10 @@ async fn main() -> eyre::Result<()> {
## Running
In one terminal window, we will run our ExEx and gRPC server. It will start syncing Reth on the Holesky chain
and use Etherscan in place of a real Consensus Client.
and use Etherscan in place of a real Consensus Client. Make sure to have `ETHERSCAN_API_KEY` on your env.
```console
cargo run --bin exex --release -- node --chain holesky --debug.etherscan
export ETHERSCAN_API_KEY={YOUR_API_KEY} && cargo run --bin exex --release -- node --chain holesky --debug.etherscan
```
And in the other, we will run our consumer: