Skip to content

Replica snap sync on new L2 network #447

Discussion options

You must be logged in to vote

cofig:
op-node:

openssl rand -hex 32 > jwt.txt
cp jwt.txt ~/op-geth

op-geth:

mkdir datadir
build/bin/geth init --datadir=datadir genesis.json
export DATADIR_PATH=/root/op-geth/datadir

./build/bin/geth
--http
--http.port=8545
--http.addr=localhost
--authrpc.addr=localhost
--authrpc.jwtsecret=./jwt.txt
--verbosity=3
--rollup.sequencerhttp=http://164.92.86.206:8545
--datadir=$DATADIR_PATH

op-node:

export L1_RPC_URL=https://eth-sepolia.g.alchemy.com/v2/rW6XDhoEJ8wXZAeJROy6Vd*****
export L1_RPC_KIND=alchemy

./bin/op-node \
  --l1=$L1_RPC_URL \
  --l1.rpckind=$L1_RPC_KIND \
  --l2=ws://localhost:8551 \
  --l2.jwt-secret=./jwt.txt \
  --rollup.config=./rollup.json \
  --p2p.static=/i…

Replies: 7 comments 24 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
3 replies
@opfocus
Comment options

@Wazabie
Comment options

@opfocus
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
17 replies
@Wazabie
Comment options

@InoMurko
Comment options

@opfocus
Comment options

@opfocus
Comment options

Answer selected by sbvegan
@sbvegan
Comment options

@InoMurko
Comment options

@opfocus
Comment options

@Padraic-O-Mhuiris
Comment options

Comment options

You must be logged in to vote
2 replies
@sbvegan
Comment options

@InoMurko
Comment options

Comment options

You must be logged in to vote
2 replies
@opfocus
Comment options

@opfocus
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
5 participants
Converted from issue

This discussion was converted from issue #444 on June 04, 2024 16:01.