user-friendly tool to build your optimism mainnet
CONFIG_DIR
: Directory that will store config data (default../config
)L1_CHAIN_ID
: L1 chain id (default11155111
)L1_RPC_URL
: L1 RPC endpointL1_RPC_KIND
: The type of RPC provider (defaultstandard
)L2_CHAIN_ID
: Your L2 chain id
PRIORITY_GAS_PRICE
: Gas price during deploy contracts (default10000
)FAUCET_ADDRESS
: Charging addressFAUCET_PRIVATE_KEY
: Charging private key; Be careful about securityFAUCET_AMOUNT_ADMIN
: Faucet amount eth to admin (default0.5
)FAUCET_AMOUNT_BATCHER
: Faucet amount eth to batcher (default0.2
)FAUCET_AMOUNT_PROPOSER
: Faucet amount eth to proposer (default0.1
)
L1_BEACON_URL
: L1 Beacon endpointGETH_DATA_DIR
: Directory that will store chain data (default../geth_data
)SEQUENCER_MODE
: If true, run sequencer mode (defaulttrue
)MAX_CHANNEL_DURATION
: batch time submitted to the L1. ( default1500
)SEQUENCER_HTTP
: Sequencer node URL, only used for not sequencer modeBOOTNODES
: Bootnode URL, only used for not sequencer mode
L2_RPC_URL
: L2 RPC endpoint (defaulthttp://localhost:8545
)
make init
make run
make scan
make bridge