wormhole/bridge_ui
kev1n-peters 4f08f315f1
bridge_ui: Chain Governor support (#1421)
2022-08-15 09:18:01 -05:00
..
public bridge_ui - update Portal twitter (#1123) 2022-04-29 07:27:52 -04:00
src bridge_ui: Chain Governor support (#1421) 2022-08-15 09:18:01 -05:00
.env.sample
.gitignore
Dockerfile
README.md bridge_ui: update readme 2022-07-13 10:04:23 -04:00
config-overrides.js
package-lock.json bridge_ui: Chain Governor support (#1421) 2022-08-15 09:18:01 -05:00
package.json bridge_ui: Chain Governor support (#1421) 2022-08-15 09:18:01 -05:00
tsconfig.json

README.md

Example Token Bridge UI

Prerequisites

  • NodeJS v14+
  • NPM v7.18+

Install

npm ci

Develop

npm start

Build for local tilt network

npm run build

Build for testnet

REACT_APP_CLUSTER=testnet npm run build

Build for mainnet

REACT_APP_CLUSTER=mainnet REACT_APP_COVALENT_API_KEY=YOUR_API_KEY REACT_APP_SOLANA_API_URL=YOUR_CUSTOM_RPC npm run build

Test Server

npx serve -s build

Environment Variables (optional)

Create .env from the sample file, then add your Covalent API key:

cp .env.sample .env