wormhole/bridge_ui
Kevin Peters 2e0fc37ba0 bridge_ui: Show terra est. fees in UST, reassessed range (0.05 - 0.15 UST) 2022-03-09 18:44:08 -06:00
..
public bridge_ui: Added tags for SEO (#979) 2022-03-09 10:29:52 -06:00
src bridge_ui: Show terra est. fees in UST, reassessed range (0.05 - 0.15 UST) 2022-03-09 18:44:08 -06:00
.env.sample Tilt tests (#688) 2022-02-08 03:55:10 -05:00
.gitignore bridge_ui: initial commit 2021-07-26 15:34:58 +00:00
Dockerfile feat: improve bridge_ui tilt 2022-02-14 07:56:38 -05:00
README.md run bridge_ui in devnet 2021-10-27 21:16:07 +00:00
craco.config.js bridge_ui: solana balances, begin wasm integration 2021-08-11 12:49:30 +02:00
package-lock.json karura and acala testnet support 2022-03-09 17:22:24 -05:00
package.json karura and acala testnet support 2022-03-09 17:22:24 -05:00
tsconfig.json bridge_ui: eth wrapped assets and getSignedVAA 2021-08-11 12:49:30 +02:00

README.md

Example Token Bridge UI

Prerequisites

  • Docker
  • NodeJS v14+
  • NPM v7.18+

Run the following from the root of this repo

DOCKER_BUILDKIT=1 docker build --target node-export -f Dockerfile.proto -o type=local,dest=. .
DOCKER_BUILDKIT=1 docker build -f solana/Dockerfile.wasm -o type=local,dest=. solana
npm ci --prefix ethereum
npm ci --prefix sdk/js
npm run build --prefix sdk/js

The remaining steps can be run from this folder

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