#!/bin/bash
source .envrc
echo "l1=$L1_RPC_URL"
./bin/op-node \
  --data-dir node \
  --sequencer.enabled \
  --sequencer.l1-confs=5 \
  --verifier.l1-confs=4 \
  --rollup.config=./deployer/rollup.json \
  --rpc.addr=0.0.0.0 \
  --p2p.disable \
  --rpc.enable-admin \
  --p2p.sequencer.key=$GS_SEQUENCER_PRIVATE_KEY \
  --l1=$L1_RPC_URL \
  --log.level=debug \
  --l1.rpckind=$L1_RPC_KIND 
