Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs(bridge-ui): add env values in the readme #11403

Merged
merged 2 commits into from
Jan 9, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 22 additions & 0 deletions packages/bridge-ui/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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"
```