Learn how to build and run an op-node from source
rollup.json
(rollup config) and genesis.json
(genesis config) from the details sectionconfig/testnet
in the op-rollup-node directory.env
file in the op-geth directory with the following content:
init-geth.sh
:
.env
file in the optimism directory with the following content:
<EXTERNAL_P2P_TCP_PORT>
and <EXTERNAL_P2P_UDP_PORT>
) are accessible externally via <EXTERNAL_P2P_IP>
. This allows the node to communicate with other peers on the network.Add the sequencer node’s multiaddr to <STATIC_PEERS>
in your configuration. This helps establish a direct connection with the sequencer, ensuring smooth operation and synchronization.