Skip to content

Subgraphs that power the TreasureDAO ecosystem.

Notifications You must be signed in to change notification settings

TreasureProject/treasure-subgraphs

Repository files navigation

treasure-subgraphs

Collection of subgraphs used by Treasure to power its various projects' data needs.

Subgraphs

bridgeworld

General inventory, metadata, and feature support for Bridgeworld

bridgeworld-approvals (deprecated)

Approvals of NFTs and tokens related to Bridgeworld

bridgeworld-corruption

Corruption balances and removals for Bridgeworld

bridgeworld-kote (deprecated)

Knights of the Ether metadata for Harvesters in Bridgeworld

bridgeworld-recruits

Bridgeworld Recruit ascension configuration and attempts

governance-staking

Tracking MAGIC deposited for TreasureDAO Governance Staking (gMAGIC)

magicswap

Exchange data for Magicswap

smol

Data for SMOL Admin and Transmolgrifier

Local Development

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

Deployment

Development

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.

Production

Merge your PR to the master branch and run the Deploy workflow with the Production environment and the subgraph to build selected.

About

Subgraphs that power the TreasureDAO ecosystem.

Resources

Stars

Watchers

Forks