cp .env.example .env
cp .env.explorer.example .env.explorer
cp .env.bridge.example .env.bridge
git submodule update --init --recursive
Update environment variables in the .env
files.
make l1-configure
Note: It will generate a new wallet configs/l1/l1-prefund-wallet.json
and update the configs/l1/network_params.yaml
file with the address to use for the prefunded account. You can update the configs/l1/network_params.yaml
file manually to use an existing wallet.
make l1-launch
make l1-remove
Note: If you launch the local L1 chain with kurtosis, you must set the following environment variables with the values from the configs/network_params_geth_lighthouse.yaml
file:
L1_CHAIN_ID
with the value of the network_id
in the network_params
sectionL1_RPC_URL
to http://localhost:<EL_PORT_START + 2>
, where EL_PORT_START
is the value of public_port_start
in the el
sectionL1_BEACON_URL
to http://localhost:<CL_PORT_START + 1>
, where CL_PORT_START
is the value of public_port_start
in the cl
section