wormhole/bridge_ui
Evan Gray eb0cab8cd4 bridge_ui: remove terra tax calculations
Change-Id: Iab04fe996abe06c3490a808985727c94dd922797
2021-10-05 09:27:27 -04:00
..
public bridge_ui: landing page 2021-09-07 15:03:00 +00:00
src bridge_ui: remove terra tax calculations 2021-10-05 09:27:27 -04:00
.gitignore
README.md bridge_ui: support custom Solana RPC 2021-09-30 15:42:23 +00:00
craco.config.js
package-lock.json sdk/js, bridge_ui: terra npm pkg update 2021-10-04 17:01:28 +00:00
package.json sdk/js, bridge_ui: terra npm pkg update 2021-10-04 17:01:28 +00:00
tsconfig.json

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