diff --git a/.env.bridge.example b/.env.bridge.example index c0c97a7..e364036 100644 --- a/.env.bridge.example +++ b/.env.bridge.example @@ -1,6 +1,7 @@ NEXT_PUBLIC_L1_CHAIN_ID=11155111 NEXT_PUBLIC_L1_CHAIN_NAME="Sepolia" -NEXT_PUBLIC_L1_RPC_URL=https://sepolia.infura.io/v3/ +# WARNING: The RPC URL is exposed to the browser client. We recommend using a public RPC URL. +NEXT_PUBLIC_L1_RPC_URL=https://rpc.ankr.com/eth_sepolia NEXT_PUBLIC_L1_EXPLORER_URL=https://sepolia.etherscan.io/ NEXT_PUBLIC_L2_CHAIN_ID=11155420 NEXT_PUBLIC_L2_CHAIN_NAME="Optimism Sepolia" diff --git a/Makefile b/Makefile index 91c8f37..a7a8636 100644 --- a/Makefile +++ b/Makefile @@ -96,9 +96,13 @@ l2-bridge-deploy-l1-multicall: @$(CURDIR)/scripts/l2-bridge/l2-bridge-deploy-l1-multicall.sh .PHONY: l2-bridge-deploy-l1-multicall +## Set the environment variables for the OP Bridge UI +l2-bridge-set-env: + @$(CURDIR)/scripts/l2-bridge/l2-bridge-set-env.sh +.PHONY: l2-bridge-set-env + ## Launch the OP Bridge UI l2-bridge-start: - @$(CURDIR)/scripts/l2-bridge/l2-bridge-set-env.sh @docker compose -f docker/docker-compose-l2.yml up -d op-bridge-ui .PHONY: l2-bridge-start diff --git a/scripts/l2/l2-stop.sh b/scripts/l2/l2-stop.sh index 766916a..3ef55e9 100755 --- a/scripts/l2/l2-stop.sh +++ b/scripts/l2/l2-stop.sh @@ -5,8 +5,8 @@ set -euo pipefail echo "Stopping and removing OP chain containers..." docker compose -f docker/docker-compose-l2.yml down -# Remove the .deploy directory -rm -rf "$(pwd)/.deploy" +# Remove(Move) the .deploy directory +sudo mv "$(pwd)/.deploy" "$(pwd)/.deploy-deprecated-$(date +%Y%m%d%H%M%S)" # Remove the op-chain-deployment volume echo "Removing the op-chain-deployment volume..."