Skip to content

Latest commit

 

History

History
13 lines (7 loc) · 449 Bytes

README.md

File metadata and controls

13 lines (7 loc) · 449 Bytes

BitrielSwap Subgraph

To setup and deploy

For any of the subgraph: exchange as [subgraph]

  1. Run the yarn run codegen:[subgraph] command to prepare the TypeScript sources for the GraphQL (src/types/*).

  2. Run the yarn run build:[subgraph] command to build the subgraph, and check compilation errors before deploying.

  3. Run graph auth https://api.thegraph.com/deploy/ '<ACCESS_TOKEN>'

  4. Deploy via yarn run deploy:[subgraph].