stack-orchestrator/app/data/config/fixturenet-optimism/generate-l2-config.sh

15 lines
359 B
Bash
Raw Normal View History

#!/bin/sh
set -e
go run cmd/main.go genesis l2 \
--deploy-config ../packages/contracts-bedrock/deploy-config/getting-started.json \
--deployment-dir ../packages/contracts-bedrock/deployments/getting-started/ \
--outfile.l2 genesis.json \
--outfile.rollup rollup.json \
--l1-rpc $L1_RPC
openssl rand -hex 32 > jwt.txt
cat genesis.json
cat jwt.txt