diff --git a/src/docs/build/getting-started.md b/src/docs/build/getting-started.md index a105be8..41b0d21 100644 --- a/src/docs/build/getting-started.md +++ b/src/docs/build/getting-started.md @@ -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`
`wget https://go.dev/dl/go1.20.linux-amd64.tar.gz`
`tar xvzf go1.20.linux-amd64.tar.gz`
`sudo cp go/bin/go /usr/bin/go`
`sudo mv go /usr/lib`
`echo export GOROOT=/usr/lib/go >> ~/.bashrc` -| Node | 16.19.0 | `curl -fsSL https://deb.nodesource.com/setup_16.x | sudo -E bash -`
`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`
`sudo apt install -y git curl make jq direnv` | +| Go | 1.20 | `wget https://go.dev/dl/go1.20.linux-amd64.tar.gz`
`tar xvzf go1.20.linux-amd64.tar.gz`
`sudo cp go/bin/go /usr/bin/go`
`sudo mv go /usr/lib`
`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`
`export NVM_DIR="$HOME/.nvm"`
`[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm`
`[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion`
`nvm install 16` +| pnpm | 8.5.6 | `npm install -g pnpm` +| Foundry | 0.2.0 | `curl -L https://foundry.paradigm.xyz \| bash`
`source /root/.bashrc`
`foundryup` ## Build the Source Code @@ -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 ``` @@ -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 \ @@ -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!