pyth-crosschain/lp_ui
Chase Moran df3418bafb lp_ui: token account refreshes, snackbars, and button disables
Change-Id: I08c67f684ff7b3bcb9abd1453911c978ac0622a3
2021-09-17 16:44:57 +00:00
..
public lp_ui: hello world stack 2021-09-13 15:17:52 +00:00
src lp_ui: token account refreshes, snackbars, and button disables 2021-09-17 16:44:57 +00:00
.gitignore lp_ui: hello world stack 2021-09-13 15:17:52 +00:00
README.md bridge_ui: update packages 2021-09-15 09:07:57 -04:00
craco.config.js sdk for migration & progress on lp_ui 2021-09-13 15:17:56 +00:00
package-lock.json lp_ui: token account refreshes, snackbars, and button disables 2021-09-17 16:44:57 +00:00
package.json lp_ui: token account refreshes, snackbars, and button disables 2021-09-17 16:44:57 +00:00
tsconfig.json lp_ui: hello world stack 2021-09-13 15:17:52 +00:00

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