Skip to content

Commit

Permalink
fix: add more context on documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
stdevMac committed Sep 6, 2024
1 parent 55e161d commit b18976f
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions docs/docs/quickstart/optimism.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,22 @@ sedge generate op-full-node --network mainnet

This command will create a new directory with all the necessary configuration files for running an Optimism node on the mainnet. If you want to run a node on the testnet (Sepolia), use `--network sepolia` instead.

:::info

When you use `sedge generate op-full-node`, Sedge will generate a `docker-compose.yml` script and a `.env` file with the necessary configuration for your Optimism node.

That config will include the execution client, the consensus client, and the execution and consensus Optimism client.

:::

:::tip

Setting `--execution-api-url` flag, will only generate execution and consensus Optimism nodes, and the stack will point to that execution node.

This is useful in case you have already an endpoint for the execution node. It will safe synchronization time.

:::

### Running the Node
Once the configuration is generated, you can start your Optimism node using:

Expand Down

0 comments on commit b18976f

Please sign in to comment.