Evan Gray b08565da67 lp_ui: update examples and lp_ui for latest sdk 4 tahun lalu
..
public 5b51dffe6d lp_ui: hello world stack 4 tahun lalu
src b08565da67 lp_ui: update examples and lp_ui for latest sdk 4 tahun lalu
.gitignore 5b51dffe6d lp_ui: hello world stack 4 tahun lalu
README.md 2645b547da bridge_ui: update packages 4 tahun lalu
craco.config.js 8a90b50aeb sdk for migration & progress on lp_ui 4 tahun lalu
package-lock.json d8a8d5722a lp_ui: ethereum migration pool functionality 4 tahun lalu
package.json d8a8d5722a lp_ui: ethereum migration pool functionality 4 tahun lalu
tsconfig.json 5b51dffe6d lp_ui: hello world stack 4 tahun lalu

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