From b54a37e75ae52c32681fcef3d8de685b30ffb95d Mon Sep 17 00:00:00 2001 From: wolfderechter <60930264+wolfderechter@users.noreply.github.com> Date: Mon, 9 Jan 2023 15:49:40 +0100 Subject: [PATCH] docs(bridge-ui): add env values (#11403) --- packages/bridge-ui/README.md | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/packages/bridge-ui/README.md b/packages/bridge-ui/README.md index a71646f3aee..59cd6eb5f52 100644 --- a/packages/bridge-ui/README.md +++ b/packages/bridge-ui/README.md @@ -7,3 +7,25 @@ ## Usage `pnpm start` + +## Environment Variables + +You can use the following values in the `.env` file to spin up the Bridge UI locally. + +``` +VITE_NODE_ENV=dev +VITE_L1_RPC_URL="https://l1rpc.a1.taiko.xyz/" +VITE_L2_RPC_URL="https://l2rpc.a1.taiko.xyz/" +VITE_RELAYER_URL="http://localhost:4102/" +VITE_TEST_ERC20_ADDRESS_MAINNET="0x3E3a3416DbCc5cb4448B6b171fF15f9Da35Ab72d" +VITE_MAINNET_CHAIN_ID=31338 +VITE_TAIKO_CHAIN_ID=167003 +VITE_MAINNET_CHAIN_NAME="Ethereum A1" +VITE_TAIKO_CHAIN_NAME="Taiko A1" +VITE_TAIKO_TOKEN_VAULT_ADDRESS="0x0000777700000000000000000000000000000002" +VITE_MAINNET_TOKEN_VAULT_ADDRESS="0xD0dfd5baCf160B97C8eE3ecb463F18c08673160c" +VITE_TAIKO_HEADER_SYNC_ADDRESS="0x0000777700000000000000000000000000000001" +VITE_MAINNET_HEADER_SYNC_ADDRESS="0x7B3AF414448ba906f02a1CA307C56c4ADFF27ce7" +VITE_MAINNET_BRIDGE_ADDRESS="0x3612E284D763f42f5E4CB72B1602b23DAEC3cA60" +VITE_TAIKO_BRIDGE_ADDRESS="0x0000777700000000000000000000000000000004" +``` \ No newline at end of file