/simple-op-stack-rollup

The simplest way to spin your own dev / prod rollup, fully configurable.

Primary LanguagePythonBSD 3-Clause Clear LicenseBSD-3-Clause-Clear

simple-op-stack-rollup

Under development!

This work is support by an Optimism governance grant.

simple-op-stack rollup is open-source package that makes it trivial for any developer to spin up an OP stack rollup, both for development and production use.

The package enables you to configure and run your own rollup infrastructure by running only two or three commands. It uses a single well-documented configuration file, and helps you fill it via a command line wizard.

Additionally, the package supports spinning EIP-4337 account abstraction infrastructure (a bundler and a paymaster) and helps you configure them so that you can automatically subsidize gas for transactions that match certain criteria (e.g. transactions to specific whitelisted contracts).

Prerequisites

  • Python >= 3.10 (to run the roll.py script)

The following dependencies will be checked by roll.py:

  • Some common command line utilities: make, curl, tar`
  • Git
  • Go 1.19

roll.py will check the following dependencies and install them for you if needed (the script will always for your permission before installing anything outside the current directory):

  • Node.js 16.x
  • Yarn (npm install -g yarn — the old one, not yarn v3 aka yarn berry)
  • Geth > 1.12.0 (but only if you want to run a devnet L1 node)
  • The jq command line utility
  • Foundry

Contributing

# Install dependencies
source scripts/install.sh

# Run format before committing
make format

# Run checks
make check

Plans

  • See here for the initial description of the project including some milestones.
  • See this document for a more thoughtful architecture breakdown.