Skip to main content

_local-devnet-flags

FlagDescription
--initRemoves all the data, rebuilds, and deploys a new rollup
--posL1 is a proof-of-stake chain (using Prysm for consensus)
--validateValidates all blocks in WASM, heavy computation
--l3nodeDeploys an L3 node on top of the L2
--l3-fee-tokenSets up the L3 chain to use a custom fee token. Only valid if --l3node flag is provided
--l3-fee-token-decimalsNumber of decimals to use for a custom fee token. Only valid if --l3-fee-token flag is provided
--l3-token-bridgeDeploys an L2-L3 token bridge. Only valid if --l3node flag is provided
--batchpostersBatch posters [0-3]
--redundantsequencersRedundant sequencers [0-3]
--detachDetaches from nodes after running them
--blockscoutBuilds or launches the Blockscout
--simpleRuns a simple configuration: one node as a sequencer/batch-poster/staker (default unless using --dev)
--tokenbridgeDeploy an L1-L2 token bridge
--no-tokenbridgeOpt out of building or launching the token bridge
--no-runDoes not launch nodes (useful with build or init)
--no-simpleRuns a full configuration with separate sequencer/batch-poster/validator/relayer