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.
If you haven't already, run in the root of this monorepo
npm ci
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