Skip to content

CrocSwap/perps-app

Repository files navigation

Perps App Monorepo

Getting Started on Local Instance

  1. Make sure you have pnpm package manager installed
  2. Run git submodule update --init --recursive to update
  3. NOTE: You'll need to request access to TradingView advanced charting library
  4. Run pnpm dev to launch a local host

Setup

pnpm install
pnpm prepare
pnpm update-submodules

Develop Frontend

cd packages/frontend
pnpm dev

Develop Frontend Shortcut (setup and run from root directory)

pnpm dev

Troubleshooting (if app/tv submodule directory not getting populated)

git submodule update --init --recursive

Start Frontend in Production Mode

cd packages/frontend
pnpm build
pnpm start

Using the SDK in the Frontend

import { Info } from '@perps-app/sdk';

const info = new Info();

Please refer to the examples in the sdk package for more usage examples.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 12