- Install Docker Desktop (https://www.docker.com/get-started/)
- Open the Terminal within Docker Desktop (in the bottom right corner)
- Run
docker run -p 4003:3002 -e HOST_PORT=4003 crocswap/ambient-perps-frontend - Wait until terminal displays
Production server running at http://localhost:4003(this could take a few minutes) - Open http://localhost:4003 in your browser
- Make sure you have pnpm package manager installed
- Run
git submodule update --init --recursiveto update - NOTE: You'll need to request access from the team if you need access to the TradingView advanced charting library
- Run
pnpm devto launch a local host
pnpm install
pnpm prepare
pnpm update-submodulescd packages/frontend
pnpm devpnpm devgit submodule update --init --recursivecd packages/frontend
pnpm build
pnpm startimport { Info } from '@perps-app/sdk';
const info = new Info();Please refer to the examples in the sdk package for more usage examples.