From dae1a0fb646d7968d59bccc1f6739b02889f82e5 Mon Sep 17 00:00:00 2001 From: Matjaz Verbole Date: Thu, 9 Nov 2023 11:46:23 +0100 Subject: [PATCH] Readme updated --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index feb0e85a..402501fe 100644 --- a/README.md +++ b/README.md @@ -42,7 +42,7 @@ git submodule update --init --recursive **NOTE**: On a private test network, the deployment of smart contracts is feasible on both L1 and L2 networks. However, the transfer of tokens between these networks is not possible as it requires the operation of the Sequencer. A private test L1 and L2 networks are established using the `anvil` tool, and the smart contracts are deployed using the `forge script` tool. To run a private networks and deploy the smart contracts, follow these steps: -1. Create `.env` file and set the vars `PRIVATE_KEY`, `L1_RPC_URL`, `L1_FORK_RPC_URL`, `L2_RPC_URL`, `L2_FORK_RPC_URL`, `L1_STANDARD_BRIDGE_ADDR` and `TEST_NETWORK_MNEMONIC`. You can copy and rename the `.env.example` file if the default values provided in `.env.example` are satisfactory. +1. Create `.env` file and set the vars `PRIVATE_KEY`, `L1_RPC_URL`, `L1_FORK_RPC_URL`, `L2_RPC_URL`, `L2_FORK_RPC_URL`, `L1_STANDARD_BRIDGE_ADDR` and `TEST_NETWORK_MNEMONIC`. You can copy and rename the `.env.example` file if the default values provided in `.env.example` are satisfactory. `L1_RPC_URL` should be set to `http://127.0.0.1:8545` and `L2_RPC_URL` should be set to `http://127.0.0.1:8546` if no changes are made in the `./runL1TestNetwork.sh` or `./runL2TestNetwork.sh` script files. 2. Navigate to the `script` directory. 3. To create and launch a private test L1 network, execute the script: `./runL1TestNetwork.sh` 4. To create and launch a private test L2 network, execute the script: `./runL2TestNetwork.sh`