Skip to content

OP Stack CLI is a command-line utility for easily spinning up an OP Stack–based rollup.

License

Notifications You must be signed in to change notification settings

devlongs/opstack-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OP Stack CLI

OP Stack CLI is a command-line utility for easily spinning up an OP Stack–based rollup. This tool wraps the manual steps normally required to deploy an Optimism-based chain, handle address generation, configure environment variables, build repositories, and run the associated services (execution client, consensus client, batcher, proposer, etc.).

Warning: The OP Stack is under active development.

Workflow

  1. Initialize directories, clone repos, and check dependencies
opstack-cli init
  1. Build the OP Stack binary
opstack-cli build
  1. Generate addresses and private keys
opstack-cli addresses
  1. Deploy L1 contracts
opstack-cli deploy-l1
  1. Create L2 configuration (genesis.json, rollup.json, jwt.txt)
opstack-cli config-l2
  1. Start all services (You can also start them one by one, e.g. opstack-cli start geth)
opstack-cli start all

About

OP Stack CLI is a command-line utility for easily spinning up an OP Stack–based rollup.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages