Trader position events and statistics for Perpetual Protocol
- environment variable prerequisites
THE_GRAPH_ACCESS_TOKEN
(follow Graph Protocol instructions for setting up access token for hosted service)
- make sure contract addresses in subgraph.yaml are pointed to the correct ones
- make sure ABIs are up-to-date
npm install
npm run build
npm run auth
npm run deploy