wormhole/lp_ui
Evan Gray b08565da67 lp_ui: update examples and lp_ui for latest sdk
Change-Id: I1cfe7678713667d70e86be30d54e4bd45633f454
2021-11-22 22:13:06 -05:00
..
public
src lp_ui: update examples and lp_ui for latest sdk 2021-11-22 22:13:06 -05:00
.gitignore
README.md
craco.config.js
package-lock.json
package.json
tsconfig.json

README.md

Prerequisites

  • Docker
  • NodeJS v14+

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 npm run build

Test Server

npx serve -s build