Skip to content

Latest commit

 

History

History
48 lines (31 loc) · 1.21 KB

File metadata and controls

48 lines (31 loc) · 1.21 KB

Local Dev Environment

This directory contains local development environment configuration for op-rbuilder.

Prerequisites

  1. flashbots/builder-playground.
  2. flashbots/contender.

Start Local Devnet

From the repository root:

builder-playground start dev/playground.yaml

Use --skip-setup to skip cargo build on repeated runs:

builder-playground start dev/playground.yaml --skip-setup

Services:

Logs can be found at $HOME/.local/state/builder-playground/sessions/latest/logs/

Generate Local Traffic

Run contender:

contender spam --tps 10 -r http://localhost:2222 --optimism --min-balance 0.14

You should start to see blocks being built and landed on-chain with contender transactions.

Alternatively, send a single test transaction:

builder-playground test http://localhost:2222 --timeout 30s --retries 10

op-rbuilder automatically detects settings and ports from the running playground via --builder.playground.