Collection of subgraphs used by Treasure to power its various projects' data needs.
General inventory, metadata, and feature support for Bridgeworld
Approvals of NFTs and tokens related to Bridgeworld
Corruption balances and removals for Bridgeworld
Knights of the Ether metadata for Harvesters in Bridgeworld
Bridgeworld Recruit ascension configuration and attempts
Tracking MAGIC deposited for TreasureDAO Governance Staking (gMAGIC)
Exchange data for Magicswap
Data for SMOL Admin and Transmolgrifier
Check out the repo and install dependencies in the root folder:
npm install
Navigate to a specific subgraph and run code generation:
cd subgraphs/bridgeworld
npm run generate:dev
Run unit tests:
npm test
Create a PR pointing to the master
branch and run the Deploy workflow against the Development environment with the subgraph and branch on which you made your changes.
Merge your PR to the master
branch and run the Deploy workflow with the Production environment and the subgraph to build selected.