wormhole/bridge_ui
Chase Moran b550a7c47b bridge_ui: added metadata hooks
Change-Id: Ia256ea5b84b6dc21238b4808d607c253b4e9dc87
2021-09-12 23:33:34 +00:00
..
public
src bridge_ui: added metadata hooks 2021-09-12 23:33:34 +00:00
.gitignore
README.md bridge_ui: typos, add NPM version info, nix: bump nodejs 2021-09-12 23:23:25 +00:00
craco.config.js
package-lock.json bridge_ui: initial NFT bridge support 2021-09-11 00:13:29 +00:00
package.json bridge_ui: initial NFT bridge support 2021-09-11 00:13:29 +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 npm run build

Test Server

npx serve -s build