Skip to content
This repository was archived by the owner on Dec 12, 2023. It is now read-only.
16 changes: 9 additions & 7 deletions src/docs/build/getting-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,11 +41,11 @@ This tutorial was checked on:
| Software | Version | Installation command(s) |
| -------- | ---------- | - |
| Ubuntu | 20.04 LTS | |
| git, curl, jq, and make | OS default | `sudo apt install -y git curl make jq` |
| Go | 1.20 | `sudo apt update` <br> `wget https://go.dev/dl/go1.20.linux-amd64.tar.gz` <br> `tar xvzf go1.20.linux-amd64.tar.gz` <br> `sudo cp go/bin/go /usr/bin/go` <br> `sudo mv go /usr/lib` <br> `echo export GOROOT=/usr/lib/go >> ~/.bashrc`
| Node | 16.19.0 | `curl -fsSL https://deb.nodesource.com/setup_16.x | sudo -E bash -` <br> `sudo apt-get install -y nodejs npm`
| pnpm | 8.5.6 | `sudo npm install -g pnpm`
| Foundry | 0.2.0 | `yarn install:foundry`
| git, curl, jq, and make | OS default | `sudo apt update` <br> `sudo apt install -y git curl make jq direnv` |
| Go | 1.20 | `wget https://go.dev/dl/go1.20.linux-amd64.tar.gz` <br> `tar xvzf go1.20.linux-amd64.tar.gz` <br> `sudo cp go/bin/go /usr/bin/go` <br> `sudo mv go /usr/lib` <br> `echo export GOROOT=/usr/lib/go >> ~/.bashrc`
| Node | 16.19.0 | `curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.5/install.sh \| bash` <br> `export NVM_DIR="$HOME/.nvm"` <br> `[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm` <br> `[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion` <br> `nvm install 16`
| pnpm | 8.5.6 | `npm install -g pnpm`
| Foundry | 0.2.0 | `curl -L https://foundry.paradigm.xyz \| bash` <br> `source /root/.bashrc` <br> `foundryup`

## Build the Source Code

Expand Down Expand Up @@ -119,6 +119,7 @@ You can generate all of these keys with the `rekey` tool in the `contracts-bedro
1. Enter the Optimism Monorepo:

```bash
cd ~
cd optimism
```

Expand Down Expand Up @@ -419,7 +420,7 @@ cd ~/optimism/op-node

./bin/op-node \
--l2=http://localhost:8551 \
--l2.jwt-secret=./jwt.txt \
--l2.jwt-secret=./jwt.txt \
--sequencer.enabled \
--sequencer.l1-confs=3 \
--verifier.l1-confs=3 \
Expand All @@ -430,7 +431,8 @@ cd ~/optimism/op-node
--rpc.enable-admin \
--p2p.sequencer.key=$SEQ_KEY \
--l1=$L1_RPC \
--l1.rpckind=$RPC_KIND
--l1.rpckind=$RPC_KIND \
--l1.rpc-rate-limit 10
```

Once you run this command, you should start seeing the `op-node` begin to process all of the L1 information after the starting block number that you picked earlier. Once the `op-node` has enough information, it’ll begin sending Engine API payloads to `op-geth`. At that point, you’ll start to see blocks being created inside of `op-geth`. We’re live!
Expand Down