Skip to content

Latest commit

 

History

History
34 lines (23 loc) · 1.43 KB

README.md

File metadata and controls

34 lines (23 loc) · 1.43 KB

@bosonprotocol/subgraph

Official subgraph of the Boson Protocol.

Env Network Endpoint
production polygon https://api.thegraph.com/subgraphs/name/bosonprotocol/polygon
testing* amoy https://api.thegraph.com/subgraphs/name/bosonprotocol/amoy-testing
staging* amoy https://api.thegraph.com/subgraphs/name/bosonprotocol/amoy-staging

* The testing and staging subgraphs are used for development purposes.

Local development

If you haven't already, run in the root of this monorepo

npm ci

Unit tests

We use Matchstick for unit testing the subgraph.

Either run in the root of this monorepo

npm run test -w @bosonprotocol/subgraph

or in the /packages/subgraph folder

npm run test