Update instructions

This commit is contained in:
Prathamesh Musale 2024-09-03 09:38:35 +05:30
parent ce26a6a9d8
commit d15d14c539
2 changed files with 18 additions and 0 deletions

View File

@ -112,6 +112,15 @@ Inside the `fixturenet-eth-deployment` deployment directory, open `config.env` f
CERC_ALLOW_UNPROTECTED_TXS=true
```
Inside the `fixturenet-optimism-deployment` deployment directory, open `config.env` file and set following env variables:
```bash
# Optional
# Funding amounts for proposer and batcher accounts
CERC_L2_PROPOSER_AMOUNT= # Default 0.2ether
CERC_L2_BATCHER_AMOUNT= # Default 0.1ether
```
## Start the stack
Start the deployment:

View File

@ -64,6 +64,9 @@ Inside the deployment directory, open the file `config.env` and add the followin
CERC_L1_HOST=
CERC_L1_PORT=
# External L1 Beacon node endpoint
CERC_L1_BEACON=
# URL to get CSV with credentials for accounts on L1
# that are used to send balance to Optimism Proxy contract
# (enables them to do transactions on L2)
@ -74,6 +77,12 @@ Inside the deployment directory, open the file `config.env` and add the followin
# Other generated accounts will be funded from this account, so it should contain ~20 Eth
CERC_L1_ADDRESS=
CERC_L1_PRIV_KEY=
# Optional
# Funding amounts for proposer and batcher accounts
CERC_L2_PROPOSER_AMOUNT=
CERC_L2_BATCHER_AMOUNT=
```
* NOTE: If L1 is running on the host machine, use `host.docker.internal` as the hostname to access the host port, or use the `ip a` command to find the IP address of the `docker0` interface (this will usually be something like `172.17.0.1` or `172.18.0.1`)