@bitriel/bitrielswap-subgraph
v1.0.0
Published
## To setup and deploy
Readme
BitrielSwap Subgraph
To setup and deploy
For any of the subgraph: exchange as [subgraph]
Run the
yarn run codegen:[subgraph]command to prepare the TypeScript sources for the GraphQL (src/types/*).Run the
yarn run build:[subgraph]command to build the subgraph, and check compilation errors before deploying.Run
graph auth https://api.thegraph.com/deploy/ '<ACCESS_TOKEN>'Deploy via
yarn run deploy:[subgraph].
