Skip to content

kelcheone/perp-lite

 
 

Repository files navigation

Perp Lite

This is a lite version of Perpetual Protocol UI with essential features. Note that you need to manually switch to xDai network to trade.

How to start?

Environment Variables

check .env.local.example.

Required

REACT_APP_STAGE= /* "production" or "staging" */
REACT_APP_MAINNET_RPC_URL= /* mainnet rpc url */
REACT_APP_RINKEBY_RPC_URL= /* rinkeby rpc url */
REACT_APP_XDAI_RPC_URL= /* xDai rpc url */

Optional

REACT_APP_BUGSNAG_API_KEY= /* bugsnag api key */
REACT_APP_SEGMENT_API_KEY= /* segment api key */

Deploy to IPFS

  • run yarn
  • run yarn generate-type
  • run yarn build
  • run yarn deploy-ipfs
    • Note: Using ipfs-deploy@v8.0.1 because newer version needs node v14

Packages

 
 
 

Languages

  • TypeScript 98.4%
  • HTML 1.6%