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

Approvals of NFTs and tokens related to Bridgeworld

bridgeworld-corruption

Corruption balances and removals for Bridgeworld

bridgeworld-kote

Knights of the Ether metadata for Harvesters in Bridgeworld

bridgeworld-recruits

Bridgeworld Recruit ascension configuration and attempts

magicswap-exchange

Fork of Sushiswap subgraph 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 prepare:dev && npm run codegen

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

Releases

No releases published

Packages

No packages published